I installed the server, everything worked out of the box except emails.
I checked postfix config file vi /etc/postfix/main.cf
It still had localhost.localdomain hostname, rather than the one given during installation. Changed it to correct one. restarted postfix, postfix status is active and running.
Tried turning off and on postfix from Manage service → Manage postfix, but still no luck.
Email log also does not populate with error tail: cannot open ‘/var/log/maillog’ for reading: No such file or directory
Log started working. I see domain dkim missing error in log, I tried generating DKIM key from Mail → DKIM Manager, I had “Keys not available for this domain. Generate Now” before.
Getting following error when trying to generate it:
substring not found