On 2/11/25 11:33, Phil Stracchino via Postfix-users wrote:
I have mime_header_checks = pcre:/etc/postfix/mime_header_checks, but that file contains only the following:

/name=[^>]*\.(bat|com|exe|dll|vbs|xls|zip)/ REJECT

This regexp isn't anchored at the end.

So it matches (among other things) the substring ".com" appearing anywhere in the filename.

So why on EARTH is my mailserver rejecting *THIS* PDF attachment based upon its Content-Type?

The filename is "Amazon.com - Order? 113-0152552-4403477.pdf" which contains the substring ".com" in the middle.

                                                - Bill

_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to