Enable configurarion of header checks

This commit is contained in:
phil 2023-10-16 14:46:47 +02:00
parent 94b6eec5e6
commit 0e62604dd8
2 changed files with 7 additions and 1 deletions

View file

@ -1,10 +0,0 @@
# Managed by Ansible
/^Content-(Disposition|Type).*name\s*=\s*"?([^;]*(\.|=2E)(
ade|adp|asp|bas|bat|chm|cmd|com|cpl|dll|exe|
hlp|ht[at]|
inf|ins|isp|js|jse?|lnk|md[betw]|ms[cipt]|nws|
\{[[:xdigit:]]{8}(?:-[[:xdigit:]]{4}){3}-[[:xdigit:]]{12}\}|
ops|pcd|pif|prf|reg|sc[frt]|sh[bsm]|swf|
vb[esx]?|vxd|ws[cfh]))(\?=)?"?\s*(;|$)/x
REJECT Attachment name "$2" may not end with ".$4"