Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-23-2006, 06:30 PM
|
#1
|
Senior Member
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203
Rep:
|
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
|
|
|
08-23-2006, 07:48 PM
|
#2
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170
|
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.
|
|
|
10-21-2006, 05:39 AM
|
#3
|
Senior Member
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203
Original Poster
Rep:
|
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.
|
|
|
10-21-2006, 12:39 PM
|
#4
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170
|
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.
|
|
|
10-21-2006, 02:35 PM
|
#5
|
Senior Member
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203
Original Poster
Rep:
|
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
|
|
|
10-26-2006, 03:49 PM
|
#6
|
Senior Member
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203
Original Poster
Rep:
|
http://wiki.apache.org/spamassassin/StartUsing
How i should setup the spamassasin to filter my email? I should setupt it as server
|
|
|
10-26-2006, 04:51 PM
|
#7
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170
|
Quote:
Originally Posted by alaios
|
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
|
|
|
All times are GMT -5. The time now is 05:41 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|