Postfix: Issue with emails being rejected

1 post / 0 new
#1 Wed, 12/11/2019 - 08:53
indyjoey

Postfix: Issue with emails being rejected

Hello,

Have an odd issue where I am seeing legit emails being rejected with the following in logs...

mail postfix/cleanup reject: header Content-Type: image/jpeg; name="image001.jpg"

Looking at mime_header_checks, all appears OK? Here is what is in mime_header_checks

/name=[^>]*.(ade|adp|app|application|asp|bas|bat|cer|chm|cmd|cnt|com|cpl|crt|csh|der|dll|docm|dotm|exe|fxp|gadget|grp|hlp|hpj|hta|inf|ins|isp|its|jar|js|jse|ksh|lnk|mad|maf|mag|mam|maq|mar|mas|mat|mau|mav|maw|mcf|mda|mdb|mde|mdt|mdw|mdz|msc|msh|msh1|msh1xml|msh2|msh2xml|mshxml|msi|msp|mst|ops|osd|pcd|pif|pl|plg|potm|ppam|ppsm|pptm|prf|prg|ps1|ps1xml|ps2|ps2xml|psc1|psc2|pst|reg|scf|scr|sct|shb|shs|sldm|tht|tmp|url|vb|vbe|vbp|vbs|vsmacros|vsw|ws|wsc|wsf|wsh|xbap|xlam|xlsm|xltm|xnk)/ REJECT

Thoughts?