ClearOS Bug Tracker


View Revisions: Issue #22721 Back to Issue ]
Summary 0022721: Start using smtpd_relay_restrictions
Revision 2019-01-11 13:02 by NickH
Description Round about v2.10 of postfix, a new parameter smtpd_relay_restrictions was introduced. This allowed the separation of open relay control from the smtpd_recipient_restrictions, leaving the smtpd_recipient_restrictions for anti-spam measures only by removing reject_unauth_destination from one of its settings.

The line:
smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination

can take the place of the reject_unauth_destination in the smtpd_recipient_restrictions.
Revision 2019-01-11 13:04 by NickH
Description Round about v2.10 of postfix, a new parameter smtpd_relay_restrictions was introduced. This allowed the separation of open relay control from the smtpd_recipient_restrictions, leaving the smtpd_recipient_restrictions for anti-spam measures only by removing reject_unauth_destination from one of its settings.

The line:
smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination

can take the place of the reject_unauth_destination in the smtpd_recipient_restrictions.

This would reduce the chance of a user inadvertently creating an open relay by adding parameters to the smtpd_recipient_restrictions in the wrong order.

Note this may be an app-mail bug as I am not sure which does the initial settings.