Szerző: Jan Suchanek Dátum: Címzett: Philip Hazel CC: exim-users Tárgy: 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.
>