哪位能幫我解釋一下sendmail maillog各段的含義
Jul 8 10:00:24 mail sendmail: m6820FWN016245: to=<123@xxx.com>, ctladdr=<456@xxx.com> (574/574), delay=00:00:09, xdelay=00:00:01, mailer=local, pri=2156943, dsn=2.0.0, stat=Sent
ctladdr, xdelay, pri, dsn 這幾個欄位是什麼意思呢??
《解決方案》
class The class (i.e., numeric precedence) of the message.
pri Theinitial message priority (used for queue sorting).
nrcpts The number of envelope recipients for this message (after aliasing and forwarding).
msgid The message id of the message (from the header).
proto The protocol used to receive this message (e.g., ESMTP or UUCP)
daemon The daemon name from the DaemonPortOptions setting.
relay The machine from which it was received.
ctladdr The 『『controlling user』』, that is, the name of the user whose credentials we use for delivery.
delay The total delay between the time this message was received and the current delivery attempt.
xdelay The amount of time needed in this delivery attempt (normally indicative of the speed of the connection).
mailer The name of the mailer used to deliver to this recipient.
relay The name of the host that actually accepted (or rejected) this recipient.
dsn Theenhanced error code (RFC 2034) if available.
stat The delivery status.
sendmail op.ps #2.1.1
《解決方案》
原帖由 abel 於 2008-7-9 15:47 發表 http://bbs.chinaunix.net/images/common/back.gif
class The class (i.e., numeric precedence) of the message.
pri Theinitial message priority (used for queue sorting).
nrcpts The number of envelope recipients for this message ...
謝謝BZ
很詳細
《解決方案》
原帖由 ruochen 於 2008-7-9 16:25 發表 http://bbs.chinaunix.net/images/common/back.gif
謝謝BZ
很詳細
PS: 我不是 BZ, 勿誤會
《解決方案》
知道你是台灣的一個大牛
對linux下的服務很精通
《解決方案》
多謝 abel 兄
最近發出的信有一部分不能及時的收到,查看maillog發現delay很大,有的有幾小時甚至一天以上的(我的sendmail設置的是保留兩天),dsn一般為4和2,可能是什麼原因呢??
另外可否幫忙給出 dsn 的代號及含義,謝謝啦:P :P
《解決方案》
Jul 11 18:42:38 mail sendmail: m6A274tl032004: to=<133@xxx.com>, delay=1+08:35:34, xdelay=00:00:00, mailer=local, pri=13667638, dsn=4.0.0, stat=Deferred: local mailer (/usr/bin/procmail) exited with EX_TEMPFAIL
延遲很大的信都有 stat=Deferred: local mailer (/usr/bin/procmail) exited with EX_TEMPFAIL 這個內容,procmail有問題嗎?我沒有對 procmail做過什麼配置,而且為什麼有些信有 ctladdr 有些信沒有呢?