Linux
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
關於可能導致這種情況的任何線索?這不是一個大問題,但我寧願每次發送一封電子郵件時不要有那麼多行。
dkim-filter
有一個 -l 選項。如果您忽略該參數,這些日誌行可能會消失。另一種可能的方法是安裝
syslog-ng
和使用過濾指令,您可以在記錄之前刪除行。(我喜歡後者,因為您也可以刪除其他程序無意義的輸出。)