On Tue, 5 Dec 2006, Stanislaw Halik wrote:

> On Tue, Dec 05, 2006, [EMAIL PROTECTED] 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

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to