Cleanup Postfix mail queue

You were messing with your cluster on a closed, separate VLAN, but now hundreds of error messages wait in the Postfix queue, ready to ship when your server regain access to the network.

What to do?

You can clean up your Postfix mail queue with postsuper:

# postsuper -d ALL
postsuper: Deleted: 4789 messages

As usual, check the man page for more info and the caveats.

Advertisements

One thought on “Cleanup Postfix mail queue

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s