Chinese Spam

Blog Topics:

For a while now I've been getting a Chinese piece of spam every day, supposedly sent by people like 魏碈, which is encoded as

From: =?utf-8?B?6a2P56KI?=

These pages have helped make sense of this:
BASE64 Decode and Encode
Wikipedia: Base64
UTF-8 encoding table and Unicode characters
RFC 2044 (UTF-8)

The result is: I don't want to receive mail from anyone with a name with a UTF-8 encoding that starts with E0 through FF, which translates into a name that starts with =?utf-8?B?X, where X is a digit >=4 or '+' or '/'.

qpsmtpd's badheader will filter this with

^From: =\?utf-8\?B\?[4-9+/]

Bye bye...