Unable to Receive Email Notifications

Hello,

I’m having an issue with receiving email notifications from my server after performing a backup any things else. My XenForo forum is working fine, and emails are being sent smoothly using the relay SMTP configuration. For example, the “Contact Us” form sends emails without any issues.

However, I am not receiving any system notifications from the server. Is there something I need to check or configure to fix this?

Any help would be greatly appreciated. Thank you!

Hi @JamalFree,

You mean an external smtp relay or you mean your own Exim mail server?

Check the logs to know the reason mails can’t be sent:

exigrep '<= noreply@' /var/log/exim4/mainlog --no-pager
exigrep '<= root@' /var/log/exim4/mainlog --no-pager
1 Like

thank yoy sahsanu for reply
i use smtp.gmail.com and 2 commands return empty

Did you try to send a notification recently? I mean, for example, create a user and mark the option to send the credentials to an email.

Maybe is not in the last log, use a wildcard.

exigrep '<= noreply@' /var/log/exim4/mainlog* --no-pager
exigrep '<= root@' /var/log/exim4/mainlog* --no-pager

yes i create user and mark the option to send Send welcome email but i did not receive any things

2024-09-16 04:24:02 1spDYz-000iJw-36 == [email protected] R=send_via_smtp_relay T=smtp_relay_smtp defer (-54): retry time not reached for any host for 'gmail.com'
2024-09-16 04:54:02 1spDYz-000iJw-36 == [email protected] R=send_via_smtp_relay T=smtp_relay_smtp defer (-54): retry time not reached for any host for 'gmail.com'
2024-09-16 05:24:02 1spDYz-000iJw-36 == [email protected] R=send_via_smtp_relay T=smtp_relay_smtp defer (-54): retry time not reached for any host for 'gmail.com'
2024-09-16 05:54:02 1spDYz-000iJw-36 == [email protected] R=send_via_smtp_relay T=smtp_relay_smtp defer (-54): retry time not reached for any host for 'gmail.com'
2024-09-16 06:24:02 1spDYz-000iJw-36 == [email protected] R=send_via_smtp_relay T=smtp_relay_smtp defer (-54): retry time not reached for any host for 'gmail.com'
2024-09-16 06:54:22 1spDYz-000iJw-36 == [email protected] R=send_via_smtp_relay T=smtp_relay_smtp defer (-54): retry time not reached for any host for 'gmail.com'
2024-09-15 10:49:18 1spDYz-000iJw-36 H=smtp.gmail.com [108.177.96.108]: Remote host closed connection in response to initial connection
2024-09-15 10:49:18 1spDYz-000iJw-36 == [email protected] R=send_via_smtp_relay T=smtp_relay_smtp defer (-18) H=smtp.gmail.com [108.177.96.108]: Remote host closed connection in response to initial connection
2024-09-15 20:49:53 1spDYz-000iJw-36 H=smtp.gmail.com [142.251.31.108]: Remote host closed connection in response to initial connection
2024-09-15 20:49:53 1spDYz-000iJw-36 == [email protected] R=send_via_smtp_relay T=smtp_relay_smtp defer (-18) H=smtp.gmail.com [142.251.31.108]: Remote host closed connection in response to initial connection
024-09-14 23:43:38 1spDYz-000iJw-36 == [email protected] R=send_via_smtp_relay T=smtp_relay_smtp defer (-54): retry time not reached for any host for 'gmail.com'
2024-09-13 21:10:45 1spDYz-000iJw-36 <= [email protected] U=root P=local S=3377 [email protected]
+++ 1sor0D-000nWc-1h has not completed +++
2024-09-16 00:19:23 1sor0D-000nWc-1h == [email protected] R=send_via_smtp_relay T=smtp_relay_smtp defer (-54): retry time not reached for any host for 'gmail.com'
2024-09-16 00:49:43 1sor0D-000nWc-1h H=smtp.gmail.com [108.177.96.108]: Remote host closed connection in response to initial connection
2024-09-16 00:49:43 1sor0D-000nWc-1h == [email protected] R=send_via_smtp_relay T=smtp_relay_smtp defer (-18) H=smtp.gmail.com [108.177.96.108]: Remote host closed connection in response to initial connection
2024-09-16 01:19:22 1sor0D-000nWc-1h == [email protected] R=send_via_smtp_relay T=smtp_relay_smtp defer (-54): retry time not reached for any host for 'gmail.com'
2024-09-16 01:49:22 1sor0D-000nWc-1h == [email protected] R=send_via_smtp_relay T=smtp_relay_smtp defer (-54): retry time not reached for any host for 'gmail.com'
2024-09-16 02:19:42 1sor0D-000nWc-1h == [email protected] R=send_via_smtp_relay T=smtp_relay_smtp defer (-54): retry time not reached for any host for 'gmail.com'
2024-09-16 02:49:22 1sor0D-000nWc-1h == [email protected] R=send_via_smtp_relay T=smtp_relay_smtp defer (-54): retry time not reached for any host for 'gmail.com'
2024-09-16 02:49:22 1sor0D-000nWc-1h == [email protected] R=send_via_smtp_relay T=smtp_relay_smtp defer (-54): retry time not reached for any host for 'gmail.com'
2024-09-16 03:19:33 1sor0D-000nWc-1h == [email protected] R=send_via_smtp_relay T=smtp_relay_smtp defer (-54): retry time not reached for any host for 'gmail.com'
2024-09-16 03:49:33 1sor0D-000nWc-1h == [email protected] R=send_via_smtp_relay T=smtp_relay_smtp defer (-54): retry time not reached for any host for 'gmail.com'
2024-09-16 04:19:33 1sor0D-000nWc-1h == [email protected] R=send_via_smtp_relay T=smtp_relay_smtp defer (-54): retry time not reached for any host for 'gmail.com'
2024-09-16 04:24:02 1sor0D-000nWc-1h == [email protected] R=send_via_smtp_relay T=smtp_relay_smtp defer (-54): retry time not reached for any host for 'gmail.com'
2024-09-16 04:54:02 1sor0D-000nWc-1h == [email protected] R=send_via_smtp_relay T=smtp_relay_smtp defer (-54): retry time not reached for any host for 'gmail.com'
2024-09-16 05:24:02 1sor0D-000nWc-1h == [email protected] R=send_via_smtp_relay T=smtp_relay_smtp defer (-54): retry time not reached for any host for 'gmail.com'
2024-09-16 05:54:02 1sor0D-000nWc-1h == [email protected] R=send_via_smtp_relay T=smtp_relay_smtp defer (-54): retry time not reached for any host for 'gmail.com'
2024-09-16 06:24:02 1sor0D-000nWc-1h == [email protected] R=send_via_smtp_relay T=smtp_relay_smtp defer (-54): retry time not reached for any host for 'gmail.com'
2024-09-16 06:54:22 1sor0D-000nWc-1h H=smtp.gmail.com [173.194.69.109]: Remote host closed connection in response to initial connection
2024-09-16 06:54:22 1sor0D-000nWc-1h == [email protected] R=send_via_smtp_relay T=smtp_relay_smtp defer (-18) H=smtp.gmail.com [173.194.69.109]: Remote host closed connection in response to initial connection

``` i take many backups and did not receive any emails thanks

Have you configured smtp.gmail.com as an smtp relay globally? I don’t think gmail will allow that.

2 Likes

i have set smtp.gmail.com as relay smtp in Configure Server ===> mail server is corret steps??

Gmail can’t be used as a smtp relay server. Use any other like smtp2go, brevo, sendgrid, etc. those services have free plans (limiting allowed mails per hour/day/month)

3 Likes

ok thank you a lot sahsanu i try those services thank you again

2 Likes

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