Re: Mail queue not being cleared per setting

2012-11-08 Thread Josh Berkus
Noel, > max_queue_lifetime will reduce the amount of time undeliverable mail > hangs around in the queue, regardless of the reason. > > You can set it lower, but with caution -- postfix can't tell the > difference between a domain that will never work and some legit > domain that happens to be do

Re: Mail queue not being cleared per setting

2012-11-07 Thread Noel Jones
On 11/7/2012 8:47 PM, Josh Berkus wrote: > On 11/7/12 6:37 PM, Jeroen Geilman wrote: >> On 11/07/2012 10:03 PM, Josh Berkus wrote: Non-deliverable mail is returned to sender when either the remote server gives a 5xx "undeliverable" response, or $max_queue_lifetime expires.

Re: Mail queue not being cleared per setting

2012-11-07 Thread Josh Berkus
On 11/7/12 6:37 PM, Jeroen Geilman wrote: > On 11/07/2012 10:03 PM, Josh Berkus wrote: >>> Non-deliverable mail is returned to sender when either the remote >>> server gives a 5xx "undeliverable" response, or $max_queue_lifetime >>> expires. >>> >>> Undelivered mail will hang around in the queue if

Re: Mail queue not being cleared per setting

2012-11-07 Thread Jeroen Geilman
On 11/07/2012 10:03 PM, Josh Berkus wrote: Non-deliverable mail is returned to sender when either the remote server gives a 5xx "undeliverable" response, or $max_queue_lifetime expires. Undelivered mail will hang around in the queue if the remote server gives a 4xx "retry" response, or the remot

Re: Mail queue not being cleared per setting

2012-11-07 Thread Josh Berkus
> Non-deliverable mail is returned to sender when either the remote > server gives a 5xx "undeliverable" response, or $max_queue_lifetime > expires. > > Undelivered mail will hang around in the queue if the remote server > gives a 4xx "retry" response, or the remote server exists but is > unreach

Re: Mail queue not being cleared per setting

2012-11-07 Thread Noel Jones
On 11/7/2012 2:47 PM, Josh Berkus wrote: > Folks, > > We had to restore a mailing list (mailman) from an old backup. This > means it included hundreds of now-invalid email addresses. > > As such, I set up mailmain to remove addresses on the first b0unce, and > set up postfix to b0unce outgoing m

Mail queue not being cleared per setting

2012-11-07 Thread Josh Berkus
Folks, We had to restore a mailing list (mailman) from an old backup. This means it included hundreds of now-invalid email addresses. As such, I set up mailmain to remove addresses on the first b0unce, and set up postfix to b0unce outgoing messages on the first refusal (I thought). The way I di