Re: [Exim] Fail command in filters: no mail sent back to the…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Gregory Heinrich
Date:  
À: Philip Hazel
CC: exim-users
Sujet: Re: [Exim] Fail command in filters: no mail sent back to the sender ???
Ok, this seems to work now.
I find it suprising that I have had to add code to fix this problem, as the
code I used for the filter was an excerpt from a filter given on exim.org
homepage in "New things" section.
I might have missed something...

Thank you very much for your support,
Greg.

----- Original Message -----
From: "Philip Hazel" <ph10@???>
To: "Gregory Heinrich" <heinrich@???>
Cc: <exim-users@???>
Sent: Monday, July 23, 2001 1:26 PM
Subject: Re: [Exim] Fail command in filters: no mail sent back to the sender
???


> On Mon, 23 Jul 2001, Gregory Heinrich wrote:
>
> > I think I get it! In fact, the message that is supposed to be sent back

to
> > the heinrich@??? with an error message is also filtered!
>
> Of course. All messages are filtered.
>
> > To fix it, I have added a test for first_delivery at the beginning of my
> > filter so that it now looks like :
>
> Wrong fix. First delivery applies to each message separately. The error
> message isn't a "second delivery", but a new message.
>
> > I do not know the exim filter language very well. How can I fix it?
>
> You must test for the error message, and not filter it. Something like
>
> if error message and $sender_address is mailer-daemon@???
> then finish endif
>
>
>
> --
> Philip Hazel            University of Cambridge Computing Service,
> ph10@???      Cambridge, England. Phone: +44 1223 334714.

>
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim

details at http://www.exim.org/ ##