标签:not owned by user Sender address reje
smtpd_sender_restrictions = # reject_sender_login_mismatch, # reject_authenticated_sender_login_mismatch, # reject_unauthenticated_sender_login_mismatch
方法二(但是这种方法复杂,不建议):
smtpd_sender_restrictions = reject_sender_login_mismatch, reject_authenticated_sender_login_mismatch, reject_unauthenticated_sender_login_mismatch smtpd_sender_login_maps = hash:/etc/postfix/sender_login_maps, mysql:/etc/postfix/mysql_virtual_sender_maps.cf, mysql:/etc/postfix/mysql_virtual_alias_maps.cf 然后创建/etc/postfix/sender_login_maps文件,把mail from和from不一致的加进去即可。 格式为:A地址 A用户 [root@localhost ~]#postmap sender_login_maps [root@localhost ~]#postfix reload
方法三(建议方法):
把内网网段假如到信任IP地址。
mynetworks = 127.0.0.1, 10.10.8.0/24, 10.10.9.0/24 smtpd_sender_restrictions = permit_mynetworks, reject_sender_login_mismatch, reject_authenticated_sender_login_mismatch, reject_unauthenticated_sender_login_mismatch smtpd_sender_login_maps = # hash:/etc/postfix/sender_login_maps, mysql:/etc/postfix/mysql_virtual_sender_maps.cf, mysql:/etc/postfix/mysql_virtual_alias_maps.cf
发送邮件提示Sender address rejected: not owned by user错误
标签:not owned by user Sender address reje
原文地址:http://blog.51cto.com/net881004/2084072