1

Topic: Block attachment names

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

Hi,

is it possible to block attachments on the basis of the names?
Like *nvoic*.zip

Thanks,
Marcel

----

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

2

Re: Block attachment names

Yes. You can achieve this with Amavisd, in /etc/amavisd/amavisd.conf, "$banned_namepath_re =" (or $banned_filename_re).