Quantcast
Channel: iRedMail — iRedMail Support
Viewing all articles
Browse latest Browse all 12092

Avamis doesn't trigger Spamassassin

$
0
0

==== Required information ====
- iRedMail version: 0.8.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Ubuntu 12.10
- Related log if you're reporting an issue: http://pastebin.com/D2qXrkmr
====

Hey there

I have a mail server running at the moment, set up with iRedMail. It's been working perfectly well for a few months, but my users do get an awful lot of spam. Apparently SpamAssassin wasn't configured or running. This is what I did so far to try and make it work:

  1. Edited /etc/default/spamassassin: changed ENABLED to 1. (Otherwise SpamAssassin wouldn't start)

  2. Edited /etc/amavis/conf.d/05-domain_id. Added the local domains so it would trigger tags, as such:
    @local_domains_acl = ( [".$mydomain", ".maildomain.com", ".maildomain2.com", ".maildomain3.com" ] );

  3. Edited /etc/amavis/conf.d/20-debian_defaults so it would add spam tags to every mail for testing purposes:
    $sa_tag_level_deflt = -1000;

  4. Restarted both Amavis and SpamAssassin, to no avail.

Here is the mail.log that shows up when I restart Amavis. It does seem to load the SpamAssassin module.
http://pastebin.com/D2qXrkmr

This is the only Amavis log entry that I get when I received a mail:

Apr  7 17:27:40 mail amavis[15836]: (15836-01) Passed CLEAN {RelayedOutbound}, LOCAL [***.***.***.***]:56878 [***.***.***.***] <testsender@mail.com> -> <testreceived@mail.com>, Queue-ID: 95BD92CD, Message-ID: <CAL3sA7gWvZbZC_baQjaYSCdDY6vNn$

Viewing all articles
Browse latest Browse all 12092

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>