[kde-linux] kmail doesn't filter spam with spamassassin

christophe christophe.dr at free.fr
Sun Jul 24 21:38:06 UTC 2005


I have configured kmail(1.7.1) to filter spams with spamassassin (3.0.4) on a 
mdk 10.1, according to the many tutorials on the internet.
spamd is running as daemon and here is my /etc/mail/spamassassin/local.cf 
file :
----------------------------------------------
required_hits 5
rewrite_header Subject ****SPAM(_SCORE_)****
add_header spam Flag _YESNOCAPS_
add_header all Status _YESNO_, score=_SCORE_ required=_REQD_ tests=_TESTS_ 
autolearn=_AUTOLEARN_ version=_VERSION_
add_header all Level _STARS(*)_
add_header all Checker-Version SpamAssassin _VERSION_ (_SUBVERSION_) on 
_HOSTNAME_
report_safe 0
auto_whitelist_path        /var/spool/spamassassin/auto-whitelist
auto_whitelist_file_mode   0666
dcc_home                   /var/lib/dcc
----------------------------------------------

Whatever i use, spamc, spamc -c, spamassassin, the X-Spam-Flag doesn't comme 
on the mail (i see it in the source of the mail).
Whereas with command line :
$spamc -R < spam
0.0/5.0
(no report template found)
$spamassassin < spam
...
X-Spam-Flag: YES
...
$spamc -c < spam
0.0/5.0

Is there anything wrong with kmail disabling X-Spam-Flag ???

-- 
Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-linux/attachments/20050724/3bbf31ac/attachment.sig>


More information about the kde-linux mailing list