OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Postfix CA-2003-12 Preliminary REJECT pattern

From: Rahul Dhesi (dhesirahul.net)
Date: Tue Apr 01 2003 - 14:05:22 CST


On Mon, Mar 31, 2003 at 02:50:29PM -0500, Wietse Venema wrote:

> > It ends up being more
> > efficient to simply look for a foreign 'Character-set:' header via
> > procmail and just refile into a spam folder -- that catches almost all
> > non-English spam, and we don't expend machine resources trying to bounce
> > spam.
>
> That might work as long as you receive no regular mail from
> non-English writers. In other words, this approach assumes that
> the recipient lives in a small world.

My world is admittedly small. :-) I trap only spam by matching these
headers:

  ^Content-Type: .*charset=.*ks_c_5601-1987
  ^Content-Type: .* charset=.*euc-kr

Rahul