[Exim] Exim4 and SpamAssassin

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: BlackHawk
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [Exim] Exim4 and SpamAssassin
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.

Tnx

Rick