linux – 可以确保来自地址的邮件服务器没有欺骗吗?

前端之家收集整理的这篇文章主要介绍了linux – 可以确保来自地址的邮件服务器没有欺骗吗?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我想知道可能使用postfix或任何其他MTA,我可以应用电子邮件发件人无法更改/欺骗其发件人电子邮件的限制,并且电子邮件仅通过电子邮件ID发送,通过该电子邮件ID进行身份验证.

谢谢

解决方法

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.

是的,有可能.您可以使用smtpd_sender_login_mapsreject_authenticated_sender_login_mismatch

smtpd_sender_restrictions =
 permit_mynetworks,reject_authenticated_sender_login_mismatch,reject_unknown_sender_domain,reject_unlisted_sender,reject_unverified_sender

smtpd_sender_login_maps = hash:/etc/postfix/sender_logins_maps

/etc/postfix/sender_logins_maps
user@example.net sasl_login_name1

猜你在找的Linux相关文章