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