[Mimedefang] Help With Filter (Mark Penkower)

Kevin A. McGrail kmcgrail at pccc.com
Mon Dec 1 15:54:32 EST 2003


Ken,

Once again, you have made my day with another amazing trick.

KAM

> >> Just add the following to the LOCAL_RULESETS section of your
sendmail.mc,
> >> substituting a tab in the lines that have "[TAB]" in them.
> >> [...]
> >> F{FullSubjects} -o /etc/mail/subjects_full
> >> F{PartSubjects} -o /etc/mail/subjects_part
> >> HSubject:[TAB]$>CheckSubject
> >> [...]
>
> > Cool.  I was just noting a rise in emails about a certain French city
and
> > a certain hotel chain, and contemplating something like this.  I turned
it
>
> > into a feature/reject_subjects.m4 file and it's working great.  Thanks
for
>
> > sharing.
>
> In my environment, this is consistently the single most effective rule on
my
> gateway machines.  You'll be surprised how many spams it rejects.  To get
> you started, I've attached my subjects_full and subjects_part files.
>
> KEN CORMACK, RHCE
> Sr. UNIX Systems Analyst,
>     Open Systems Group
> Sr. Software Analyst,
>     TSG Midrange Systems Group
> AFFILIATED COMPUTER SERVICES, INC.
>
> "If that that is 'is' is that that is not 'not is', is that that is 'not
is'
> that that is not 'is'?  It is!" - Ken Cormack
>
> "Sendmail administration is not black magic.  There are legitimate
technical
> reasons why it requires the sacrificing of a live chicken." - Unknown



More information about the MIMEDefang mailing list