Thanks for all reply.

Best Regards.

Res wrote:
On Wed, 14 Jan 2009, Murat Ugur EMINOGLU wrote:

Dear All,

How i can block all arabic emails?

example email :

header and body content : اضافه مهمه ومثيرة لبرنامج الاوت لوك


on our internal email servers (and on my personal one) I use milter-regex to stop all those pesky cable/dial/dsl users, its great because i can also use this rule in milter-regex.conf :

reject "Access Denied ; Please use the English language when communicating with us" header /Subject/i /=[?](KOI8-[RU]|GB2312|GB2312_CHARSET|ISO-2022-JP|SHIFT[-_]JIS|BIG5|WINDOWS-125[156])[?][QB][?]/ie header /Subject/i /charset=(3D)?"?(KOI8-[RU]|GB2312|GB2312_CHARSET|ISO-2022-JP|SHIFT[-_]JIS|BIG5)/ie
header /Subject/i    /[-]{6}/e
header /Content-Type/i ,text/(plain|html); *charset="?(KOI8-[RU]|GB2312(_CHARSET)?|ISO-2022-JP|SHIFT[-_]JIS|BIG5),ie


I'm sure this needs to be expanded more but its stopped a lot of rot.
*** NEVER use it on a public access system (ISP/ASP/OSP etc) or you will upset a lot of people :)


Reply via email to