1

Topic: Blocked attachments with the CDR (CorelDraw)

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.4
- Linux/BSD distribution name and version: Debian 8.2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):MySQL
- Web server (Apache or Nginx):Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====
Hi.
I do not understand why attachments are blocked with the CDR, although the lock is not configured.
*************************************************
No viruses were found.
Banned name: .dat,content/data/data1.dat Content type: Banned Internal reference code for the message is 01843-05/V-otWqlf05lU

Return-Path: <user@domain1>
From: =?koi8-r?B?9MnQz8fSwcbJ0SDmz9LJztTFyw==?= <user@domain1>
Message-ID:
  <!&!AAAAAAAAAAAYAAAAAAAAAIx0cWzV5vNFrt3Vx9lmPEPCgAAAEAAAAMdCvEdWYA9MsetfwFRIbzQBAAAAAA==@domain1>
Subject: =?koi8-r?B?2sHR18vB?=
Not quarantined.

The message WAS NOT relayed to:
<user@domain2>:
   554 5.7.0 Bounce, id=01843-05 - BANNED: .dat,content/data/data1.dat
*************************************************************************

----

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

2

Re: Blocked attachments with the CDR (CorelDraw)

Please check Amavisd config file, make sure it's not blocked in setting "$banned_filename_re" and "$banned_namepath_re".

3

Re: Blocked attachments with the CDR (CorelDraw)

$banned_filename_re = new_RE(
qr'.\.(rar|zip)$'i,
qr'^\.(rar|zip)$'i,
);

"$banned_namepath_re" - there is no such parameter in the 50-user

4

Re: Blocked attachments with the CDR (CorelDraw)

ZIP somehow relates to CDR. Removed ZIP, no longer blocked.