Topic: I had iremail working, then well oooops
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
1.6.3
- Deployed with iRedMail Easy or the downloadable installer?
INSTALLER
- Linux/BSD distribution name and version:
Ubuntu 20.0.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
"unknown"
- Web server (Apache or Nginx):
Nginx
- Manage mail accounts with iRedAdmin-Pro?
Just says Iredmail Admin on the Web UI Backend
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Attached screenshot showing issue
Description
The iRedMail was installed and working successfully, but we noticed when we set up the SPF-DMARC-DKIM setup that is required for any non spam mail domain, that the DKIM was not changing. We did some digging and found out that the DKIM is signed in the message sent by iRedMail (in older setups we used the DKIM was housed on the DNS server) which is great because I would think it would make it more secure then a generic DKIM on the DNS server (which is not hosted at the same location as the iRedMail server btw)
I edited a file in the /etc/amavis/conf.d file called user-50.conf, i changed the following
1. I edited the area where the keys (pem files) are referenced by adding a secondary pem file, which i created in nano, then saved properly (i think)
2. I then edited the area @dkim_signature_options_bysender_maps to add the additional domain, i thought my syntax was ok, but when i tried to save the file and reload systemctl restart amavis-new, the service failed to start and said it was due to an error in the conf,
I went back and read it over and made sure everything was good, then the error came back as some line somewhere (line 540) that I never touched
I can load roundcube and iredmailadmin no issues, but emails say they send and do not arrive, i am certain something got mixed up, i could use some help
thanks so much
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.