are you saying that uri will work if the message is an attachment? because i tried this:
uri spam_domains_22 /baddomain\.com/i score spam_domains_22 20 and that did not work......................... McDonald, Dan wrote: > > On Thu, 2008-10-16 at 08:02 -0700, linuxbox wrote: >> Hello there. I have a problem with blocking an email with spamassassin. >> normally when i want to block a domain in an email, be it html or plain >> text >> i would have a rule such as this, and this works perfectly: >> >> rawbody spam_domains /blockeddomain\.com/i >> score spam_domains 20 > > Why not use a uri rule instead of rawbody? That way, it doesn't matter > how they encode it... > > uri spam_domains /blockeddoamin\.com/i > score spam_domains 20 > > > -- > Daniel J McDonald, CCIE #2495, CISSP #78281, CNX > Austin Energy > http://www.austinenergy.com > > > > -- View this message in context: http://www.nabble.com/How-do-i-block-email-with-a-domain-in-a-message-like-this--tp20015221p20016582.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.