1

Topic: Allow banned file types to be sent from iredmail hosted domains

Is there any way to bypass amavis and allow certain internal domain to send banned file types like .exe

----

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

2

Re: Allow banned file types to be sent from iredmail hosted domains

kishancrest wrote:

Is there any way to bypass amavis and allow certain internal domain to send banned file types like .exe

Login to iRedAdmin-Pro as global admin, go to domain profile page, click tab "Spam Policy", disable banned file type checks.

3

Re: Allow banned file types to be sent from iredmail hosted domains

Thanks for the response Zhang.

If we do that inbound mails for that domain from outside are also bypassed. I just want to bypass outbound emails.

4

Re: Allow banned file types to be sent from iredmail hosted domains

ok, then try this: In Amavisd config file, find policy bank "ORIGINATING" and enable "bypass_banned_checks_maps" parameter like below:

$policy_bank{'ORIGINATING'} = {
    ...
    bypass_banned_checks_maps => [[qw(domain1.com domain2.com)]],
    ...
};

Restarting Amavisd is required.

5 (edited by kishancrest 2020-10-05 21:05:09)

Re: Allow banned file types to be sent from iredmail hosted domains

Still not working. Uncommented bypass_banned_checks_maps and added domain then restarted Amavisd.

Post's attachments

banned file types.PNG
banned file types.PNG 31.58 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

6

Re: Allow banned file types to be sent from iredmail hosted domains

I'm just going to take a guess here that perhaps you need to remove the trailing comma and try again.


Craig

7

Re: Allow banned file types to be sent from iredmail hosted domains

craig wrote:

I'm just going to take a guess here that perhaps you need to remove the trailing comma and try again.

Never mind. Just noticed the other example lines have trailing commas too. sad