On 05/15/2013 05:02 PM, Richard Shetron wrote:
I'm having problems with DOMAIN not found errors. Is there anyway to edit/remove them from the qfiles/out .pck files? They don't seem to be getting purged by mailman and hang around way too long.
If the MTA (Postfix) is returning a 4xx status for the domain not found, Mailman will move the queue entry to the retry queue and it will be retried (moved back to the out queue) every DELIVERY_RETRY_WAIT seconds (default 1 hour) until it is DELIVERY_RETRY_PERIOD (default 5 days) old at which time the remaining undelivered recipients will be treated as a bounce.
If that is too long to wait, you can shorten the time by setting
DELIVERY_RETRY_PERIOD = days(1)
or maybe
DELIVERY_RETRY_PERIOD = hours(12)
or whatever in mm_cfg.py, or since the deliverable addresses should have been delivered, simply remove the .pck file from the queue.
To be more selective about which recipients to remove, see http://www.msapiro.net/scripts/remove_recips
I'm using postfix and mailman 2.1.12 under ubuntu 8.04.
I found item 4.20 in the FAQ, but I'm not sure if it would work and still working on learning postfix as my normal admin is ill. I'd only want it to work for mailman and not for other users regarding this problem.
Then this is not what you want as it would affect all mail. Further, it just moves the problem to Postfix which probably keeps retrying at intervals until its expiration time elapses.
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan