Re: [exim] Behaviour of 'message' after a discard verb in th…

Etusivu
Poista viesti
Vastaa
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: Stanislaw Halik
Kopio: exim-users
Aihe: Re: [exim] Behaviour of 'message' after a discard verb in the acl_smtp_mime ACL section of the config file
On Tue, 5 Dec 2006, Stanislaw Halik wrote:

> On Tue, Dec 05, 2006, paul.mcilfatrick@??? wrote:
> > I then changed 'deny' to 'discard' as follows:
>
> > discard condition       =       ${if match {${lc:$mime_charset}}
> > \

>
> > {\N(iso-2022-jp|windows-1251|big5|big-5)\N}}
> > message         =       E-mail from Internet not in
> > english ($mime_charset), F=$sender_address - discard!

>
> > and found that, although the e-mails seemed to be discarded OK, there
> > was no message in the mainlog file.
>
> Use "log_message" instead of "message".


I was about to say that that won't work either because both "message"
and "log_message" are specified as operating when access is denied. The
"discard" verb accepts; it does not deny. However, I remembered just in
time that log_message was specially modified so that it does work with
"discard". So it should work with "log_message".

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