Dave's Brain

Browse - Computer Tips - How can I delete mail that isn't getting through?

Date: 2014mar5
Product: postfix
Keywords: remove, purge, stuck, defer, defered

Q.  How can I delete mail that isn't getting through?

A.  Here is the command:

/usr/sbin/postsuper -d ALL deferred
According the qmgr man page deferred mail is:
Mail that could not be delivered upon the first attempt. The queue manager implements exponential backoff by doubling the time between delivery attempts.
So be careful. Maybe there is mail in the deferred queue that has only been there a short time that will soon get through. eg graylisting.

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.