diff options
Diffstat (limited to 'etc/nix')
-rw-r--r-- | etc/nix/configuration.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/etc/nix/configuration.nix b/etc/nix/configuration.nix index 05970ad..a2ad09b 100644 --- a/etc/nix/configuration.nix +++ b/etc/nix/configuration.nix @@ -79,6 +79,25 @@ postfix = { enable = true; + extraConfig = '' + mynetworks = 127.0.0.0/8 + + header_checks = regexp:{ { /^Received:.*/ IGNORE }, { /^X-Originating-IP:.*/ IGNORE } } + + sender_dependent_relayhost_maps = hash:/var/lib/private/postfix/relayhosts-maps + smtp_sasl_password_maps = hash:/var/lib/private/postfix/sasl-password + smtp_sasl_auth_enable = yes + smtp_sasl_security_options = noanonymous + smtp_tls_security_level = encrypt + + smtp_tls_note_starttls_offer = yes + smtp_use_tls = yes + smtp_sender_dependent_authentication = yes + smtp_sasl_mechanism_filter = login, plain + ''; + config = { + smtp_tls_security_level = "encrypt"; + }; extraAliases = '' root: andreh andreh: eu@euandre.org |