iT邦幫忙

0

Centos Postfix maillog 問題

匿名 2014-03-04 12:54:365395 瀏覽

公司使用postfix 當作郵件主機,目前想詢問一個問題為:同封信件在postfix maillog上有兩組Message ID,記憶中應該是一封信件只會有一組Message ID才對;以下提供log供各位查看。

[root@mail ~]# grep AC03F46003F /var/log/maillog
Mar 3 15:39:40 mail postfix/smtpd[6952]: AC03F46003F: client=ms.colatour.com.tw[219.87.13.253]
Mar 3 15:39:40 mail postfix/cleanup[6955]: AC03F46003F: message-id=<1393830305.32247.example@colatour.com.tw>
Mar 3 15:39:42 mail postfix/qmgr[4105]: AC03F46003F: from=<example@colatour.com.tw>, size=2863431, nrcpt=1 (queue active)
Mar 3 15:39:42 mail postfix/pipe[6956]: AC03F46003F: to=<example@abc.com>, relay=dfilt, delay=2.3, delays=2.1/0/0/0.14, dsn=2.0.0, status=sent (delivered via dfilt service)
Mar 3 15:39:42 mail postfix/qmgr[4105]: AC03F46003F: removed

[root@mail ~]# grep 6E719460055 /var/log/maillog
Mar 3 15:39:42 mail postfix/pickup[6778]: 6E719460055: uid=102 from=<example@colatour.com.tw>
Mar 3 15:39:42 mail postfix/cleanup[6955]: 6E719460055: message-id=<1393830305.32247.example@colatour.com.tw>
Mar 3 15:39:42 mail postfix/qmgr[4105]: 6E719460055: from=<example@colatour.com.tw>, size=1573, nrcpt=1 (queue active)
Mar 3 15:39:51 mail postfix/local[7031]: 6E719460055: to=<example@abc.com>, relay=local, delay=8.7, delays=0.11/0/0/8.6, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail)
Mar 3 15:39:51 mail postfix/qmgr[4105]: 6E719460055: removed

圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

1 個回答

6
slime
iT邦大師 1 級 ‧ 2014-03-04 14:08:45
最佳解答

因為這台主機有裝一個 dfilt , 所以第一次是把信轉送給 dfilt 處理, 第二次 relay=local 才是本機處理(存檔?)

性格妞 iT邦新手 2 級 ‧ 2014-03-04 19:27:01 檢舉

請教dfilt是什麼?及其功能?
若取消此功能會連帶影響什麼服務

參考這篇 How to add a Disclaimer To Outgoing Emails in Postfix
dfilt 所看到的運用大概是把所有信件下方加上宣告聲明文字的功能。
基本上取消應沒有關係,只是原來信件下方有的文字就不會出現了。
因自己的postfix並沒有設此功能。

我要發表回答

立即登入回答