Post queue management

Table of Contents

Sendmail
Postfix
Exim

Postfix

by ross at 06:03:45 on December 3, 2011

How to manage postfix queue

To list messages in the queue:

# postqueue -p

To flush the queue:

# postqueue -f

To delete a message in the queue:

# postsuper -d queue_id

To delete all messages in the queue:

# postsuper -d ALL [hold|incoming|active|deferred]

To put message on hold:

# postsuper -h queue_id</pre>

To release mail that was put on hold:

# postsuper -H queue_id

You can also use ALL [hold|incoming|active|deferred] syntax with -h and -H flags.

Comments