Solved

Sendmail Spam application?

Posted on 2004-03-30
3
389 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

747 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now