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
Any help is appreciated.