Hello,
I have a NestJS application running on a server managed by the Hestia Control Panel. I’m trying to send emails via SMTP through a Node.js-based enquiry form, but the emails are not being delivered.
Created .env in Root of NestJS App
Hello,
I have a NestJS application running on a server managed by the Hestia Control Panel. I’m trying to send emails via SMTP through a Node.js-based enquiry form, but the emails are not being delivered.
Created .env in Root of NestJS App
check your exim mainlog, should contain more informations. Also you probaly have more informations what exactly fails inside your nestjs application. “emails are not being delivered” is way to less information to help.
~# sudo less /var/log/exim4/mainlog
2025-09-30 00:20:00 no host name found for IP address 212.132.96.229
2025-09-30 00:21:19 no host name found for IP address 212.132.96.229
2025-09-30 00:22:02 Start queue run: pid=326279
2025-09-30 00:22:02 1v3GAq-00000001Cs8-0WjK Message is frozen
2025-09-30 00:22:02 1v2XDG-000000000wr-0JeU == ``change.me``@only.local routing defer (-52): retry time not reached
2025-09-30 00:22:02 1v2thF-00000000jIv-22pU Message is frozen
2025-09-30 00:22:02 1v2XD3-000000000pr-3z5J == ``change.me``@only.local routing defer (-52): retry time not reached
2025-09-30 00:22:02 1v3DS7-000000018yE-3vez Message is frozen
2025-09-30 00:22:02 1v3GAm-00000001CrR-2KSy Message is frozen
2025-09-30 00:22:02 1v3Gdm-00000001DYA-3hHP Message is frozen
2025-09-30 00:22:02 1v2thF-00000000jJ0-37ww Message is frozen
2025-09-30 00:22:02 1v2YtG-00000000Fl6-3WQc Message is frozen
2025-09-30 00:22:02 1v2XDS-0000000010K-22K2 == ``change.me``@only.local routing defer (-52): retry time not reached
2025-09-30 00:22:02 1v2uA6-00000000jzW-0XqB Message is frozen
2025-09-30 00:22:02 End queue run: pid=326279
2025-09-30 00:22:39 no host name found for IP address 212.132.96.229
2025-09-30 00:23:11 no host name found for IP address 185.93.89.243
Send a mail, then check the log. That above is just giberish, but if I would have to guess: probaly smtp port 25 outgoing is blocked by your provider.
I have tried port 25. But still it’s same error.
What have you tried with port 25? Have you checked your logs as suggested?
Yes exim main log have shared in this loop. And i have changed the port 587 to 25 as suggested. Could you please let me know how to check log using bash.
No, that was not what I wrote. The communication of your server uses port 25 to send emails to other servers. Most providers are blocking this port by default to prevent spam.
The log is in /var/log/exim4/mainlog, you can use tail or cat to get some output. But please be informed, that you already should know this when you’re using hestia → Please read this, before you start!