1

Topic: How to allow MP3 attachments permanently

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.6
- Linux/BSD distribution name and version:  CentOS 7-3.1611.el7.centos.x86_64
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  LDAP
- Web server (Apache or Nginx): NGINX
- Manage mail accounts with iRedAdmin-Pro? YES
- Related log if you're reporting an issue:
====

Hello,

What is the simplest way to allow MP3 attachments permanently, so that is won't get disabled when I install an iRedMail update.

It it as simple as removing them from /etc/amavisd/amavisd.conf under "Dangerous file types" and "Dangerous file extensions" ?

I am running an ordinary setup of iRedmail - Everything is up to date.

Thanks !


** amavisd.conf - Dangerous file types and extensions section ***

$banned_namepath_re = new_RE(
    [qr'T=(zip|rar|arc|arj|zoo|gz|bz2)(,|\t)'xmi => 'DISCARD'],     # Compressed file types
    [qr'T=x-(msdownload|msdos-program|msmetafile|wmf)(,|\t)'xmi => 'DISCARD'],
    [qr'T=(hta)(,|\t)'xmi => 'DISCARD'],

    # Dangerous file types
    [qr'T=(9|386|LeChiffre|aaa|abc|aepl|ani|aru|atm|aut|b64|bat|bhx|bin|bkd|blf|bll|bmw|boo|bps|bqf|breaking_bad|buk|bup|bxz|cc|ccc|ce0|ceo|cfxxe|chm|cih|cla$

    # Dangerous file name extensions
    [qr'N=.*\.(9|386|LeChiffre|aaa|abc|aepl|ani|aru|atm|aut|b64|bat|bhx|bin|bkd|blf|bll|bmw|boo|bps|bqf|breaking_bad|buk|bup|bxz|cc|ccc|ce0|ceo|cfxxe|chm|cih$
);

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: How to allow MP3 attachments permanently

ensysit wrote:

It it as simple as removing them from /etc/amavisd/amavisd.conf under "Dangerous file types" and "Dangerous file extensions" ?

yes.