A while ago I asked about generating Exim filter logs. [1] I now have
a successful logging system (thanks to those who gave me advice), with
the following command to silently delete high-scoring spam but to log
it so I can occasionally check that I'm not throwing away ham).
elif
$h_X-BlackCat-Spam-Level: begins "++++++++"
then
logwrite "del_spam_home $tod_log $h_message-id: TO $h_to: FROM $h_from:"
seen finish
So I'm now getting log entries like this:
del_spam_home 2009-07-30 12:11:46 <8578EN.78413A196.8557278985YRFQWWOODKZNXZU26@???> TO a24061@??? FROM "Kellee Qkqs" <a24061@???>
del_spam_home 2009-07-30 12:22:39 TO FROM "Banca Fideuram"<fideuram@???>
del_spam_home 2009-07-30 12:34:00 <DH-SRV1cAgjHXwKHvyo00000f35@???> TO FROM "MR ADEKUNLEELVIS"<212.83.241.122>
The first and third lines don't surprise me (for spam), but I'm
curious about the second: can a message really get to the delivery
point without a Message-ID header?
[1]
http://thread.gmane.org/gmane.mail.exim.user/83799/