diff --git a/roles/mail/tasks/main.yml b/roles/mail/tasks/main.yml index e54c659..02cac65 100644 --- a/roles/mail/tasks/main.yml +++ b/roles/mail/tasks/main.yml @@ -10,6 +10,7 @@ - dovecot-ldap - dovecot-managesieved - dovecot-sieve + - mailman - postfix - postfix-ldap - postfix-policyd-spf-python diff --git a/roles/mail/templates/postfix/main.cf.j2 b/roles/mail/templates/postfix/main.cf.j2 index faf74e8..ef969a1 100644 --- a/roles/mail/templates/postfix/main.cf.j2 +++ b/roles/mail/templates/postfix/main.cf.j2 @@ -48,7 +48,7 @@ smtpd_sasl_path = private/auth smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous -smtpd_helo_restrictions = permit_mynetwork +smtpd_helo_restrictions = permit_mynetworks warn_if_reject reject_non_fqdn_hostname check_helo_access hash:/etc/postfix/helo_access #check_client_access cidr:/etc/postfix/client_access