1

Topic: blocking zip file attachment

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

Hello Z,

Good Day!

I am just wondering if this is possible. I have a group email like dev@sample.com and how can I block anyone sending to dev@sample.com with attachment of zip file?

header_checks?

any help would do... thanks..

--camilord

----

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

2

Re: blocking zip file attachment

Hi,

I resolved my problems by implementing on http://www.iredmail.org/forum/topic1065 … cking.html

My other issue now is if Amavisd blocked the content, currently it is sending reply/response to the sender that the content was blocked. How do I make it not respond?

Currently, if someone send to a group mail (let's say 5 users in that group mail) then there are blocked content, it replies/respond to the sender 5 times too and exposing who are the users.

How do I stop the response email?

3

Re: blocking zip file attachment

To disable to sender notification, try to add '$warnbannedsender => 0,' in both $policy_bank{'MYNETS'} and $policy_bank{'ORIGINATING'}.

4

Re: blocking zip file attachment

i still received notification..

--
BANNED CONTENTS ALERT

Our content checker found
banned name: .txt,9329606101_01-08-2016.wsf
--

anyway, i think i will just leave what it is...

thanks anyway...

5

Re: blocking zip file attachment

Was this notification sent to system admin, or sender? This is different.