Hello, I have installed ISPConfig v3.2.5 on an Ubuntu 20.04.2 with the host defined as ispc.example.com Monit reports that my system does not have a mail server. I check my postfix configuration, main.cf shows: myorigin = /etc/mailname mydestination = ispc.example.com, localhost, localhost.localdomain relayhost = /etc/mailname contains one line: mail.example.com Also, I have defined MX Record on my ISP's DNS as: mail.example.com Now, my question is: How do I correct my setting to produce a email server recognised by Monit?
Is Monit reporting host does not have mail server or mail server is not running? What shows Code: # systemctl --state=failed Have you checked how you installed Monit and Monit configuration?
Hello Taleman, Postfix is running. It is Monit's report: Mail: No mail servers are defined -- please see the 'set mailserver' statement in the manual
Btw, that is not a service check monit is performing, ie. it is not saying your mail server is down, that is a setting for where monit should connect to send notifications.