RE: [Exim] Mail Queue... how to dump non-deliverable?

Top Page
Delete this message
Reply to this message
Author: Bernard Stern
Date:  
To: Brian West
CC: exim-users
Subject: RE: [Exim] Mail Queue... how to dump non-deliverable?
On Fri, 4 Aug 2000 15:10:18 -0500 "Brian West" wrote:

> I have had ignore_errmsg_errors for some time but still mail gets stuck on
> this box.. What can I try next?


Mmmmhhh... I believe those stuck messages are for non local
delivery, and have not yet timed out due to your retry rules.
If such messages get a time-out or a connection lost from
the remote server, they will be tried again until eventually
they will time out on your MTA according to your retry rules.

You can try something along these lines, it works well for me
(I use this to time out only the configured local parts, but
you may omit this). You also need exim 3.10 or later, as
message_age was added to this release.

news_bounce:
driver = lookuphost
domains = *
local_parts = news : usenet : anonymous
condition = ${if and {{> {$message_age}{43200}}{eq {$sender_address}{}}} {yes}{no}}
transport = trash

Regards,

Bernard Stern, SWITCH

____________S_W_I_T_CH___Swiss Academic_______________________________________
        mail: SWITCH Head Office       a          Tel: +41 1 268 1520
              Limmatquai 138           n          Fax: +41 1 268 1568
              CH-8001 Zurich           d        e-mail: stern@???
________________________________________Reseach Network_______________________



> ----- Original Message -----
> From: "Philip Hazel" <ph10@???>
> To: "Brian K. West" <brian@???>
> Cc: <exim-users@???>
> Sent: Thursday, August 03, 2000 3:23 AM
> Subject: Re: [Exim] Mail Queue... how to dump non-deliverable?



>> On Wed, 2 Aug 2000, Brian K. West wrote:
>>
>> > I would like to know how to just dump mail that can not be delivered? I
>> > have no local deliveries happening on this box so I cant verify recipt..
>> >
>> > I have tried ignore errors but with no luck.. I am running 3.15
>>
>> Normal messages that cannot be delivered should generate bounce messages
>> that are returned to sender. I presume you are talking about
>> undeliverable bounce messages? If so, check out ignore_errmsg_errors.
>>
>>
>> --
>> Philip Hazel            University of Cambridge Computing Service,
>> ph10@???      Cambridge, England. Phone: +44 1223 334714.