diff --git a/rootfs/etc/confd/templates/main.cf.tmpl b/rootfs/etc/confd/templates/main.cf.tmpl index 6f54e6c..5c9c9df 100644 --- a/rootfs/etc/confd/templates/main.cf.tmpl +++ b/rootfs/etc/confd/templates/main.cf.tmpl @@ -7,7 +7,7 @@ myorigin = $mydomain mydestination = localhost unknown_local_recipient_reject_code = 550 -mynetworks_style = subnet +mynetworks_style = host relay_domains = $mydestination recipient_delimiter = + @@ -57,6 +57,7 @@ smtpd_tls_auth_only = yes smtpd_sasl_tls_security_options = noanonymous smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination +smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination, reject_unverified_recipient #smtpd_milters =