I want to know that is it possible that using postfix or any other MTA, i can apply a restriction that email sender cannot change/spoof his sender email, and email is only sent from the email ID, through which it was authenticated.
thanks
I want to know that is it possible that using postfix or any other MTA, i can apply a restriction that email sender cannot change/spoof his sender email, and email is only sent from the email ID, through which it was authenticated.
thanks
yes, it possible. You can use smtpd_sender_login_maps with reject_authenticated_sender_login_mismatch
In
main.cf
you'll wantreject_authenticated_sender_login_mismatch
as part of yoursmtpd_sender_restrictions
. You'll then need to definesmtpd_sender_login_maps
. The use case you're describing can be done easily with with either aregex table
orprce table
.