Sendmail 的邮件日志受到 dkim-filter 污染

Sendmail 的邮件日志受到 dkim-filter 污染

我刚刚将域密钥添加到我的 sendmail 配置中,一切似乎都正常。但是,在查看邮件日志时,我在发送或接收电子邮件时收到大量此类信息:

Oct  4 09:42:44 servername sendmail[22036]: q94GgiGB022036: milter=dkim-filter, action=header, continue
Oct  4 09:42:44 servername sendmail[22036]: q94GgiGB022036: milter=dkim-filter, action=header, continue
Oct  4 09:42:44 servername sendmail[22036]: q94GgiGB022036: milter=dkim-filter, action=header, continue
Oct  4 09:42:44 servername sendmail[22036]: q94GgiGB022036: milter=dkim-filter, action=header, continue
Oct  4 09:42:44 servername sendmail[22036]: q94GgiGB022036: milter=dkim-filter, action=header, continue
Oct  4 09:42:44 servername sendmail[22036]: q94GgiGB022036: milter=dkim-filter, action=header, continue
Oct  4 09:42:44 servername sendmail[22036]: q94GgiGB022036: milter=dkim-filter, action=header, continue
Oct  4 09:42:44 servername sendmail[22036]: q94GgiGB022036: milter=dkim-filter, action=header, continue
Oct  4 09:42:44 servername sendmail[22036]: q94GgiGB022036: milter=dkim-filter, action=header, continue
Oct  4 09:42:44 servername sendmail[22036]: q94GgiGB022036: milter=dkim-filter, action=header, continue
Oct  4 09:42:44 servername sendmail[22036]: q94GgiGB022036: milter=dkim-filter, action=header, continue
Oct  4 09:42:44 servername sendmail[22036]: q94GgiGB022036: milter=dkim-filter, action=header, continue
Oct  4 09:42:44 servername sendmail[22036]: q94GgiGB022036: milter=dkim-filter, action=header, continue
Oct  4 09:42:44 servername sendmail[22036]: q94GgiGB022036: milter=dkim-filter, action=header, continue
Oct  4 09:42:44 servername sendmail[22036]: q94GgiGB022036: milter=dkim-filter, action=header, continue
Oct  4 09:42:44 servername sendmail[22036]: q94GgiGB022036: milter=dkim-filter, action=header, continue
Oct  4 09:42:44 servername sendmail[22036]: q94GgiGB022036: milter=dkim-filter, action=header, continue
Oct  4 09:42:44 servername sendmail[22036]: q94GgiGB022036: milter=dkim-filter, action=header, continue
Oct  4 09:42:44 servername sendmail[22036]: q94GgiGB022036: milter=dkim-filter, action=header, continue
Oct  4 09:42:44 servername sendmail[22036]: q94GgiGB022036: milter=dkim-filter, action=header, continue
Oct  4 09:42:44 servername sendmail[22036]: q94GgiGB022036: milter=dkim-filter, action=header, continue
Oct  4 09:42:44 servername sendmail[22036]: q94GgiGB022036: milter=dkim-filter, action=header, continue

有什么线索可以说明是什么原因造成的?这不是什么大问题,但我不希望每次发送一封电子邮件时都有那么多行。

答案1

dkim-filter有一个 -l 选项。如果省略该参数,这些日志行很可能会消失。

另一种可能的方法是安装syslog-ng并使用过滤指令,您可以在记录之前删除行。(我喜欢后者,因为您也可以删除其他程序无意义的输出。)

相关内容