Todd A. Jacobs a écrit : > On Wed, Jan 21, 2009 at 11:07:53PM +0100, mouss wrote: > >> put permit_mynetworks reject_unauth_destination here please. > > Why would I put them at the top, when I specifically want > /etc/postfix/mx_access to take precedence? I thought ordering was > important. >
Then put this check under smtpd_sender_restrictions. the problem is that if you add say joe.Example OK to one of the maps used in a check_foo_bar before reject_unauth_destination, you may become an open relay. This is not an issue if you firewall your server and only outbound mail reaches postfix.