Am 15.06.2014 22:01, schrieb Eliezer Croitoru: > I Have been reading: > http://www.postfix.org/ADDRESS_VERIFICATION_README.html > http://www.postfix.org/SMTPD_ACCESS_README.html > http://www.postfix.org/RESTRICTION_CLASS_README.html > > And I am still unsure on how to go one step forward.. > I want to allow my local SMTP authenticated users to be able to send only > with a From of the local domains of the > local service. > For example I have about 10-20 domains that the server is serving and I want > to allow to send from domains: > example.com OK > hotmail.com REJECT > example2.com OK > etc...
what you describe is *the minimum* requirement of a sane MTA you must not allow senders you would not accept incoming messages and no - there are no exceptions for whatever user http://www.postfix.org/postconf.5.html#smtpd_reject_unlisted_sender http://www.postfix.org/postconf.5.html#reject_sender_login_mismatch reject_unauthenticated_sender_login_mismatch Enforces the reject_sender_login_mismatch restriction for unauthenticated clients only. This feature is available in Postfix version 2.1 and later. smtpd_recipient_restrictions = permit_mynetworks reject_non_fqdn_recipient reject_non_fqdn_sender reject_unlisted_sender reject_authenticated_sender_login_mismatch