Page 1 of 1

Flush outbound Queue?

Posted: 02 Feb 2014 13:14
by rickb813
Good morning, we are migrating to EFA and making minor adjustments to DNS to make this happen (of course) meanwhile my outbound Queue is accumulating some errant messages like:
316A48765F 6649 Sun Feb 2 03:09:29 MAILER-DAEMON
(mail for mail.ourname.net loops back to myself)
manager@askrobweiss.com

we have worked out the DNS correctly, and have lingering messages. Will they auto-delete after time or can I send them to the bit bucket by command line?

RB

Re: Flush outbound Queue?

Posted: 02 Feb 2014 14:50
by shawniverson
Hello

The easy way is to head over to Webmin...

http://<yourserver>:10000

Log in as root

Servers -> Postfix Mail Server -> Mail Queues

You can flush the queue or delete messages here.

Flush from the command line...

/usr/sbin/postqueue -c /etc/postfix -f


The time it takes to get a delivery status notification of failure:

maximal_queue_lifetime = 5d