LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 02-04-2008, 04:17 PM   #1
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Rep: Reputation: 60
SPAM ASSASSIN vs PROCMAIL


I would like to know what is the better of the two for filtering e-mail. SPAM ASSASSIN vs PROCMAIL?
 
Old 02-04-2008, 04:25 PM   #2
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
They are both totally different applications and do different tasks. For most setups you will use both together. Procmail will check mail for certain text strings and move to mail to various folders. Spamassassin checks mail to see if it is spam.

With both working together, you check the mail for spam using spamassassin from you .procmailrc file, then use procmail to put it in the spam folder or whatever you want to do with it. Mine gets sent to /dev/null (i.e. deleted).

Part of my .procmailrc:

Code:
:0fw
 | spamassassin

 :0:
 * ^X-Spam-Flag: YES
 /dev/null
 
Old 02-04-2008, 04:28 PM   #3
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
so is procmail and full fledged e-mail server application like sendmail or postfix?

What is the difference between:

Postfix

Sendmail

Fetchmail

Dovecot

and etc.

Can I use Dovcot to download pop3 mail, spamassassin to clean the e-mails and then also configure IMAP on it so the e-mail user can download the email? I am so confused.

Last edited by metallica1973; 02-04-2008 at 04:40 PM.
 
Old 02-04-2008, 05:10 PM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Procmail is not a mail server, it's mail processor. It just moves the already received mail into the folders you specify.
 
Old 02-04-2008, 05:19 PM   #5
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
make sense. So maybe I just use fetchmail to pull the POP3 stuff from their mail hosting company, SPAMASSASSIN to take out the junk, Procmail to sort and redirect the e-mail the right location and Dovecot for the IMAP or POP3 connector for the e-mail clients. sound good. lets go with it. thanks

P.S any how to on how to get this done! LOL
 
Old 02-04-2008, 05:22 PM   #6
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
Killer artwork. Great stuff.
 
Old 02-04-2008, 05:35 PM   #7
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Read through the man pages is the best way to start.

man fetchmail
man procmail
man procmailrc
man spamassassin
man dovecot

If you want an easy way to install spamassassin. Type 'cpan' in a root terminal

install mail::spamassassin

It will wizz off and install it. You must have perl installed though since spamassassin is a perl mod.
 
  


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
HELP I cant locate procmailrc to invoke spam assassin with procmail bigbadbo Fedora 8 11-27-2007 08:56 AM
how to use spam assassin? packets Linux - Software 3 03-29-2007 07:10 PM
Spam Assassin korozion Linux - Software 1 03-10-2005 09:45 PM
something about spam assassin aneedz Linux - Software 0 04-01-2004 03:59 AM
What other anti-spam for Linux that can be used, other than Spam assassin? johnportiz Linux - Software 6 01-27-2004 03:17 AM

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

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