Cant send emails

I was trying to send some emails as usual, but some how i started getting message like “SMTP error 451: temporary local problem” please someone help me.

Are you sending your e-mails from your HestiaCP server or are you using a SMTP relay service? What does the /var/log/exim4/mainlog say?

2 Likes

I am not using any SMTP relay service and using only hestiaCP server, gimme few minutes i will post the errors in log file here

Here is the mainlog. I’ve replaced the ip with a.b.c.d… actually the original ip don’t belong to me… i don’t know where did it came from.

GNU nano 4.8                             mainlog                                        2022-07-18 13:40:02 Warning: No server certificate defined; will use a selfsigned one.
 Suggested action: either install a certificate or change tls_advertise_hosts option
2022-07-18 13:40:02 1oDQyg-000lmA-8j <= [email protected] U=www-data P=local S=968
2022-07-18 13:40:02 Warning: No server certificate defined; will use a selfsigned one.
 Suggested action: either install a certificate or change tls_advertise_hosts option
2022-07-18 13:40:02 1oDQyg-000lmA-8j => /var/mail/mail <[email protected]> R=mail4root T=addres>2022-07-18 13:40:02 1oDQyg-000lmA-8j Completed
2022-07-18 13:44:28 exim 4.93 daemon started: pid=204306, -q30m, listening for SMTP on po>2022-07-18 13:44:29 Start queue run: pid=204307
2022-07-18 13:44:29 End queue run: pid=204307
2022-07-18 13:44:30 no host name found for IP address a.b.c.d
2022-07-18 13:44:32 no host name found for IP address a.b.c.d
2022-07-18 13:44:34 no host name found for IP address a.b.c.d
2022-07-18 13:44:36 no host name found for IP address a.b.c.d
2022-07-18 13:44:38 no host name found for IP address a.b.c.d
2022-07-18 13:44:40 no host name found for IP address a.b.c.d
2022-07-18 13:44:43 no host name found for IP address a.b.c.d
2022-07-18 13:44:45 no host name found for IP address a.b.c.d
2022-07-18 13:44:47 no host name found for IP address a.b.c.d
2022-07-18 13:44:49 no host name found for IP address a.b.c.d
2022-07-18 13:44:51 no host name found for IP address a.b.c.d
2022-07-18 13:44:53 no host name found for IP address a.b.c.d
2022-07-18 13:44:55 no host name found for IP address a.b.c.d
2022-07-18 13:44:57 no host name found for IP address a.b.c.d
2022-07-18 13:44:59 no host name found for IP address a.b.c.d
2022-07-18 13:45:01 no host name found for IP address a.b.c.d
2022-07-18 13:45:03 no host name found for IP address a.b.c.d
2022-07-18 13:45:05 no host name found for IP address a.b.c.d
2022-07-18 13:45:07 no host name found for IP address a.b.c.d
2022-07-18 13:45:09 no host name found for IP address a.b.c.d                         2022-07-18 13:45:11 no host name found for IP address a.b.c.d
2022-07-18 13:45:13 no host name found for IP address a.b.c.d
2022-07-18 13:45:15 no host name found for IP address a.b.c.d
2022-07-18 13:45:16 no host name found for IP address a.b.c.d
2022-07-18 13:45:18 no host name found for IP address a.b.c.d
2022-07-18 13:45:20 no host name found for IP address a.b.c.d                         2022-07-18 13:45:22 no host name found for IP address a.b.c.d
2022-07-18 13:45:24 no host name found for IP address a.b.c.d                         2022-07-18 13:45:26 no host name found for IP address a.b.c.d
2022-07-18 13:45:28 no host name found for IP address a.b.c.d
2022-07-18 13:45:30 no host name found for IP address a.b.c.d
2022-07-18 13:45:32 no host name found for IP address a.b.c.d
2022-07-18 13:45:34 no host name found for IP address a.b.c.d
2022-07-18 13:45:36 no host name found for IP address a.b.c.d
2022-07-18 13:45:38 no host name found for IP address a.b.c.d
2022-07-18 13:45:40 no host name found for IP address a.b.c.d
2022-07-18 13:45:42 no host name found for IP address a.b.c.d
2022-07-18 13:45:44 no host name found for IP address a.b.c.d
2022-07-18 13:45:46 no host name found for IP address a.b.c.d
2022-07-18 13:45:48 no host name found for IP address a.b.c.d
2022-07-18 13:45:50 no host name found for IP address a.b.c.d
2022-07-18 13:45:52 no host name found for IP address a.b.c.d
2022-07-18 13:45:54 no host name found for IP address a.b.c.d
2022-07-18 13:45:56 no host name found for IP address a.b.c.d
2022-07-18 13:45:58 no host name found for IP address a.b.c.d
2022-07-18 13:46:01 no host name found for IP address a.b.c.d
2022-07-18 13:46:03 no host name found for IP address a.b.c.d
2022-07-18 13:46:04 no host name found for IP address a.b.c.d
2022-07-18 13:46:06 no host name found for IP address a.b.c.d
2022-07-18 13:46:08 no host name found for IP address a.b.c.d
<al S=3332 [email protected]s.com          2022-07-18 13:46:10 no host name found for IP address a.b.c.d
2022-07-18 13:46:12 no host name found for IP address a.b.c.d
2022-07-18 13:46:13 1oDR4c-000tDT-G6 ** [email protected] R=dnslookup T=remote_smt>2022-07-18 13:46:13 1oDR4f-000tEG-CQ <= <> R=1oDR4c-000tDT-G6 U=Debian-exim P=local S=57922022-07-18 13:46:13 1oDR4c-000tDT-G6 Completed
2022-07-18 13:46:13 1oDR4f-000tEG-CQ remote host address is the local host: hcp.electorkm>2022-07-18 13:46:13 1oDR4f-000tEG-CQ == [email protected] R=dnslookup defer >2022-07-18 13:46:13 1oDR4f-000tEG-CQ Frozen

^G Get Help    ^O Write Out   ^W Where Is    ^K Cut Text    ^J Justify     ^C Cur Pos
^X Exit        ^R Read File   ^\ Replace     ^U Paste Text  ^T To Spell    ^_ Go To Line

Make sure to set an hostname for the server and request an ssl certificate for it

1 Like

I would strongly suggest you to invest looking into a SMTP relay service since many random VPS ip’s are likely to get blocked at some point. (Especially Microsoft/ Hotmail/ Live etc. tends to do this frequently…)

1 Like