LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-23-2006, 06:30 PM   #1
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203

Rep: Reputation: 45
kmail + spam problems


Hi i am using the cool kmail as a mail client. I have over 150 spams a day and i want to find an easy way to filter all the spams. Do u know any good programme that can work with kmail?
Thx a lot
 
Old 08-23-2006, 07:48 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
You can try spamassassin or bogofilter they should both work with it although the spamassassin is a bit of a resource hog on lower powered machines and even on higher powered ones mine for example AMD X2 3800+ overclocked to 2.4ghz it will still block access to kmail when it is doing the filtering it is the better of the two at the filtering though. If you are using a new enough version of Kmail it will have a Spam Wizard so all you need to do is run the wizard and will setup the proper filters for you although if you have any other filter defined you will need to go into the filter settings and move up the spam filters to the top the wizard even puts a couple of buttons in kmail to classify any mail as spam or non-spam for any missed/mis-classified mail.
 
Old 10-21-2006, 05:39 AM   #3
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by HappyTux
You can try spamassassin or bogofilter they should both work with it although the spamassassin is a bit of a resource hog on lower powered machines and even on higher powered ones mine for example AMD X2 3800+ overclocked to 2.4ghz it will still block access to kmail when it is doing the filtering it is the better of the two at the filtering though. If you are using a new enough version of Kmail it will have a Spam Wizard so all you need to do is run the wizard and will setup the proper filters for you although if you have any other filter defined you will need to go into the filter settings and move up the spam filters to the top the wizard even puts a couple of buttons in kmail to classify any mail as spam or non-spam for any missed/mis-classified mail.
Thx can u provide me some links how can i achieve that? I have suse 10.1 and i use kmail as email client. I am really new and i need some good examples to start with.
 
Old 10-21-2006, 12:39 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by alaios
Thx can u provide me some links how can i achieve that? I have suse 10.1 and i use kmail as email client. I am really new and i need some good examples to start with.
Well all you should need to do is install either of the programs I mentioned then run the anti-spam wizard in Kmail this will set up the filters for you it will auto-detect which program you installed so it is really simple to setup.
 
Old 10-21-2006, 02:35 PM   #5
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203

Original Poster
Rep: Reputation: 45
ThThx a lot but i would like to read some spamassasins articles so i can handle them too. Unfortunately the documentation in spamassasin seems to be down
 
Old 10-26-2006, 03:49 PM   #6
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203

Original Poster
Rep: Reputation: 45
http://wiki.apache.org/spamassassin/StartUsing
How i should setup the spamassasin to filter my email? I should setupt it as server
 
Old 10-26-2006, 04:51 PM   #7
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by alaios
http://wiki.apache.org/spamassassin/StartUsing
How i should setup the spamassasin to filter my email? I should setupt it as server
Install the spamassassin and spamc packages razor and pyzor as well if you want them run the wizard to setup the filters for it then you need to train the filters on known good and bad emails.

Code:
    alias spamf="sa-learn --spam --dir /home/stephen/Mail/Spam-Filtered/cur"
    alias spam="sa-learn --spam --dir /home/stephen/Mail/Spam-Missed/cur"
    alias ham="sa-learn --ham --dir /home/stephen/Mail/Spam-None/cur"
Above are a couple of aliases I put in my .bashrc for the training I setup the three directories in Kmail to have the mail moved into. For the first time training just use sa-learn --spam --dir /home/stephen/Mail/Spam-Directory/cur for the spam and sa-learn --ham --dir /home/stephen/Mail/Spam-None-Directories/cur for directories with the ham (good) it is supposed to be best to train with equal amounts of spam and ham. Below is what I have in my user preferences I used a score of 1.5 for spam from the default 5 as it seemed to get most of the spam without any ham (good) mails getting caught in it you will have to figure out what you need for your mails.

Code:
cat .spamassassin/user_prefs
# SpamAssassin user preferences file.  See 'perldoc Mail::SpamAssassin::Conf'
# for details of what can be tweaked.
###########################################################################

# How many points before a mail is considered spam.
 required_score         1.5

# Whitelist and blacklist addresses are now file-glob-style patterns, so
# "friend@somewhere.com", "*@isp.com", or "*.domain.net" will all work.
# whitelist_from        someone@somewhere.com

# Add your own customised scores for some tests below.  The default scores are
# read from the installed spamassassin rules files, but you can override them
# here.  To see the list of tests and their default scores, go to
# http://spamassassin.apache.org/tests.html .
#
# score SYMBOLIC_TEST_NAME n.nn

# Speakers of Asian languages, like Chinese, Japanese and Korean, will almost
# definitely want to uncomment the following lines.  They will switch off some
# rules that detect 8-bit characters, which commonly trigger on mails using CJK
# character sets, or that assume a western-style charset is in use.
#
# score HTML_COMMENT_8BITS      0
# score UPPERCASE_25_50         0
# score UPPERCASE_50_75         0
 score UPPERCASE_75_100 2.5
 score GET_PAID 2.5
# score OBSCURED_EMAIL          0

# Speakers of any language that uses non-English, accented characters may wish
# to uncomment the following lines.   They turn off rules that fire on
# misformatted messages generated by common mail apps in contravention of the
# email RFCs.

# score SUBJ_ILLEGAL_CHARS      0
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
spam filter that puts spam into spam folder? paul_mat Linux - Software 3 03-31-2009 05:18 AM
any form of spam filetering in Kmail/Kontact? microsoft/linux Linux - Software 4 10-24-2005 02:29 PM
KMail, bounce, & HTML spam dredgemortle Mandriva 1 05-22-2004 02:47 PM
Spam assassin and Kmail trouble tekhaxor Mandriva 1 03-31-2004 02:28 AM
Fighting Spam With KMail Judland Linux - Newbie 2 08-06-2003 01:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration