LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-08-2008, 12:05 PM   #1
h725
Member
 
Registered: Apr 2008
Posts: 114

Rep: Reputation: 15
Tutorial about spamassassin


Hi all,

I'm looking for a good tutorial about spamassassin.
The documentation online it's ok but it's too "fragmented".
Anyone know a good tutorial online?
Thanks.

p.s. alternatively this book is good?
http://www.amazon.com/SpamAssassin-A.../dp/0596007078
 
Old 09-08-2008, 05:50 PM   #2
TwinReverb
Member
 
Registered: Sep 2008
Location: Misawa AB, Japan
Distribution: Slackware
Posts: 191
Blog Entries: 2

Rep: Reputation: 40
I've had no issues with SpamAssassin. Here's how I do it:

As root, "perl -MCPAN -e shell" will load CPAN, which is an automated perl application compiling system, etc.

First, I recommend telling CPAN to "get Mail::SpamAssassin". This downloads SpamAssassin first, before installing it.

Then, in another window or shell, go to /root/.cpan/build/Mail-SpamAssassin-$VERSION$ (where $VERSION$ is the version it's currently at. Don't know? "ls" and look).

Now read the INSTALL file. I recommend going through installing ALL the requirements and optional software. If you don't know how or what, you can try to do it all within CPAN. It's really easy. It will say in the install document what to install. It's as easy as:

install Digest::SHA1

This is an example. So install all the required stuff and optional stuff you want BEFORE installing SpamAssassin.

After it does all the compiling for you, go ahead and quit CPAN.

Then you can add "/usr/bin/spamd -d" to your /etc/rc.d/rc.local to have the SpamAssassin daemon start up when you start up your computer. For now, since it's recently compiled, running that in a console as root will get it up and running right now.

From there, KMail (and Kontact) knows how to incorporate SpamAssassin. Or you can do it manually: there are documents online that show you how. Here's one I made myself:

TwinReverb - SpamAssassin Tutorial

It should work fine. Right now I'm busy but I'll try to remember to give it a re-read and make sure it's still the right way to do it. Thanks!
 
Old 09-08-2008, 06:00 PM   #3
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Quote:
Originally Posted by h725 View Post
Hi all,

I'm looking for a good tutorial about spamassassin.
The documentation online it's ok but it's too "fragmented".
Anyone know a good tutorial online?
Thanks.

p.s. alternatively this book is good?
http://www.amazon.com/SpamAssassin-A.../dp/0596007078
I would have to agree with you on this. However, if you want to explain what you are trying to achieve, what your setup is, etc., we can probably help you out a lot.
 
Old 09-09-2008, 08:06 AM   #4
h725
Member
 
Registered: Apr 2008
Posts: 114

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by billymayday View Post
I would have to agree with you on this. However, if you want to explain what you are trying to achieve, what your setup is, etc., we can probably help you out a lot.
My problem is: why this email has been marked as spam? Where is the rule relevant in this case?

..and how can I manage the bayes filter?

When I recognize some spam email, how can I stop it for the future? By some strings in the body or... what ?

Thanks
 
Old 09-09-2008, 12:59 PM   #5
TwinReverb
Member
 
Registered: Sep 2008
Location: Misawa AB, Japan
Distribution: Slackware
Posts: 191
Blog Entries: 2

Rep: Reputation: 40
Quote:
Originally Posted by h725 View Post
My problem is: why this email has been marked as spam? Where is the rule relevant in this case?

..and how can I manage the bayes filter?

When I recognize some spam email, how can I stop it for the future? By some strings in the body or... what ?

Thanks
You need to read the SpamAssassin documentation on their website (http://spamassassin.apache.org iirc). It will explain all this.

As for stopping spam, no one has been able to do that yet. That's not what SpamAssassin is for: it's for filtering it out.
 
Old 09-14-2011, 12:06 AM   #6
Argus Eyed
LQ Newbie
 
Registered: Sep 2011
Distribution: http://www.sysadmin.md
Posts: 2

Rep: Reputation: Disabled
You can find a lot of spamassassin tutorials on this page:
http://www.sysadmin.md/spamassassin.html
 
  


Reply



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
PHP-MySQL tutorial and Linux Networking tutorial needed Please dlux45 Linux - Software 6 04-19-2010 01:10 PM
LXer: Tutorial: How to Write a Tutorial LXer Syndicated Linux News 0 08-01-2008 06:41 AM
LXer: Tutorial: An Easy Tutorial on IP Tables and Port Knocking LXer Syndicated Linux News 0 02-04-2008 04:20 PM
spamassassin w/ procmail vs. spamassassin w/sendmail bleunuit Linux - Networking 1 08-01-2004 07:12 AM
How about a weekly tutorial? or just a tutorial Alinuxnoob LQ Suggestions & Feedback 2 04-09-2002 08:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:32 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