Is there a spam filter I can integrate into my KMail client? I am using KMail to directly receive mails from my pop3 server (couldn't get the combination with postfix and fetchmail to work according to the SuSE SDB description, but that's another story). Maybe Spamassassin? Kostas
Am Donnerstag, 15. Mai 2003 07:31 schrieb Konstantinos Georgokitsos:
Is there a spam filter I can integrate into my KMail client? I am using KMail to directly receive mails from my pop3 server (couldn't get the combination with postfix and fetchmail to work according to the SuSE SDB description, but that's another story). Maybe Spamassassin?
You can use spamassassin as a filter! All you have to do is pipe your mail through SA, do not stop the filter queue but sort out the marked mails afterwards. Chris -- Christoph Dohmen ChDohmen@gmx.de
I have exactly that combination running. It's just a tad slow from time to time... So, if you have other filters, put them before the spamassassin-filter. The SA-Filter has to look about like: Matches the following: <Any Header> contains . (one dot) Pipe through program: spamc -f Uncheck "Stop processing if filter matches" Add another filter: Matches the following: X-Spam-Flag equals YES and define an action as you like (e.g. move to Folder "SPAM" or so). I'm using spamd (Daemon) and accordingly the client. I've found this to be less ressource-hungry than the spamassassin stand-alone-program. HTH Markus -- The revolution will not be a three-part, prestige-format miniseries.
Thanks for your tips. I had found a little how-to in google in the mean time, and had set KMail accordingly: On Thursday 15 May 2003 11:43, Markus Kohli wrote:
I have exactly that combination running. It's just a tad slow from time to time... So, if you have other filters, put them before the spamassassin-filter.
good idea. had it at the top and it was quite slow. most sort for mailing-lists from suse and debian mostly which generally don't seem to have that much spam (at the moment?)
The SA-Filter has to look about like:
Matches the following: <Any Header> contains . (one dot) Pipe through program: spamc -f Uncheck "Stop processing if filter matches"
Add another filter: Matches the following: X-Spam-Flag equals YES
ok, that seems to be better than <any header> <contains> *****SPAM*****
and define an action as you like (e.g. move to Folder "SPAM" or so).
I'm using spamd (Daemon) and accordingly the client. I've found this to be less ressource-hungry than the spamassassin stand-alone-program.
Hm, at the moment I have it calling the spamassassin -P -F 0, and it was slow, but now that I moved the filter to the bottom it is more acceptable. I only received my first personal spam mail today. So at the moment it is ok. But I will have to rethink your setup once the heavy load starts...
Markus
Kostas
Ah I just noticed another difference in our setups: On Thursday 15 May 2003 11:43, Markus Kohli wrote:
Matches the following: <Any Header> contains . (one dot)
I have: <any header> <matches regexp.> . (one dot) are those equivalent? can't remember regexp's at all. Kostas
On Thursday 15 May 2003 11:40, Konstantinos Georgokitsos wrote:
I have: <any header> <matches regexp.> . (one dot)
are those equivalent? can't remember regexp's at all.
A dot in a regexp means simply any character. Looks like the contains thingy accepts the dot also as a "joker". Or maybe I'm just lucky that each and every mail contains a dot in a header-field... I'll switch mine to the regexp, probably. Thanks for the hint Markus -- Militant Agnostic--I don't know and you don't either!
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hy Kostas I am using spamoracle here. Has to be trained in the beginning but works very fast and smooth. I gave him about 1000 spam mails and some more good mails and I would say he filters about 98% of all bad mail out. Have a nice day Andi - -- - ---KMail v.1.5 --- SuSE Linux Pro v8.2--- Registered Linux User #237974 On any other day, that might seem strange... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQE+w1sU55TdazunANcRAhp6AJ0cZ2zjQfooWDzqwIpVZPQoyE0g5ACg2NqB ZXY2qeDCDgtNlmqmXtVIKdQ= =pL6M -----END PGP SIGNATURE-----
participants (4)
-
Andreas Bauer
-
Christoph Dohmen
-
Konstantinos Georgokitsos
-
Markus Kohli