Skip to content

Postfix recipient restrictions (smtpd_recipient_restrictions)

André Peters edited this page Sep 28, 2015 · 1 revision

Please use the mailcow control center to control Postfix' recipient restrictions.

Custom restrictions can be added manually, but will be overwritten whenever you use the mailcow control center to toggle restrictions.

To make your changes permanent, open /usr/local/sbin/mc_pfset and add your restriction on line 13:

        SET_PFCONF=("permit_sasl_authenticated" "permit_mynetworks" "my_custom_restriction" $2 "reject_unauth_destination")

mailcow does reset your changes when applying an upgrade.