Topic: Issues with DKIM and being flagged for Spam
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.4.0 MARIADB edition
- Deployed with iRedMail Easy or the downloadable installer? Downloadable installer
- Linux/BSD distribution name and version: Ubuntu 20.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi there,
I have been having an issue for some time now relating to my iRedAdmin server and DKIM keys. I run multiple domains from this mail server and have been doing various Spam tests online to see why my mail is being flagged for spam by some providers (Gmail/Outlook). All of these tests point to DKIM signatures being the problem.
Scenario, I am running the following example domain names:
mydomain0.com
mydomain1.com
mydomain2.com
------
I have DKIM keys generated for each domain in the config file, generated by amavisd-new, following this guide: https://docs.iredmail.org/sign.dkim.sig … omain.html
When running these spam tests from mydomain0.com, it comes up with incorrect DKIM signature for mydomain1.com, I have each of the DKIM keys generated configured within my DNS records as dkim._domainkey.mydomain0.com etc
For some reason it is detecting DKIM signatures for other email domains I am running.
Really not sure what to do here whilst running multiple domains and DKIM signatures, I've been trying different things for quite a while but I'm clearly doing something wrong resulting in my emails being flagged for spam
Any help would be absolutely amazing - thank you!
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.