[Mimedefang] filters for subject content
Ron Peterson
rpeterso at mtholyoke.edu
Mon Feb 9 14:26:28 EST 2004
On Mon, 9 Feb 2004 james.madill at duke.edu wrote:
> Date: Mon, 9 Feb 2004 14:07:02 -0500 (EST)
> From: james.madill at duke.edu
> Reply-To: mimedefang at lists.roaringpenguin.com
> To: mimedefang at lists.roaringpenguin.com
> Subject: Re: [Mimedefang] filters for subject content
>
> > Hi,
> > I would like to set some filters to look at the subject line of
> > an email. I have found some codes on a spam assassin webpage and
> > would like to know where I would paste them in to the mimedefang
> > filter (that's if they are in the correct format to work).
> >
> > Code:
> >
> > ###################################################################################
> > Subject #####
> > header Y_SUBJ_RE_RANDOM_TEXT Subject =~ /Re: [A-Z]{2,},(?: [a-z]+!?)+/
> > describe Y_SUBJ_RE_RANDOM_TEXT Fishy subject Re: CAPS, lowercase nonsense
Add them to your spamassassin installation's local.cf file. You probably
also want to assign each rule a score, like
score Y_SUBJ_RE_RANDOM_TEXT 1.2
_________________________
Ron Peterson
Network & Systems Manager
Mt. Holyoke College
rpeterson at mtholyoke.edu
More information about the MIMEDefang
mailing list