Home arrow Downloads arrow spamtrainer arrow FAQ arrow How can I change how long undeliverable messages stay in the queue?
How can I change how long undeliverable messages stay in the queue? PDF Print

By default, a message that is not deliverable will stay in the Postfix queue for 5 days with the sender not being notfied at all during this time.

Such a setting may have been useful in the days the internet wasn't as reliable as it is today, but hardly makes sense anymore.

To change this, edit /etc/postfix/main.cf and add or alter the following parameters:

maximal_queue_lifetime = 2d

delay_warning_time = 6h

This will reduce the maximum time a message stays in the queue to 2 days, while at the same time, notifying the sender of the delay after 6 hours.

When done issue:

sudo postfix reload
 
< Prev   Next >

Newsletters

Would you like to stay ahead of changes? Subscribe to our low volume newsletters or follow us on Twitter.

Logotega Promotion

Our friends at logotega.com are offering a 20% rebate to topicdesk.com visitors.

Visit logotega.com for quality graphic design tailored to your needs.

Get a 20% rebate on logo design and corporate identity materials throughout this summer!

Twitter Updates

Twitter Updates

    follow us on Twitter

    Current poll

    How many spam messages end up in your inbox per day?