小编Min*_*ker的帖子

拒绝反向主机名解析失败的电子邮件

我的 Postfix 服务器正在从一组不断变化的域名接收垃圾邮件,但日志文件中的模式一致,以 line 开头warning: hostname X does not resolve to address Y。没有合法的(火腿)电子邮件具有此模式,因此我想阻止与此消息相关的电子邮件。

有没有办法在 Postfix 配置中完全阻止这些电子邮件,例如在 main.cf 文件中?

以下是日志文件的一部分,显示垃圾邮件到达时出现的模式:

May 10 21:47:46 localhost postfix/smtpd[313324]: warning: hostname trojan.kringeas.co.uk does not resolve to address 104.129.30.93: Name or service not known
May 10 21:47:46 localhost postfix/smtpd[313324]: connect from unknown[104.129.30.93]
May 10 21:47:46 localhost postfix/smtpd[313324]: 2AF1D101825: client=unknown[104.129.30.93]
May 10 21:47:46 localhost postfix/cleanup[313331]: 2AF1D101825: message-id=<dO7GXAfoNocg1hEkeyqMfulg7RZ0aamifKqrB8JpUH8.ofI9TFu7lSCnlxwicxT5GA@meansfolk.sa.com>
May 10 21:47:46 localhost postfix/qmgr[294981]: 2AF1D101825: from=<info@meansfolk.sa.com>, size=4241, nrcpt=1 (queue active)
May 10 21:47:46 localhost postfix/pipe[313333]: 2AF1D101825: to=<xx@xxxx.net>, …
Run Code Online (Sandbox Code Playgroud)

postfix spam

4
推荐指数
1
解决办法
1463
查看次数

标签 统计

postfix ×1

spam ×1