SOLVED - Backup report emails not coming through

badgerfruit

New Member
Nov 25, 2020
12
0
1
I have a small cluster of 3 Proxmox servers (running an ancient-but-can't-be-upgraded-right-now version 5-3-11) which, up until recently, have been sending their backup report emails every day like a good little cluster.

For ease, let's call them S1, S2 and S3.

However, of late and without any prior warning or any changes being made, one of the hosts (S2) just stopped sending messages. The backups were working OK but the email reports were not coming through.

Now, the other 2 hosts have also stopped sending their emails!

Except, on the very odd occasion.

This month, on the 1st, 2nd and 3rd of this month, they did NOT send, however, on the 4th they worked from S1. Yesterday, they didn't send again from any server.

If I read /var/log/mail.info, I can see that it seems to TRY to send but the connection is refused:
Jul 6 10:50:09 ovhuk128 postfix/smtp[13013]: connect to s1.mydomain.com[xxx.xxx.xxx.xxx]:25: Connection refused

S2 and S3 can ping s1.mydomain.com without problem.

In Datacentre > Firewall > Options, Firewall is "No".
On S1 > Firewall > Options, Firewall is "Yes"
On S2 > Firewall > Options, Firewall is "Yes"
On S3 > Firewall > Options, Firewall is "Yes"

On each S, Firewall > Log just reads "0 5 - 06/Jul/2022:02:47:02 +0000 starting pvefw logger".

If I try to send a test email from any of the server consoles, I am informed:
Code:
echo "This is the body of the email" | mail -s "This is the subject line" me@mydomain.com
mail: command not found

How can I troubleshoot or test this further please?
 
Update: The same odd behaviour happened again, S1 sent OK, S2 and S3 did not.
Does anyone know where I can find and edit the mail settings so I can use an external service such as Gmail or similar?
 
** SOLVED **
Google Workspace had decided that these "conversations" needed to be approved before being delivered.
After going in and approving them, they fell into the inbox as suspected. Nice one Google.
 

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!