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 assign. The regular
expression (in the header line) is untested and could probably be improved
upon greatly.

I wouldn't recommend doing this, though. E-mail addresses are not case
sensitive, so you run a big risk of throwing out a lot of babies with the
bathwater.




| -----Original Message-----
| From: [EMAIL PROTECTED]
| [mailto:[EMAIL PROTECTED]]On Behalf Of Raghu
| Arni
| Sent: Friday, November 15, 2002 9:25 AM
| To: [EMAIL PROTECTED]
| Subject: [SAtalk] spamassassin new rule..newbie alert
|
|
| 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..??
|
| TIA,
| Arni
|
|
|
| -------------------------------------------------------
| This sf.net email is sponsored by: To learn the basics of securing
| your web site with SSL, click here to get a FREE TRIAL of a Thawte
| Server Certificate: http://www.gothawte.com/rd524.html
| _______________________________________________
| Spamassassin-talk mailing list
| [EMAIL PROTECTED]
| https://lists.sourceforge.net/lists/listinfo/spamassassin-talk
|



-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to