Email alerts and notifications test won’t work

jhmc93

Member
Feb 22, 2022
181
1
23
31
Hello I don’t get email notifications from my proxmox server I ran a notification test and checked system logs and the following shows:

Jul 04 21:04:46 HP-705-G3 postfix/smtp[7489]: connect to gmail-smtp-in.l.google.com[2a00:1450:400c:c00::1b]:25: Network is unreachable
Jul 04 21:04:46 HP-705-G3 postfix/smtp[7489]: 3C86780BBD: to=<example@example.com>, relay=gmail-smtp-in.l.google.com[173.194.76.26]:25, delay=0.73, delays=0/0/0.45/0.28, dsn=5.7.1, status=bounced (host gmail-smtp-in.l.google.com[173.194.76.26] said: 550-5.7.1 [*.*.*.*] The IP you're using to send mail is not authorized to 550-5.7.1 send email directly to our servers. Please use the SMTP relay at your 550-5.7.1 service provider instead. For more information, go to 550 5.7.1 https://support.google.com/mail/?p=NotAuthorizedError ffacd0b85a97d-3678e63e349si3124857f8f.494 - gsmtp (in reply to end of DATA command))
Jul 04 21:04:46 HP-705-G3 postfix/qmgr[991]: 3C86780BBD: removed
 
Hello,
you have to set both SPF and DKIM record in your DNS provider in order to authorise that public IP (from you are sending the test email) to send emails.
Google in pretty fussy about it
 
SPF and DKIM may not work either if you are on a known consumer IP. Those tend to be blocked regardless. Another option is to not use port 25 (I'm surprised your ISP doesn't block that) but use the submission ports, either 465 or 587. Those do require authentication and you will have to set up authentication using your Google credentials.

Or you could do what the error message suggests and use your ISP's email forwarding. They can advise you on how to set that up.

Email has become difficult because of spam.
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!