Unfortunately sendmail won't call procmail except to deliver to local users. On the other hand, postfix, a fast, secure, drop-in sendmail replacement, makes it easy to run a given filter (for instance you might have a script which pipes the message into spamc) on a message, or not, based on header regexes.I'm setting up a new firewall system based on Red Hat 9 and wanted to know how one would configure Sendmail to pass all emails through Spam Assassin before relaying them. It's been mentioned to me that it might be possible to do this through Milter.
--
Michael St. Laurent
Hartwell Corporation
Read the spamassassin doc's. You modify procmail which is used after sendmail to forward the messages to your users.
Joe