Hi All!!
Is there any way to disable the posibility to auth with a user and send with another in postfix?
I try it with adding this line un the main.cf:
smtpd_sender_restrictions = reject_sender_login_mismatch
But when i try to send i get:
An error ocuurred while sending mail. The mail server respond: 5.7.1 <juan.roig@globant.com>: Sender address rejected: not owned by user juan.roig@globant.com. Please check the message recipients and try again.

Thanks
Juan