1 (edited by oblivian 2017-10-27 01:25:10)

Topic: Amavisd-new/Spamassassin

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

Hello,

I just installed iRedAdmin Pro and so far it's looking quite good out-of-the-box.
But one thing I have some trouble understanding is the Amavisd-new/Spamassassin bayes setup.
1. Is spamassassin bayes enabled by default?
2. Is the spamassassin db global or pr user?
3. What user do I run sa-learn under? vmail?
4. Where are the bayes db stored?

Thanks

----

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

2

Re: Amavisd-new/Spamassassin

It's enabled by default and stored in user "amavis" home directory in BDB format. You can update SpamAssassin to use MySQL instead:
https://docs.iredmail.org/store.spamass … n.sql.html

3

Re: Amavisd-new/Spamassassin

OK, when I run sa-learn as amavis, it creates the ".spamassassin" sub-folder in "/var/lib/amavis" containing:
bayes.mutex
bayes_seen
bayes_toks
user_prefs

I have strong feeling this is not the correct approach when using iRedAdmin...

4

Re: Amavisd-new/Spamassassin

oblivian wrote:

I have strong feeling this is not the correct approach when using iRedAdmin...

Excuse me, what do you exactly mean?