Re: [exim-dev] [PATCH] Allow a message to be set from accept…

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Philip Hazel
日付:  
To: exim-dev
題目: Re: [exim-dev] [PATCH] Allow a message to be set from accept in DATA ACL
On Sun, 23 Jul 2006, Simon Arlott wrote:

> There is a WishList entry for changing all the OK responses, but this
> one is fairly simple to do and more likely to be used by connecting
> MTAs (at least by Exim and Sendmail with the right logging options
> set).


I haven't looked in detail at the code, but isn't there an ambiguity?
If you have

   accept  message = something
           endpass 
           <some conditions here>


the message is used as an error message when the result is "deny". So
how can it also be used when the result is "accept"? Or are you thinking
of

   accept  message = error message
           endpass
           <some conditions here>
           message = an accept message


? If so that feels kind of awkward because the explanation of where
"message" has to go gets complicated. Also, more seriously, if you
don't have the second message, won't the first message get used in
error? In which case a lot of existing configurations will break.

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