Postfix Spam Control

Reject / Discard / Redirect emails based on header checks : vi /etc/postfix/main.cf header_checks = regexp:/etc/postfix/header_checks vi /etc/postfix/header_checks /^From: "Mechanic/ REJECT /^To: someone@example.com/ REDIRECT someone@example2.com…

Block Chinese Spam

## Charsets from asia: /^Content-type:.*charset\s*=[\s\"]*(big5|euc-kr|gb2312|ks_c_5601-1987|ISO-2022-JP)/ REJECT /^Subject:.*\[Big5\].*/ REJECT /^Subject: \=\?iso-8859-1.*/ REJECT