I found that in the FAQ:
7.1. Rejecting mail with non-ASCII headers (i.e, Asian spam)
You'll find that quite a bit of spam originating from Asian countries like Korea and Taiwan is sent with raw 8-bit data in the headers.
This is a clear violation of RFC 2821, section 2.3.1. 8-bit data in headers must be properly ASCII encoded according to RFC 2047. Thus, it's a good way to weed out some obvious spam, as properly encoded mail containing Asian character sets should not be affected by this.
You can reject mail with non-ASCII data in the headers using the following FILTER_INCOMING entry:
# Reject mail with non-ASCII text (byte values > 127) in the Subject:
# or From: headers.
headers '^(subject|from)\s*:.*[^\x00-\x7f]{5,}' bounce
I've found it catches most of my .kr, .tw, and .ru spam, with 0 false positives.
This regex can also be used at the MTA level; in fact I got it from a Postfix user who using it this way.
Instead of just bounce without notice, is there a possibility to explain it to the sender? (with a link to the rfc web page)
bye
Ronald
-- Ronald Wiplinger (CEO of ELMIT) http://www.elmit.com +886 (0) 915 653-452 - I'm a SpamCon Foundation Member, #694, Verify it at http://www.spamcon.org
PS: Spam prevention!
Our system is protected with a spam prevention program. If you send us an e-mail, our system will send you a confirmation message back. Just reply to this confirmation message please. After receiving this confirmation message, our system will send the hold message (one) and all future messages (after the received confirmation message) to me without asking you again.
_____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
