[SOLVED] Proxmox backup : no email report

gerardsamara

Member
May 28, 2019
4
1
23
Hello,

1) From the proxmox hypervisor I have set up the VM backups. After the backup I have to receive a report by email.
I did not set up postfix using authentication because I did not found a proxmox document about that.

2) I did not receive the test email by typing this command , whichg was executed without error and without trace in syslog

echo "Test mail from postfix" | mail -s "Test Postfix" mymail@mail.com

3) I don't receive the email of the backup report as per the postfix/smtp logs below.


Nov 19 22:38:08 U55-A postfix/smtp[55550]: connect to mta-gw.infomaniak.ch[2001:1600:0:aaaa::1:3]:25: Network is unreachable
Nov 19 22:38:08 U55-A postfix/smtp[55550]: connect to mta-gw.infomaniak.ch[2001:1600:0:aaaa::1:4]:25: Network is unreachable
Nov 19 22:38:38 U55-A postfix/smtp[55550]: connect to mta-gw.infomaniak.ch[83.166.143.57]:25: Connection timed out
Nov 19 22:38:38 U55-A postfix/smtp[55548]: connect to mta-gw.infomaniak.ch[83.166.143.58]:25: Connection timed out
Nov 19 22:38:38 U55-A postfix/smtp[55548]: connect to mta-gw.infomaniak.ch[2001:1600:0:aaaa::1:3]:25: Network is unreachable
Nov 19 22:38:38 U55-A postfix/smtp[55548]: connect to mta-gw.infomaniak.ch[2001:1600:0:aaaa::1:4]:25: Network is unreachable
Nov 19 22:38:38 U55-A postfix/smtp[55549]: connect to mta-gw.infomaniak.ch[83.166.143.57]:25: Connection timed out
Nov 19 22:38:38 U55-A postfix/smtp[55551]: connect to mta-gw.infomaniak.ch[83.166.143.57]:25: Connection timed out
Nov 19 22:38:38 U55-A postfix/smtp[55549]: connect to mta-gw.infomaniak.ch[2001:1600:0:aaaa::1:3]:25: Network is unreachable
Nov 19 22:38:38 U55-A postfix/smtp[55551]: connect to mta-gw.infomaniak.ch[2001:1600:0:aaaa::1:3]:25: Network is unreachable
Nov 19 22:38:38 U55-A postfix/smtp[55551]: connect to mta-gw.infomaniak.ch[2001:1600:0:aaaa::1:4]:25: Network is unreachable

Does anyone have an idea about my problem ?
How to configure the mail configuration ?

Thank you
 
You need to setup postfix yourself so that PVE can use it to send emails.
Best would be to search for a debian/ubuntu tutorial on how to setup postfix as an smtp relay for your SMTP server provider.

Basically each provider requires another config so there is no tutorial that works for everything.
 
Thank you @beroliv for your help.
I was able to setup postfix for my SMTP provider ( TLS:465) with the documentation you provided
 
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!