Anti-spam

Bradley Alexander storm at tux.org
Thu Apr 15 18:48:59 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I am wrestling with controlling spam in an IMAP environment (I am fairly new 
to the IMAP world).

I installed spamassassin according to the sourcefire howto (thanks, Ian), and 
spamassassin is working after a fashion. However, I have two problems. First 
of all, I enabled subject rewriting so that I can filter via kmail's subject 
filters. In /kolab/etc/spamassassin/local.cf, I have

# Whether to change the subject of suspected spam
rewrite_subject         1

# Text to prepend to subject if rewrite_subject is used
subject_tag             *****SPAM*****

however, the messages coming to my inbox are not being rewritten.

The second thing is how to train the Bayesean filters in spamassassin. Since I 
am manually filtering spam in kmail, I am putting it into a local folder, 
then copying the folder to the mailserver and running 
/kolab/bin/sa-learn --spam * in the cur directory of that directory. Since, 
being IMAP, the user does not have to have an account on the mailserver, is 
there a better/less painful way to deal with spam under kolab's imap 
implementation?

Prior to deployment of Kolab, I was using a combination of spamassassin and 
bogofilter, through procmail, which did a very good job. Is it possible to 
set up a sieve script to do something similar?

Thanks,
- -- 
- --Brad
========================================================================
Bradley M. Alexander                |
SysAdmin, Security Engineer    |   storm [at] tux.org
Debian/GNU Linux Developer          |   storm [at] debian.org
========================================================================
Key fingerprints:
DSA 0x54434E65: 37F6 BCA6 621D 920C E02E  E3C8 73B2 C019 5443 4E65
RSA 0xC3BCBA91: 3F 0E 26 C1 90 14 AD 0A  C8 9C F0 93 75 A0 01 34
========================================================================
A gun in the hand is better than a cop on the phone.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAfr0Dc7LAGVRDTmURAhNvAJsGd806SBy7vXKz7Ykvcv04y4WIzwCfTNIo
vYOuVqno49gTKNIXpLlO8rk=
=mKaT
-----END PGP SIGNATURE-----




More information about the users mailing list