Receiving mail, but sent mail isn't arriving

Hi,

I’ve just set up HestiaCP and it’s been working good for everything but the webmail - the mail I send out doesn’t arrive nor does it bounce back (although Roundcube says its sent successfully), there are no errors thrown, it is not in junk on the recipients end. It looks as it goes into a void. The mail I send from outside into my HestiaCP hosted e-mail address arrives instantly.

Any ideas?

Thanks in advance :smile:

Hi @pboz,

You must check Exim logs to know what’s going on. The log is here /var/log/exim4/mainlog

You can search the log with exigrep tool, for example, if you are sending a mail to [email protected], use this command:

exigrep '=> [email protected]' /var/log/exim4/mainlog*
1 Like

Hi, thanks for the fast reply.

Looking at the logs, it seems to be timing out:

2024-07-10 08:58:28 1sRT5S-0003aq-Vl H=mx01.mail.icloud.com [17.57.152.5]: SMTP timeout after initial connection: Connection timed out

Same error when trying to send to a Gmail address.

Any ideas what might be causing this?

Yes, your hosting provider is blocking outgoing connections to port 25. You should talk to them to remove the block.

1 Like

Thanks, that seems to be the issue… Hetzner Cloud blocks ports 25 and 465 by default for new users for a set period.

1 Like

For the duration of the block, you can use a free smtp relay service (with daily/monthly email limits) such as brevo or smtp2go.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.