On Mon, 9 Feb 2004 [EMAIL PROTECTED] wrote:

> Date: Mon, 9 Feb 2004 14:07:02 -0500 (EST)
> From: [EMAIL PROTECTED]
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> 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
[EMAIL PROTECTED]

_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to