您的位置 首页 数字

Postfix queue(邮件行列) 办理

From time to time the mail queue may get filled up. This may be due to network problems or misconfi

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.

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{}\;

声明:本文内容来自网络转载或用户投稿,文章版权归原作者和原出处所有。文中观点,不代表本站立场。若有侵权请联系本站删除(kf@86ic.com)https://www.86ic.net/zhishi/shuzi/323229.html

为您推荐

联系我们

联系我们

在线咨询: QQ交谈

邮箱: kf@86ic.com

关注微信
微信扫一扫关注我们

微信扫一扫关注我们

返回顶部