Re: [Exim] Use of "condition"

Top Page
Delete this message
Reply to this message
Author: Jan Suchanek
Date:  
To: Philip Hazel
CC: exim-users
Subject: Re: [Exim] Use of "condition"
Hello!

Philip Hazel wrote:

> > If the condition fails the sender get a message that there is no
> > matching local part. It would be nice if the sender gets a message like
> > "The recipent decided not to get mails from you..." Is it possible to
> > send an own error_message for the one failed condition?
>
> No, because a failed condition causes the driver to be skipped, and
> control is passed to the next driver. If you want a special message, you
> must put a second director like this:
>
> xxxx:
> driver = smartuser
> condition = the *opposite* condition !
> new_address = :fail: your message here


Thank you for your help. It is what I was looking for. It works fine
with my configuration!

> Of course, you don't need the "condition" if this is the last driver,
> and you only get to it in this circumstance.
>


Greetings, Jan

--
Jan Suchanek,
Universitaet Ulm, URG, Fakultaet fuer Informatik,
89069 Ulm, Germany
Raum: O27/243

Tel.: +49/(0)731-5024205, Fax: +49/(0)731-5024202