Re: [exim] Specifying error codes for deny or defer

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Peter Bowyer
日付:  
To: exim users
題目: 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.

Peter

--
Peter Bowyer
Email: peter@???