Sendmail ?

From: Paul Crittenden (crittend@simpson.edu)
Date: Thu Oct 14 2004 - 12:39:35 EDT


Many thanks to:
Elzabeth Harvey-Forsythe, James Sainsbury, Nikola Milutinovic, Lucio
Chiapetti, Sheila Hollenbaugh, Martin Roende Andersen, Zoong Pham,
sematin@xxx.xx.xx.

The consensus was that yes you can run 2 instances of sendmail, although
they must be bound to different ports. Getting them to do what I want is
more difficult.

The best suggestion came from Lucio Chiapetti and here is a flow chart:

    However you might use procmail to do what you want like this :

            incoming mail
                 |
                 V
            sendmail on MX
                 +----------------> Spamassassin or other filter
                                                |
                 +<------- returns mail tagged as spam
                 |
                 V
            procmail as delivery agent : IF mail is tagged AND
            IF addressee is in student list, discard to /dev/null

He also sent me some filters for procmail which I am working on converting
to do what I want to do.
Again thanks to all.

Original Question:
I have searched all the archives I know of so I am assuming this can't be
done but I'm looking for a yeah or nay from the Tru64 managers.

Can I run 2 instances of sendmail? I'm not sure how I would configure it
but what I want to do is run SpamAssassin. For the students I just want to
throw away all spam. For the faculty and staff I want to let them manage it
how they see fit. I know I can configure each students account to do this
but if I could have one instance of sendmail handle their stuff and another
one handle the faculty and staff it would be easier, after it is set up
that is.

I know that there is always a chance for a false positive but students
aren't paying much attention to their email now because of the spam. Also,
we use Web Mail and it doesn't provide for any filtering.

So, any ideas would be appreciated.

Paul Crittenden
Computer System Manager
Simpson College
email: crittend@simpson.edu
Phone: (515)961-1680

"If you find a solution and become attached to it, the solution may become
your next problem." -- Anonymous



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:50:09 EDT