procmail
[Top] [All Lists]

Procmail as a Global Mail Filter

1997-11-10 12:43:17
Hello,

I am trying to set up Procmail to filter Spam coming into our
organization. Procmail is
installed on a machine that exists on the external side of our firewall.
I want all incoming
e-mail to pass through the filters. Any mail mail that passes wil then
be sent to our mailserver for distribution to the users. I have made the
following changes to the sendmail.cf
file :


Mlocal,         P=/usr2/proc/bin/procmail, F=lsDFMAw5:/|@m, S=10/30,
R=20/40,
                   T=DNS/RFC822/X-Unix,
                   A=procmail -d $u

Mprog,          P=/usr/bin/sh, F=lsDFMoeu, S=10/30, R=20/40, D=$z:/,
                    T=X-Unix,
                    A=sh -c $u

Mprocmail,    P=/usr2/proc/bin/procmail, F=mSDFMhun, S=11, R=21,
                    A=procmail -m $h $g $u 


My /etc/procmailrc file contains the following:


#Set on when debugging
VERBOSE=on

MAILDIR=$HOME/Mail

#Directory for storing procmail log and rc files
PMDIR=/usr2/proc/bin/procdir

LOGFILE=$PMDIR/log
INCLUDERC=$PMDIR/rc.testing 


My recepies for filtering are in the file rc.testing. It is my
understanding that /etc/procmailrc
is the global filtering file. That is, all mail is subject to the
filters setup in this file before
any others. 

This is still not working!! If anybody has any suggestions I would
appreciate it.

Thanks,


Jamie Goodman
Data Operations, Electronic Communications
Raytheon E-Systems, Greenville Division
Phone: (903) 457 - 6914

<Prev in Thread] Current Thread [Next in Thread>
  • Procmail as a Global Mail Filter, Goodman, JE James (6914) <=