This tutorial is available in other languages

Italiano /

Completely disable Amavisd + ClamAV + SpamAssassin

In iRedMail, Amavisd provides below features:

Stop virus/spam scanning, keep DKIM signing/verification and Disclaimer

If you want to disable virus and spam scanning, but keep DKIM signing and disclaimer, please try this:

# @bypass_virus_checks_maps = (1);  # controls running of anti-virus code
# @bypass_spam_checks_maps  = (1);  # controls running of anti-spam code

Uncomment above lines (removing "# " at the beginning of each line), and restart Amavisd service.

Completely disable all features

If you want to completely disable spam and virus scanning services, steps:

content_filter = smtp-amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings  # <- it's ok if you don't have this line
  -o content_filter=smtp-amavis:[127.0.0.1]:10026

Notes:

All documents are available in BitBucket repository, and published under Creative Commons license. You can download the latest version for offline reading. If you found something wrong, please do contact us to fix it.