Originally Posted by sremac
On Internet are lot of explanation, but still problems
This option is making problems to me:
smtpd_client_restrictions = permit_mynetworks, reject
when I turn it on in main.cf, server responds:
250 2.1.0 Ok
451 4.3.5 Server configuration error
when trying to aproach from different network.
So, what options need to be turned in main.cf in order to:
1. check mynetworks and allow everything from that
2. if mynetworks don`t pass then to use smtp auth
It's all in the tutorial ( http://www.howtoforge.com/virtual_po...ota_courier_p2
). Please run
postconf -e 'smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination'