Re: [SAtalk] spamassassin new rule..newbie alert

2002-11-15 Thread Theo Van Dinter
On Fri, Nov 15, 2002 at 12:24:42PM -0500, Raghu Arni wrote: > I would like to add a new rule which is checking to see if the "To:" field > in the recvd email is ALL CAPS and then trash that mail.. > Otherwise my spamassassin works great (via procmail).. > How do I go about doing this..?? I would t

Re: [SAtalk] spamassassin new rule..newbie alert

2002-11-15 Thread Matt Sergeant
Raghu Arni said the following on 15/11/02 17:24: Hi, I would like to add a new rule which is checking to see if the "To:" field in the recvd email is ALL CAPS and then trash that mail.. header MY_ALL_CAPS_TO To =~ /^[A-Z\s]+$/ score MY_ALL_CAPS_TO 100 See perldoc Mail::SpamAssassin::Conf Plus,

RE: [SAtalk] spamassassin new rule..newbie alert

2002-11-15 Thread Steve Thomas
man Mail::SpamAssassin::Conf There's lots of good info there... Probably, you'll want something in your local.cf like: header TO_ALL_CAPS To =~ /^[A-Z@\.\_\+\-]+$/ describe TO_ALL_CAPS"To" field in all caps score TO_ALL_CAPS 1.000 Set the score to however many points you want to

Re: [SAtalk] spamassassin new rule..newbie alert

2002-11-15 Thread Evan Platt
At 09:24 AM 11/15/2002, you wrote: Hi, I would like to add a new rule which is checking to see if the "To:" field in the recvd email is ALL CAPS and then trash that mail.. Otherwise my spamassassin works great (via procmail).. How do I go about doing this..?? (I can't help on setting up the ru

Re: [SAtalk] spamassassin new rule..newbie alert

2002-11-15 Thread Raghu Arni
Thx for all that responded..Well I was not gonna trash the mail just assign it a high score.. one more Qn: How do I run spamassassin in test mode..I have an email which I know is spam as a simple text file and want to test it out with my new rules..I did RTFM but ;( I just did spamassassin -t te

RE: [SAtalk] spamassassin new rule..newbie alert

2002-11-15 Thread Steve Thomas
| How do I run spamassassin in test mode..I have an email which I | | I just did spamassassin -t testmail.txt You need to pipe/redirect the text file into SA. So it'd be: spamassassin -t < testmail.txt or cat testmail.txt | spamassassin -t ---

Re: [SAtalk] spamassassin new rule..newbie alert

2002-11-15 Thread Dave Slusher
> From: Matt Sergeant <[EMAIL PROTECTED]> > Subject: Re: [SAtalk] spamassassin new rule..newbie alert > To: Raghu Arni <[EMAIL PROTECTED]> > CC: [EMAIL PROTECTED] > > Raghu Arni said the following on 15/11/02 17:24: > > Hi, > > I would like to add a ne

Re: [SAtalk] spamassassin new rule..newbie alert

2002-11-16 Thread Martin Radford
At Fri Nov 15 17:53:22 2002, Steve Thomas wrote: > > I wouldn't recommend doing this, though. E-mail addresses are not case > sensitive, That's not correct. The local-part (the bit to the left of the '@' symbol) *is* case-sensitive. It's only the domain (the bit after the '@') that's not case-s

Re: [SAtalk] spamassassin new rule..newbie alert

2002-11-16 Thread Adrian Ho
On Sat, Nov 16, 2002 at 11:31:37AM +, Martin Radford wrote: > At Fri Nov 15 17:53:22 2002, Steve Thomas wrote: > > > > I wouldn't recommend doing this, though. E-mail addresses are not case > > sensitive, > > That's not correct. Neither, strictly speaking, is your assertion. The correct ans