[Exim] log_message ignored in deny?

Top Page
Delete this message
Reply to this message
Author: Kevin W. Reed
Date:  
To: exim-users
Subject: [Exim] log_message ignored in deny?
deny hosts = !+rbl_hosts : !+exempt_lookup_hosts
           log_message = SPAM BLOCK: RBL-ANTISPAM ($dnslist_domain)
           message = SPAM BLOCK: Host or Netblock is listed in
$dnslist_domain\n \
                   Please contact postmaster@??? with any questions.
           dnslists =      hil.habeas.com : \
                           bl.spamcop.net : \
                           dnslb.ngabl.org : \
                           sbl.spamhaus.org : \
                           dynablock.easynet.nl


In the above, I've found that the log_message is ignored.

I looked at the spec and it appears that log_message is not really an
option for this, but it appears to work in other areas.

I wanted to use the shorter keyed log_message entry so that I could track
these types of things in the log files, but all the shows up is the first
line of the message section.

I suppose that warn would work, but then I end up with another duplicate
entry just to get the log entries that I am looking for.

--
Kevin