加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

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

发布时间:2020-12-14 02:41:08 所属栏目:Linux 来源:网络整理
导读:我想知道可能使用postfix或任何其他MTA,我可以应用电子邮件发件人无法更改/欺骗其发件人电子邮件的限制,并且电子邮件仅通过电子邮件ID发送,通过该电子邮件ID进行身份验证. 谢谢 解决方法 I want to know that is it possible that using postfix or any othe
我想知道可能使用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_maps和reject_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

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读