Topic: [SOLVED] How to disable anti virus and anti spam in iredmail ?
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: Ubuntu 14.04.5 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):Apache
- Manage mail accounts with iRedAdmin-Pro? No
====
I followed the instructions present here
https://docs.iredmail.org/completely.di … assin.html
specifically the steps mentioned under the heading
"Stop virus/spam scanning, keep DKIM signing/verification and Disclaimer"
I need DKIM.
The line
content_filter = smtp-amavis:[127.0.0.1]:10024 is present in Postfix config file /etc/postfix/main.cf
I uncommented the lines
# @bypass_virus_checks_maps = (1); # controls running of anti-virus code
# @bypass_spam_checks_maps = (1); # controls running of anti-spam code
in the file
/etc/amavis/conf.d/50-user
restarted amavis
/etc/init.d/amavis restart
I still do not receive ALL 100% emails which are sent to me. Some emails never reach me at all.
How do I test whether the antivirus and antispam has been removed ?
I also see the following lines in the file /etc/amavis/conf.d/50-user
# Enable virus check.
@bypass_virus_checks_maps = (
\%bypass_virus_checks,
\@bypass_virus_checks_acl,
$bypass_virus_checks_re,
);
# Enable spam check.
@bypass_spam_checks_maps = (
\%bypass_spam_checks,
\@bypass_spam_checks_acl,
$bypass_spam_checks_re,
);
and I have just left them there.
Can you please let me know how to receive emails whether they are SPAM or VIRUS or whatever, I need to receive ALL emails sent to me ?
Is it possible ?
For outgoing emails DKIM is working perfectly now.
Thanks
Shanthi
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.