Re: [exim-dev] SMTP response code, was Re: [PATCH] Implemen…

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Philip Hazel
日付:  
To: Tony Finch
CC: exim-dev, David Woodhouse
題目: Re: [exim-dev] SMTP response code, was Re: [PATCH] Implementredirect
On Thu, 29 Jun 2006, Tony Finch wrote:

> The problem is that the ESC has to come from the routers.


So the routers would have to set a variable like $address_data which the
ACL could use. You might even be able to fudge it up using
$address_data, but that might be difficult/messy/impossible. A separate
variable is probably the answer. Suppose we have $smtp_error_code, set
to an empty string by default, with a way that a router could set it.
Then if my previous message is adopted, something like

    message = $smtp_error_code Your reject message here


would do the trick, wouldn't it?


-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book