This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://www.postfix.org/header_checks.5.html | |
# https://gist.github.com/midwire/19ff582d3fcdf3b495a2/0b208078b36e26802132954d836407382aeae9a5 | |
/^Content-Type:.*?charset\s*=\s*"?(Big5|gb2312|euc-cn)"?/ REJECT HDR2100: Unaccepted character set: "$1" | |
/^Content-Type:.*?charset\s*=\s*"?(euc-kr|iso-2022-kr)"?/ REJECT HDR2110: Unaccepted character set: "$1" | |
/^Content-Type:.*?charset\s*=\s*"?(iso-2022-\w+|euc-jp|shift_jis)"?/ REJECT HDR2120: Unaccepted character set: "$1" | |
/^Content-Type:.*?charset\s*=\s*"?(koi8-(?:r|u))"?/ REJECT HDR2200: Unaccepted character set: "$1" | |
/^Content-Type:.*?charset\s*=\s*"?(windows-(?:1250|1251))"?/ REJECT HDR2210: Unaccepted character set: "$1" | |
/^Content-(Disposition|Type).*name\s*=\s*"?(.*(\.|=2E)( | |
ade|adp|asp|bas|bat|chm|cmd|com|cpl|crt|dll|exe| |