What does Postfix do with undeliverable messages that never make it to the destination MTA?

2009-08-14 Thread Clint Miller
I have emails that accumulate in the Postfix deferred queue with messages like: * (connect to comcat.net[216.3.71.208]:25: No route to host) * (connect to schollnet.com[208.73.210.27]:25: Connection refused) * (Host or domain name not found. Name service error for name=oasis.org.autype=MX: Host no

Fwd: What does Postfix do with undeliverable messages that never make it to the destination MTA?

2009-08-14 Thread Clint Miller
Stu, Here is how I have handled the cleaning up of enqueued messages. (Comments to follow) #!/bin/sh if [ $# -lt 4 ] ; then     echo "Usage: $0 MAIL_FROM DayOfWeek Month Date" ; exit fi mail_from=$1 dow=$2 month=$3 date=$4 date_regex="$2[[:space:]]+$3[[:space:]]+$4" report_to=`whoami` awk=

Re: What does Postfix do with undeliverable messages that never make it to the destination MTA?

2009-08-14 Thread Clint Miller
On Fri, Aug 14, 2009 at 1:56 PM, Brian Evans - Postfix List wrote: > All messages stay in the queue until maximal_queue_lifetime is reached. > By default, this is 5 days. > This prevents transient errors, such as connection loss on either end, > from affecting mail delivery. > Do not set this to a