Flush outbound Queue?

Questions and answers about how to do stuff
Post Reply
rickb813
Posts: 18
Joined: 28 Jan 2014 14:40

Flush outbound Queue?

Post 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
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Flush outbound Queue?

Post 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
Post Reply