[Exim] Using Discard and logging a unique message

Top Page
Delete this message
Reply to this message
Author: Kevin Reed
Date:  
To: exim-users
Subject: [Exim] Using Discard and logging a unique message
I have started using discard for a number of different reasons. I can't
seem to find a way to get a log entry that is unique so that I can track
what is being done.

Example:

        discard  hosts = /usr/local/exim/rbl-always
                log_message = DISCARD: Host listed in RBL-ALWAYS


If a host is on our rbl-always list, I want to just accept the crap and drop
it on the floor... But the entry in the log just says... => blackhole
(RCPT ACL discarded recipients)

I attempted to add warn to the mix but that then started accepting the
messages...

I am using it for Sobig stuff too but I want to track it somewhat not just
have it all end up in the bucket with a default log entry.