新聞中心

EEPW首頁 > 嵌入式系統(tǒng) > 設計應用 > Postfix queue(郵件隊列) 管理

Postfix queue(郵件隊列) 管理

作者: 時間:2016-09-12 來源:網(wǎng)絡 收藏

From time to time the mail queue may get filled up. This may be due to network problems or misconfiguration. For instance, if you botch (typo) the relayhost parameter, the mail will be undeliverable. The first thing to do is fix the problem, meaning get the network back online, or fix the configuration.

本文引用地址:http://m.butianyuan.cn/article/201609/304130.htm

1. try and deliver the mail from the queue(強制發(fā)送隊列中的郵件):

$ postfix flush or $ postqueue-f

2. check mail queue size (查看隊列大小):

$mailq|wc-l

3. list mails in queue (查看隊列中的郵件):

$ postqueue-por $ mailq

4.put all deferred mail “on hold” so that no attempt is made to deliver it(暫緩發(fā)送隊列中的問題郵件):

$postsuper-hALL deferred

5. release mail that was put “on hold”(解除暫緩發(fā)送):

$postsuper-HALL deferred

6. purge all deferred emails from the queue without delivering (刪除隊列中問題的郵件):

$ postsuper-dALL deferred $find/var/spool/postfix/deferred-typef-execrm-vf{};

上一頁 1 2 3 下一頁

關鍵詞: linux 郵件隊列

評論


相關推薦

技術專區(qū)

關閉