Quantcast
Channel: iRedMail
Viewing all articles
Browse latest Browse all 14161

Disable spam virus scanning for outgoing mails

$
0
0

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version:  iRedMail-0.9.0
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MySQL
- Web server (Apache or Nginx):
- Linux/BSD distribution name and version: Ubuntu 14.04
- Related log if you're reporting an issue:
====
Hi,

I have problems trying to disable spam virus scanning for outgoing mails. It happens that by enabling the option for MYUSERS basically shutdown all spam/virus checking in my server:

I've edited /etc/amavis/conf.d/50-user and added the bypass options under $policy_bank

...
$policy_bank{'MYUSERS'} = {
    [... DEFAULT CONFIGURATION HERE...]

    # don't perform spam/virus/header check.
    bypass_spam_checks_maps => [1],
    bypass_virus_checks_maps => [1],
    bypass_header_checks_maps => [1],

}
...

To my surprise, I started noticing a lot of emails coming through which even grandma would recognize as spam and having the "Always insert X-Spam-* headers" enabled in iRedAdmin-Pro and not seeing anything related to SPAM checks in emails headers told me that something had gone really wrong.

Can anyone give me a hint as of to where start looking to make sure that disabling spam virus scanning for outgoing mails does not completely disables external domains email checks?


Viewing all articles
Browse latest Browse all 14161

Trending Articles