On Wed, May 07, 2014 at 04:03:31PM +0200, [email protected] wrote:
> Hi all,
>
> with postfix + sasl scenario, it?s possible to permit a user who is
> authenticated with his credentials can send emails only if the mail from
> field is the same one used for authentication?
>
> Have you any idea?
http://www.postfix.org/postconf.5.html#reject_authenticated_sender_login_mismatch
For Postfix 2.11 and later, this can be done selectively for some
SASL logins and not others:
http://www.postfix.org/postconf.5.html#check_sasl_access
For earlier versions that would require a policy service to decide which
logins are in scope.
--
Viktor.