Author: Peter Bowyer Date: To: exim users Subject: Re: [exim] Specifying error codes for deny or defer
On 27/02/07, Luca Bertoncello <bertoncello@???> wrote: > Hi, list!
>
> How can I specify an error/warning code for deny or defer?
> I'd like to differentiate the codes, basing on the error/warning...
> Not just having an error 550 for all...
Assuming a recent Exim (4.66), you can insert an SMTP error code in
the acl 'message' modifier... eg
deny message = 599 Go forth and multiply
defer message = 466 Wait a while
You can do similar things with forced :fail: and :defer: in redirect routers.