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 <firstname.lastname@example.org>: Sender address rejected: not owned by user email@example.com. Please check the message recipients and try again.