|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Queue cleanup script?
From: Anders Norrbring (lists
norrbring.se)
Date: Wed Mar 08 2006 - 07:57:55 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Greg Hackney skrev:
> How about: bounce_queue_lifetime = 0
>
>
> bounce_queue_lifetime (default: 5d)
> The maximal time a bounce message is queued before it is
> considered
> undeliverable. By default, this is the same as the queue life
> time
> for regular mail.
>
> Time units: s (seconds), m (minutes), h (hours), d (days), w
> (weeks).
> The default time unit is d (days).
>
> Specify 0 when mail delivery should be tried only once.
>
> This feature is available in Postfix 2.1 and later.
>
> --
> Greg
That would be pretty silly.. Most mail servers are down from time to
time, and then NOT retrying would be fatal for those messages.
Anders.
>
>
> Anders Norrbring wrote:
>
>> Hello all!
>>
>> Can someone please help me with a cleanup script for the Postfix
>> queue? I run version 2.1.1.
>>
>> The "problem" I have is the buildup of undeliverable mail in the queue
>> and I'm sick of deleting them manually.
>>
>> I've made some googling on the subject, but can't find anything really
>> useful. So, any tips would be welcome..
>>
>> The stuff I want to get rid of are messages flagged such as these:
>>
>>
>> 8F19B58081 2649 Tue Mar 7 05:08:05 MAILER-DAEMON (Host or domain
>> name not found. Name service error for name=gklhk.www-mailserver.com
>> type=MX: Host not found, try again) dilger
gklhk.www-mailserver.com
>>
>> 6EB39CC0A 2538 Wed Mar 8 06:23:46 MAILER-DAEMON (connect to
>> exalumnos.com[204.228.229.168]: Connection refused) oberman
exalumnos.com
>>
>> 8E976580AF 2559 Mon Mar 6 14:04:51 MAILER-DAEMON (connect to
>> mashoor.net[69.36.184.220]: server dropped connection without sending
>> the initial SMTP greeting) xrkhwpzmwor
mashoor.net
>>
>>
>
--
Anders Norrbring
Norrbring Consulting
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]