On 23 Jan 2018, at 00:20, Dominic Raferd <[email protected]> wrote:
> 
> 
> On 22 January 2018 at 22:28, @lbutlr <[email protected]> wrote:
> I have a file mime_headers.pcre in postfix:
> /^\s*Content-(Disposition|Type).*name\s*=\s*"?(.*\.(ade|adp|bas|bat|chm|cmd|com|cpl|crt|dll|exe|hlp|hta|inf|ins|isp|js|jse|lnk|mdb|mde|mdt|mdw|msc|msi|msp|mst|nws|ops|pcd|pif|prf|reg|scf|scr\??|sct|shb|shs|shm|swf|vb[esx]?|vxd|wsc|wsf|wsh))(\?=)?"?\s*(;|$)/x
>  REJECT Attachment name "$2" may not end with ".$3”
> 
> I do this too, but ​I ​use the exact example at 
> http://www.postfix.org/header_checks.5.html - is there a reason why yours is 
> subtly different?

That config files is about 15 years old, so I have no idea why it's  different. 
However, basically no one ever sends those attachment type anymore anyway. 

-- 
Love is strange and you have to learn to take the crunchy with the
smooth I suppose

Reply via email to