RE: [Exim] Allow message to work with accept in ACLs?

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Eli
CC: exim-users
Subject: RE: [Exim] Allow message to work with accept in ACLs?
On Thu, 22 Jan 2004, Eli wrote:

> I believe Exim actually does let you have a message within an accept
> statement, it's just that it doesn't seem to honor it by adding the header.


If you use message with accept, it will use it as an error message if
the accept cause rejection. For example:

accept  domains = +local domains
        endpass
        message = unknown user
        verify = recipient


It looks like overloading "message" was a bad idea. Perhaps there should
be "add_header" instead.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book