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
If you need to block a domain from sending e-mail, then use the mail
server to handle it. It is better to block messages from even getting to
your filtering applications.
Randy Ramsdell
Foreclosure.com