1

Topic: Enable SpamAssassin

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5
- Linux/BSD distribution name and version: CentOS 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- Related log if you're reporting an issue:
====

Hi,

It seems our install did not include SpamAssassin.
Could you please let us know how to turn it on and enable it in amavis?
We require this for outbound spam filtering.

----

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

2

Re: Enable SpamAssassin

It's enabled with iRedMail default settings. Check /etc/amavisd/amavisd.conf, make sure you have these 2 settings commented out (globally):

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

3

Re: Enable SpamAssassin

Sorry for the late reply.

We have that commented out already.

4

Re: Enable SpamAssassin

Then it's enabled. If you want to know more details, enable debug mode in Amavisd to check the detailed log:
http://www.iredmail.org/docs/debug.amavisd.html

5

Re: Enable SpamAssassin

But our spamassassin isn't processing anything, it sits at 0% CPU usage.
I also had to enable the spamassassin service to start up at boot too.

6

Re: Enable SpamAssassin

Again, we don't run spamassassin service. SpamAssassin is called by Amavisd directly, so don't monitor it by CPU usage of process. Instead, turn on debug mode in Amavisd and check its log file.