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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Eli
Date:  
À: exim-users
Sujet: RE: [Exim] Allow message to work with accept in ACLs?
>It looks like overloading "message" was a bad idea. Perhaps there should
>be "add_header" instead.


I'd be happy with something like that (although maybe header_add since you
can group it nicely with future things like header_remove and header_modify
or whatever) :)

I guess I just have lots of header issues ;D I can wait until header stuff
can be hopefully reworked though!

Eli.

-----Original Message-----
From: Philip Hazel [mailto:ph10@cus.cam.ac.uk]
Sent: Monday, February 02, 2004 7:27 AM
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