Postfix queue(郵件隊(duì)列) 管理
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://2s4d.com/article/201609/304130.htm1. try and deliver the mail from the queue(強(qiáng)制發(fā)送隊(duì)列中的郵件):
$ postfix flush or $ postqueue-f |
2. check mail queue size (查看隊(duì)列大小):
$mailq|wc-l |
3. list mails in queue (查看隊(duì)列中的郵件):
$ postqueue-por $ mailq |
4.put all deferred mail “on hold” so that no attempt is made to deliver it(暫緩發(fā)送隊(duì)列中的問(wèn)題郵件):
$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 (刪除隊(duì)列中問(wèn)題的郵件):
$ postsuper-dALL deferred $find/var/spool/postfix/deferred-typef-execrm-vf{}; |
評(píng)論