Hi All, recently postfix has started discarding PDF's attached, but not all of them. /var/log/maillog : Oct 7 19:59:44 mail postfix/cleanup[13439]: C2A264F1DDE4: discard: header Content-Type: application/pdf;??name=20181005121804794.pdf;??x-apple-part-url="C0E1D58EF8721E4 [email protected]" from nsstlmta28p.bpe.xxxxxxxx.com[xxx.xx.xx.xx]; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<ns Here is the regexp I have in the mail content filter section : /name=[^>]*\.(bat|exe|scr|com|cmd|wsf|wsc|ws|vsw|vbs|vbe|vb|ps1|ps2|shb|scf|reg|pst|prg|msi|js|jse)/ Can someone please help me understand why the pdf is being blocked ? Thanks, Richard
Well, to state the obvious, because it matches your regex. More specifically, it contains name= and .com in the header.