Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Sendmail Spam application?

Posted on 2004-03-30
3
Medium Priority
?
429 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 720 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 280 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.
Suggested Courses
Course of the Month12 days, 18 hours left to enroll

972 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