postfix smtp "Network is unreachable"

Judman13

Member
Mar 7, 2021
3
0
6
34
Hello,

In my syslogs I am seeing proxmox attempt to send out emails, but it fails because the "network is unreachable". The problem is I cannot find the configuration file to correct or stop the issue and really I do not know what is triggering it.

This only shows in one of my two cluster nodes:

Code:
Sep 11 01:06:01 pro600 postfix/qmgr[943]: C0B73160EBD: from=<root@pro600.domain.org>, size=32609, nrcpt=1 (queue active)
Sep 11 01:06:31 pro600 postfix/smtp[1743168]: connect to hosted.mailcow.de[5.1.76.202]:25: Connection timed out
Sep 11 01:06:31 pro600 postfix/smtp[1743168]: connect to hosted.mailcow.de[2a00:f820:417::202]:25: Network is unreachable
Sep 11 01:06:31 pro600 postfix/smtp[1743168]: C0B73160EBD: to=<judson@domain.org>, relay=none, delay=349118, delays=349088/0.01/30/0, dsn=4.4.1, status=deferred (connect to hosted.mailcow.de[2a00:f820:417::202]:25: Network is unreachable)
 

Attachments

  • Proxmox mail1.png
    Proxmox mail1.png
    13.8 KB · Views: 5
  • proxmox mail2.png
    proxmox mail2.png
    14.5 KB · Views: 4
  • proxmox mail3.png
    proxmox mail3.png
    6.4 KB · Views: 4
Are you sure your ISP allows outbound connections on port 25? It is pretty common to block that as an anti-spam measure. Maybe try to connect to your mail host manually using telnet or netcat to verify.

If port 25 is blocked you will need to use the submission port, 587. That generally uses TLS and requires authentication. Your mail provider should have documentation on how to do this.

Or use your ISP's mail server as a forwarder.
 
Are you sure your ISP allows outbound connections on port 25? It is pretty common to block that as an anti-spam measure. Maybe try to connect to your mail host manually using telnet or netcat to verify.

If port 25 is blocked you will need to use the submission port, 587. That generally uses TLS and requires authentication. Your mail provider should have documentation on how to do this.

Or use your ISP's mail server as a forwarder.
I don't actually want to use the email. I do not know when or how it got configured and I cannot figure out how to turn it off haha.
 

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!