防止 Postfix 中出现未知发件人

防止 Postfix 中出现未知发件人

我正在努力阻止我的服务器产生垃圾邮件。

我的 mail.log 内容如下:

<[email protected]> from p57bfa587.dip0.t-
ipconnect.de[87.191.165.135]; from=<[email protected]
o.in> to=<[email protected]> proto=ESMTP helo=<p57bfa587.dip0.t-
ipconnect.de>

mywebsolutions.co.in 是我的域名。但p57bfa587.dip0.t- ipconnect.de也不是[email protected]

现在我想阻止任何未知发件人,但找不到任何方法来阻止这种情况。

我还在我的 postfix main.cf 中添加了

smtpd_reject_unlisted_sender = Yes

smtpd_sender_restrictions = reject_unlisted_sender

完整阻止内容如下: smtpd_sender_restrictions = rejection_unlisted_sender,check_sender_access regexp:/etc/postfix/tag_as_originating.re ,permit_mynetworks,permit_sasl_authenticated,check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf,check_sender_access regexp:/etc/postfix/tag_as_foreign.re smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf

我应该更改或更新哪些规则来防止垃圾邮件源自我的服务器。

相关内容