Re: [Exim] Exim4 and SpamAssassin

Top Page
Delete this message
Reply to this message
Author: Odhiambo G. Washington
Date:  
To: exim-users
Subject: Re: [Exim] Exim4 and SpamAssassin
* BlackHawk <black.hawk@???> [20031030 12:47]: wrote:
> Hi all,
>
> i'm using SA with exim4 forwading all spam mail to a mailbox with this
> conf:
>
> if
>     $h_X-Spam-Status: contains "Yes"
>     #    or
>     #"${if def:h_X-Spam-Flag {def}{undef}}" is "def"
> then
>     logfile /var/log/exim/spamlog
>     logwrite "$tod_log From: $h_From: Subject: $h_Subject: \n \t
> X-Spam-Status: $h_X-Spam-Status: Sender: $sender_address"
>     deliver "Spam <spam@???>"
>     seen finish
> endif

>
> There is a better way to do this? It seems that sometimes some non-spam
> are forwarded to spam mailbox.


Hello Rick,

If you look at the full headers for the non-spam, do you see the header
"X-Spam-Status: Yes" ? If so, then it's a false positive and you only
need to adjust your spam filter rules. Me thinks so.



        cheers
       - wash
+----------------------------------+-----------------------------------------+
Odhiambo Washington                     . WANANCHI ONLINE LTD (Nairobi, KE)  |
<wash at wananchi dot com>              . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223                 . # 10286, 00100 NAIROBI             |
GSM: (+254) 733 744 121                 . (+254) 020 313 985 - 9             |
+---------------------------------+------------------------------------------+
"Oh My God! They killed init! You Bastards!"
                         --from a /. post