Server generated email to smtp relay?

It doesn’t seem like there is anything built into hestia to do this. True?

As far as I understand, I need to modify sendmail config itself to do this. True?

I can’t get it to work following this guide: How To Install Sendmail on Ubuntu 22.04 LTS - idroot

Any guidance would be appreciated.

Thanks!

HestiaCP uses Exim, not Sendmail. Unless explicitly disabled, it is installed by default

You can find instructions on enabling SMTP relay in the documentation.

Thanks for your reply @linkp

To be more clear, hestia smtp relay is working fine. I’m talking about server generated emails. Not emails generated by hestia.

For example, I have logwatch installed which sends an email from [email protected] and uses sendmail to do so. There are a couple other things on my server that generates email at the server level. Those are the emails I want to relay through smtp. With that as context, my questions:

It doesn’t seem like there is anything built into hestia to do this. True?

As far as I understand, I need to modify sendmail config itself to do this. True?

I can’t get it to work following this guide: How To Install Sendmail on Ubuntu 22.04 LTS - idroot

Thanks!

Create:
[email protected] as email address on your server and it should work fine…

Thank you @eris Can you say more?

As a [email protected] as account in hestia? Or where on the server…?

BTW: My goal is that server generated emails are fully validated so it doesn’t reduce my ip/hostname reputation or get marked as spam. Sendmail works fine. It just doesn’t have correct headers/dkim/spf/etc attached so marked as spam by receiving client.

FYI: Currently using mailjet for smtp relay for hestia panel only and sending email directly from exim for mail domains.

Create [email protected] as email address

And check if it works

Hi @eris.

Where?

Thank you!

In Hestia…