1

Topic: ANTI-SPAM code not loaded

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.98
- Linux/BSD distribution name and version: Debian 9
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Web server (Apache or Nginx): Nginz
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Spamassassin and ClamAV don't appear to be running on my system. From /var/log/syslog:

Apr 20 06:37:16 web amavis[1066]: ANTI-VIRUS code      NOT loaded
Apr 20 06:37:16 web amavis[1066]: ANTI-SPAM code       NOT loaded
Apr 20 06:37:16 web amavis[1066]: ANTI-SPAM-EXT code   NOT loaded
Apr 20 06:37:16 web amavis[1066]: ANTI-SPAM-C code     NOT loaded
Apr 20 06:37:16 web amavis[1066]: ANTI-SPAM-SA code    NOT loaded
Apr 20 06:37:16 web amavis[1066]: Unpackers code       loaded
Apr 20 06:37:16 web amavis[1066]: DKIM code            loaded

From /etc/amavis/conf.d/50-user

# @bypass_virus_checks_maps = (1);  # controls running of anti-virus code
# @bypass_spam_checks_maps  = (1);  # controls running of anti-spam code
# $bypass_decode_parts = 1;         # controls running of decoders&dearchivers

I set log_level to 5 and sa_level to 1 in /opt/iredapd/settings.py and /var/log/syslog shows:

Apr 19 17:42:00 web amavis[25080]: (25080-01) no anti-spam code loaded, skipping spam_scan
Apr 19 17:42:00 web amavis[25080]: (25080-01) lookup_sql_field(spam_tag_level) rec=0, "postmaster@myhost.com" result: undef

I see no messages from spam assassin or clamAV in the log at all.

What am I doing wrong?

Thank you.

----

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

2

Re: ANTI-SPAM code not loaded

When you send a testing email from Gmail to your iRedMail account, did you see log of Amavisd in Postfix log file? Extract the log lines and paste here for troubleshooting please.