diff options
Diffstat (limited to 'ansible/roles/mail-server/templates/postfix.main.cf.j2')
-rw-r--r-- | ansible/roles/mail-server/templates/postfix.main.cf.j2 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ansible/roles/mail-server/templates/postfix.main.cf.j2 b/ansible/roles/mail-server/templates/postfix.main.cf.j2 index 67cefe0..6fcb852 100644 --- a/ansible/roles/mail-server/templates/postfix.main.cf.j2 +++ b/ansible/roles/mail-server/templates/postfix.main.cf.j2 @@ -37,3 +37,9 @@ smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination + +# Enable postgrey. +smtpd_recipient_restrictions = permit_sasl_authenticated, + permit_mynetworks, + reject_unauth_destination, + check_policy_service inet:127.0.0.1:10023
\ No newline at end of file |