summaryrefslogtreecommitdiffstats
path: root/roles/out/templates/etc/postfix
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-05-14 23:25:21 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:53:32 +0200
commitb5894c224ea973e8d80f249b4f82e9c381fbac6b (patch)
tree892dad36eeb126a1e2c74af5fa06219c96818c0d /roles/out/templates/etc/postfix
parent9606090f1c334445151808cc12b2f4dbdcedb39b (diff)
Upgrade Postfix config to Jessie (MSA & outgoing proxy).
Diffstat (limited to 'roles/out/templates/etc/postfix')
-rw-r--r--roles/out/templates/etc/postfix/main.cf.j29
1 files changed, 5 insertions, 4 deletions
diff --git a/roles/out/templates/etc/postfix/main.cf.j2 b/roles/out/templates/etc/postfix/main.cf.j2
index 23a1de2..da8ed48 100644
--- a/roles/out/templates/etc/postfix/main.cf.j2
+++ b/roles/out/templates/etc/postfix/main.cf.j2
@@ -63,34 +63,35 @@ smtpd_tls_fingerprint_digest = sha256
strict_rfc821_envelopes = yes
smtpd_delay_reject = yes
disable_vrfy_command = yes
smtpd_client_restrictions =
permit_mynetworks
permit_tls_clientcerts
# We are the only ones using this proxy, but if things go wrong we
# want to know why
defer
smtpd_helo_required = yes
smtpd_helo_restrictions =
reject_invalid_helo_hostname
smtpd_sender_restrictions =
reject_non_fqdn_sender
-smtpd_recipient_restrictions =
- # RFC requirements
- reject_non_fqdn_recipient
- reject_unknown_recipient_domain
+smtpd_relay_restrictions =
permit_mynetworks
permit_tls_clientcerts
reject
+smtpd_recipient_restrictions =
+ reject_non_fqdn_recipient
+ reject_unknown_recipient_domain
+
smtpd_data_restrictions =
reject_unauth_pipelining
content_filter = amavisfeed:[127.0.0.1]:10040
# vim: set filetype=pfmain :