Settings Global SMTP Relay vs configure-server-smtp.sh

Hi there!
I just did the jump to Hestia.

I’m on Hetzner, and don’t want to deal with emails and ask them to open the port 25. So i’m looking at SMTP.

First question :

is the Settings > Mail > Global SMTP Relay the same as what is doing the script configure-server-smtp.sh ? It doesn’t seems so, as filling out the script doesn’t update the value under the settings.
So what would be the difference ?

If i had to guess, the script is only for Hestia’s email (nofitication and else), while the Settings if for our website(s)? Would the setting also handle Hestia’s emai?

Second question, about the setting itself.
It ask for Server, Port, Username and PWD, but not Security Protocol. So how would i know which port to use?

Thank you :slight_smile:

Sebastien

Settings > Mail > Global SMTP Relay

Sets all out going mail to use Relay

configure-server-smtp will only set internal Hestia mail …
Some users don’t use Exim …

1 Like

Thanks :slight_smile:

Would that means, if SMTP Global Relay is properly configured, any emails from let says a Wordpress website on the server (without any custom SMTP plugin on the wordpress), should go out through the relay. Do i understand that correctly ?

Any answer on the second question, does the relay require a SSL or TLS port ?

And another question about your last time. If SMTP Relay is properly configured, i assume i can then uninstall Exim?

Thanks, appreciate the help!

Sebastien

Would that means, if SMTP Global Relay is properly configured, any emails from let says a Wordpress website on the server (without any custom SMTP plugin on the wordpress), should go out through the relay. Do i understand that correctly ?

Yes

Any answer on the second question, does the relay require a SSL or TLS port ?

Some SMTP relay providers does require SSL / TLS but if the don’t they work fine

And another question about your last time. If SMTP Relay is properly configured, i assume i can then uninstall Exim?

No SMTP relay is using Exim to work …

configure-server-smtp.sh script uses phpmailer instead to send emails … So it only works in Hestia panel self…

1 Like

Thank you @eris !
I got it now and was able to setup Resend for the server emails.