It was thus said that the Great David Holland once stated:
If you are feeling brave enough you can:
Configure sendmail to handle your mail properly,
Configure Spam Assassin, and MimeDefang to hook into your email, strip
"bad" attachments, and scan attachments with various Linux virus
scanners.
The sendmail configuration is the worst part. I've still not quite got
it working the way I want it to.
Skip sendmail. It's a walking security hole just waiting to happen.
Instead try postfix (
http://www.postfix.org/). The configuration is way
saner, and it comes with "sendmail" compatible programs so nothing else on
the system has to change (there's still a sendmail executable, a mailq
program, etc). And I think there are more options for anti-spam with
postfix (or at least, easier to integrate) than with sendmail.
-spc (I was finally conviced to switch after I think two sendmail
exploits in a row ... )