I would like to set up SMTP on my server to receive server internal messages but confused on how to go about doing it.
Setting up SMTP relay
There is a “Global SMTP relay” in Admin settings which I have already configured. Then, I read the documentation (Email and mail server — Hestia Control Panel documentation) that I need to go to /usr/local/hestia/install/upgrade/manual/ to run the configure-server-smtp.sh script.
So, which one should I configure? Will there be conflicts if I configure both?
Receiving server emails
To receive the server emails, I assume that I need to set up the mail server as there is no option to send it elsewhere. As I have 2 accounts in the server, Admin and User, I do not know which account to use for the mail server. My confusion is that I’m not sure whether server emails for the Admin account will be delivered to the mail server in the User account or they can be delivered any mail server set up within the server?
Then, under the “Add Mail Domain”, there is another option for SMTP Relay. Do I need to configure this as well or is the “Global SMTP Relay” sufficient?
How do I send test server emails to see if the configuration is working?