新闻中心

EEPW首页 > 嵌入式系统 > 设计应用 > Postfix queue(邮件队列) 管理

Postfix queue(邮件队列) 管理

作者:时间:2016-09-12来源:网络收藏

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://www.eepw.com.cn/article/201609/304130.htm

1. try and deliver the mail from the queue(强制发送队列中的邮件):

$ 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(暂缓发送队列中的问题邮件):

$postsuper-hALL deferred

5. release mail that was put “on hold”(解除暂缓发送):

$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 邮件队列

评论


相关推荐

技术专区

关闭