POSTQUEUE(1) POSTQUEUE(1) NAME postqueue - Postfix queue control SYNOPSIS postqueue [-v] [-c config_dir] -f postqueue [-v] [-c config_dir] -i queue_id postqueue [-v] [-c config_dir] -p postqueue [-v] [-c config_dir] -s site --以下略--
官方上面只有這些參數,但是網路上一堆轉貼都是說
看被Queue的信:是版本的問題嗎?
postqueue -q
強迫將Queue信寄出:
postqueue -f
刪除所有被Queue的信:
postsuper -d ALL
刪除某封Queue的信:
postsuper -d queue_id
刪除所有正在 deferred 佇列中的郵件 ( 刪除曾經發送失敗的信 ):
postsuper -d ALL deferred
不管他...
從 postfix 官方說明:http://www.postfix.org/qmgr.8.html
可查到佇列相關資訊。
另外也有人整理好相關資訊:
知道這些就好辦了,直接到相對應的資料夾把信刪掉即可。
※ Mail Queue 所在的目錄 ※※※
/var/spool/mqueue
/var/spool/postfix -- 底下列出 postfix 的子目錄
》active
目前正在準備發送的信件。(在 message id 後會多加一個 * 號)
Messages that the queue manager has opened for delivery. Only a limited number of messages is allowed to enter the active queue (leaky bucket strategy, for a fixed delivery rate).
》bounce
每一位收件者的傳送狀態,並記載為何會被退信
Per-recipient status information about why mail is bounced. These files are maintained by the bounce(8) daemon.
》corrupt
信件損毀導致無法傳送的信件
Unreadable or damaged queue files are moved here for inspection. 》defer
暫時無法被傳送的信件,並記載為何會被延遲傳送。這種情形最常發生在你的 Mail Server 被列入灰名單(GrayList)的時候,你會看到訊息為「 Your access to this mail system has been rejected due to the sending MTA's poor reputation. If you believe that this failure is in error, please contact the intended recipient via alternate means.」
Per-recipient status information about why mail is delayed. These files are maintained by the defer(8) daemon.
》deferred
無法被傳送的信件會放置在此目錄,但 Mail Server 還是會嘗試幫你繼續送,只是必須等 Backoff time。Mail that could not be delivered upon the first attempt. The queue manager implements exponential backoff by doubling the time between delivery attempts.
》hold
被暫時停止發送的信件,如要發送出去,需要由手動(在 message id 後會多加一個 ! 號)
Messages that are kept "on hold" are kept here until someone sets them free.
》incoming
從外部或本地寄送到本機的信件。
Inbound mail from the network, or mail picked up by the local pickup(8) daemon from the maildrop directory.
參考:Postfix Mail Queue - 一些簡單的管理指令
沒有留言:
張貼留言