centos – 如何限制用户在postfix中使用不同的伪造发件人电子邮件?

我正在管理邮件服务器.邮件服务器正在运行,并配置了多个域.问题是经过身份验证的用户可以使用任何发件人电子邮件ID,我需要阻止它.我怎样才能做到这一点?

示例:发送电子邮件至anything@example.com的发件人正在发送邮件,发件人电子邮件地址为anything@yahoo.com

我需要防止这种情况.

这适用于Postfix 2.1如果没有,则拒绝_sender_login_mismatch
smtpd_sender_restrictions = reject_sender_login_mismatch

根据postfix documentation
reject_authenticated_sender_login_mismatch强制执行reject_sender_login_mismatch

reject_sender_login_mismatch: Reject the request when $smtpd_sender_login_maps specifies an owner for the MAIL FROM address,but the client is not (SASL) logged in as that MAIL FROM address owner; or when the client is (SASL) logged in,but the client login name doesn’t own the MAIL FROM address according to $smtpd_sender_login_maps.

相关文章

Centos下搭建性能监控Spotlight
CentOS 6.3下Strongswan搭建IPSec VPN
在CentOS6.5上安装Skype与QQ
阿里云基于centos6.5主机VPN配置
CentOS 6.3下配置multipah
CentOS安装、配置APR和tomcat-native