Topic: Multiple domains setup: issues with DKIM keys / amavisd , etc.
==== Required information ====
- iRedMail version 0.9.2
- Distrib: CentOS 7.1
- Backend: MariaDB (MySQL)
- Web server: Nginx
- No iRedAdminPRO
====
Hello.
When my setup has only one domain - everything works OK:
- spam headers appear in every email;
- emails with spam scores higher than X.Y are marked as ***SPAM*** and automatically moved to JUNK folder
- DKIM keys for the only domain operate OK
When I add additional domains (I need to have a total of 4), I seem to have issues with creating DKIM keys and making sure amavisd and/or spamassassin know that secondary domains mail have to be processed too.
My previous installation was 0.8.1 on Ubuntu 12.04, where I had to edit /etc/amavis/conf.d/50-user, adding domain names to:
@local_domains_maps = ['mx.xxx.com', 'secondary1.com', 'secondary2.com']
and adding DKIM support by adding the line like:
dkim_key("secondary1.com", "dkim", "/var/lib/dkim/secondary1.com.pem");
I can't seem to locate a '50-user' file under amavis configuration folder.
CentOS stores amavisd.conf at/etc/amavisd/amavisd.conf, but '50-user' and a bunch of other similar files seem not to be there.
/etc/amavisd directory listing is provided below:
drwxr-xr-x. 2 root root 4096 Nov 14 11:06 .
drwxr-xr-x. 93 root root 12288 Nov 14 12:33 ..
-rw-r-----. 1 root amavis 26325 Nov 15 21:56 amavisd.conf
-rw-r--r--. 1 root root 36776 Nov 14 11:06 amavisd.conf.2015.11.14.10.58.46
What am I doing wrong and what's the path to solve the issue?
Thank you.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.