Re: [Exim] Problem with and condition in ACL

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Philip Hazel
Datum:  
To: Tabor J. Wells
CC: exim-users
Betreff: Re: [Exim] Problem with and condition in ACL
On Tue, 19 Aug 2003, Tabor J. Wells wrote:

> I'm trying to write a DATA ACL which will reject mail that contains no
> Message-ID header but has "X-MailScanner: Found to be clean" in order to
> deal with W32.Sobig.F.


That will not work. If a message has no Message-ID header, Exim will
generate one of its own, before the DATA ACL is run. The format can be
controlled by message_id_header_{domain,text} so you should set those
approprately and test for their values rather than for the existence of
message-id.

--
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