Don't ban 'application/octet-stream' file type in Amavisd.
This commit is contained in:
parent
12e121e14d
commit
b56f98779e
2
TODO.md
2
TODO.md
|
@ -1,5 +1,7 @@
|
|||
# TODO
|
||||
|
||||
* http://www.iredmail.org/wiki/index.php?title=Addition/OpenLDAP/Catch-all
|
||||
|
||||
* How to install and configure SOGo groupware
|
||||
* How to install and configure Nginx
|
||||
* How to custom SpamAssassin scores
|
||||
|
|
|
@ -192,7 +192,7 @@ before the last line (<code>1; # insure a defined return</code>) in the same fi
|
|||
|
||||
$banned_namepath_re = new_RE(
|
||||
# Unknown binary files.
|
||||
[qr'M=application/(zip|rar|arc|arj|zoo|gz|bz2|octet-stream)(,|\t).*T=dat(,|\t)'xmi => 'DISCARD'],
|
||||
[qr'M=application/(zip|rar|arc|arj|zoo|gz|bz2)(,|\t).*T=dat(,|\t)'xmi => 'DISCARD'],
|
||||
|
||||
[qr'T=(exe|exe-ms|lha|cab|dll)(,|\t)'xmi => 'DISCARD'], # banned file(1) types
|
||||
[qr'T=(pif|scr)(,|\t)'xmi => 'DISCARD'], # banned extensions - rudimentary
|
||||
|
|
|
@ -158,7 +158,7 @@ before the last line (`1; # insure a defined return`) in the same file:
|
|||
|
||||
$banned_namepath_re = new_RE(
|
||||
# Unknown binary files.
|
||||
[qr'M=application/(zip|rar|arc|arj|zoo|gz|bz2|octet-stream)(,|\t).*T=dat(,|\t)'xmi => 'DISCARD'],
|
||||
[qr'M=application/(zip|rar|arc|arj|zoo|gz|bz2)(,|\t).*T=dat(,|\t)'xmi => 'DISCARD'],
|
||||
|
||||
[qr'T=(exe|exe-ms|lha|cab|dll)(,|\t)'xmi => 'DISCARD'], # banned file(1) types
|
||||
[qr'T=(pif|scr)(,|\t)'xmi => 'DISCARD'], # banned extensions - rudimentary
|
||||
|
|
|
@ -11,6 +11,8 @@ TODO
|
|||
|
||||
> We provide remote upgrade service, check [the price](../support.html) and [contact us](../contact.html).
|
||||
|
||||
* TODO: fix uwsgi issue on RHEL/CentOS.
|
||||
|
||||
* 2015-05-23: [All backends] Fix the Logjam attack.
|
||||
* 2015-05-22: [All backends][RHEL/CentOS 7] Update Cluebringer package to avoid database connection failure
|
||||
* 2015-05-16: [All backends][RHEL/CentOS] Don't ban 'application/octet-stream,
|
||||
|
|
Loading…
Reference in New Issue