Using SMTP in HestiaCP

Hey guys,

I’m wondering if I can use SMTP in HestiaCP for all system emails, including WordPress etc. Currently, I’m using HestiaCP 1.9.4, but unfortunately, my Ubuntu system is quite old (I haven’t update the system for 7-8 months).

Here’s the guide I want to test with:

Do you think that the script will work with my Ubuntu system if it’s quite old?

Thank you in advance!

Use msmtp for system os or other, work great

1 Like

Hi,

What do you mean by quite old? Which Ubuntu version is it?

It should still work, though. Keep in mind that configuring mail with that script will only affect emails sent directly by Hestia. System emails, such as those sent by cron jobs, won’t work with that setup.

For that case, I always recommend adding a mail domain for your hostname and creating a postmaster account with at least root as alias.

1 Like

Can you please give more details about what you mean with this? Thank you!

It’s Ubuntu 22.04.4 LTS (GNU/Linux 6.5.0-1023 aarch64)

Can I ask you what you mean by postmaster account? Do you mean the Google postmaster tools? Thank you in advance!

No, I mean just a postmaster account for your mail domain.

For example, if your server name is server.example.net, you should add it in Hestia as a mail domain. Once added, create the account [email protected] and add the alias root to that account.

Instead of postmaster, you can use any name you want.