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

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: exim-dev
Subject: 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