On Internet are lot of explanation, but still problems
http://www.postfix.org/SMTPD_ACCESS_README.html
This option is making problems to me:
smtpd_client_restrictions = permit_mynetworks, reject
when I turn it on in main.cf, server responds:
mail from:<igor@virtual.test>
250 2.1.0 Ok
rcpt to:<igor@virtual.test>
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
?