A little help with a local.cf rule... please!

2009-12-30 Thread JPP100
in context: http://old.nabble.com/A-little-help-with-a-local.cf-rule...-please%21-tp26970283p26970283.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Re: A little help with a local.cf rule... please!

2009-12-30 Thread Bowie Bailey
JPP100 wrote: 1. English URL 2. Double words separated with a '-' 3. Rarely a 'www' at the front - usually 4 or more random letters 4. Always (for now) 4 numbers at the end Example: http://llhti.tour-traveled.com/4651/ So my rule: # hotmail drug spam uri MY_HOTMAIL_SPAM

Re: A little help with a local.cf rule... please!

2009-12-30 Thread Michael Alan Dorman
So my rule: # hotmail drug spam uri MY_HOTMAIL_SPAM m{https?://{1,30}\.{1,30}\.(com|ru|cn)/[0-9][0-9][0-9][0-9]/i} describe MY_HOTMAIL_SPAM Druggy hotmail.com links score MY_HOTMAIL_SPAM 5.0 And running emails through it using -D, it does not hit it as far as I

Re: A little help with a local.cf rule... please!

2009-12-30 Thread JPP100
this message in context: http://old.nabble.com/A-little-help-with-a-local.cf-rule...-please%21-tp26970283p26970489.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Re: A little help with a local.cf rule... please!

2009-12-30 Thread John Hardin
On Wed, 30 Dec 2009, Bowie Bailey wrote: m{https?://[a-z]{1,30}\.[a-z]{1,30}-[a-z]{1,30}\.(com|ru|cn)/\d{4}/}i You might want to reconsider using {} as RE delimiters if the RE itself contains {} elements. If it works, fine, but it's very visually confusing. -- John Hardin KA7OHZ