9 lines
670 B
Django/Jinja
9 lines
670 B
Django/Jinja
{{ ansible_header | comment }}
|
|
# Filtrage des fichiers envoyes en piece jointe.
|
|
|
|
# La version hard (s'il n'y a pas d'antivirus, ou pour le dernier virus a la mode)
|
|
/^[ ]*(Content-Type:.*)?(Content-Disposition:.*)?(filename|name)=\"?(.*)\.(exe|com|pif|bat|scr|vbs|chm|cpl)\"?[ ]*$/ REJECT Content blocked : possible Virus are rejected. Please change filename extension of attachement "$4.$5" and resend mail.
|
|
|
|
# La version soft :
|
|
#/^[ ]*(Content-Type:.*)?(Content-Disposition:.*)?(filename|name)=\"?(.*)\.(com|pif|bat|scr|vbs|chm)\"?[ ]*$/ REJECT Content blocked : possible Virus are rejected. Please change filename extension of attachement "$4.$5" and resend mail.
|