Don't ban 'application/octet-stream' file type in Amavisd.

This commit is contained in:
Zhang Huangbin 2015-05-30 15:57:31 +08:00
parent 12e121e14d
commit b56f98779e
4 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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 =&gt; 'DISCARD'],
[qr'M=application/(zip|rar|arc|arj|zoo|gz|bz2)(,|\t).*T=dat(,|\t)'xmi =&gt; 'DISCARD'],
[qr'T=(exe|exe-ms|lha|cab|dll)(,|\t)'xmi =&gt; 'DISCARD'], # banned file(1) types
[qr'T=(pif|scr)(,|\t)'xmi =&gt; 'DISCARD'], # banned extensions - rudimentary

View File

@ -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

View File

@ -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,