Add Gerrit email account and send-email configuration
We'll have to store Gerrit's email credentials in plain text. Protecting
from outside connections using these in case they'd ever leak is tricky.
We match the account `gerrit@...` in `user.access` and then the local IP
address of the gerrit container in `gerrit-client.access`, only allowing
authenticated users (`permit_sasl_authenticated`) from this IP.
Alternatively, we could use `permit` which would allow the whole gerrit
container to send emails from `gerrit@...` without login. Then the setup
would also allow more efficient, plain-text communication between Gerrit
and Postfix. The password would still be needed to login to IMAP (assu-
ming no further, invasive changes).
diff --git a/.gitignore b/.gitignore
index f2d0bc9..0b36d07 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,5 +16,6 @@
/logs/simpleid/
/mail/config/
/mail/data/
+/mail/passwd/
/mail/rspamd-override.d/
/mail/state/