Solved

Sendmail Spam application?

Posted on 2004-03-30
3
403 Views
Last Modified: 2010-04-20
Hi.. I need basically to install something like mimesweeper onto a linux sendmail installation
that can sweep for spam as it enters the server before it gets to the pop3 stage.

Any ideas please?

(and no, it's not for a large amount of users, say 100 max, so sendmail's mailstream antispam solution starting
at 4,995 pounds will not do.. :)

Thanks very much

Daryn
0
Comment
Question by:daryn
3 Comments
 
LVL 9

Accepted Solution

by:
Alf666 earned 180 total points
ID: 10715528
I suggest SpamAssassin (http://www.spamassassin.org)

It's the best out there, and, yes, it's free :-)

There's an extensive doc on installing it on different MTAs (including sendmail) :

http://wiki.apache.org/spamassassin/IntegratedInMta

0
 
LVL 17

Expert Comment

by:owensleftfoot
ID: 10718813
Spamassasin is the most popular as Alf has mentioned. You could also use mailscanner http://www.sng.ecs.soton.ac.uk/mailscanner/ which is a gpl virus scanning system for mail. You can use f-prot (free for personal use) http://www.f-prot.com/download/getfplinfree.html as the virus scanner to use with mailscanner. Mailscanner does its own spam checks but can also be configured to use spamassasin as well.
0
 
LVL 2

Assisted Solution

by:coatesg
coatesg earned 70 total points
ID: 10730526
Agreed with alf666 - personally I'd use the method of piping all incoming mail through spamassassin using a global procmailrc file before the mail is deposited into the users' inboxes.

The lines you would need in /etc/procmailrc are as follows:

:0fw
#Folowing line for only mail messages < 256kb
* < 256000
| /usr/bin/spamc -f

(using the spamd daemon based version of procmail rather than the standalone app - probably recommended for 100 users)

Remember that spamassassin marks the mail as SPAM (adds headers and changes the message if it is over the global spam threshold) - your users may want to control their filtering within their own mail client or .procmailrc by filering for the expression in the headers:

 X-Spam-Level: *****

(with the appropriate number of *'s - less is stricter)

Recent versions can also "learn" on a per user basis using Bayesian filtering, but it requires each user to have shell access (or a cron script to scan the spam and ham folders) and so is a bit more messy.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question