Smarthost - Network Unreachable

Sep 17, 2020
6
0
1
31
Hello,

I have a problem using PMG via smarthost for outgoing mails. When I use authenticated smarthost the mail isnn't able to send.
I get this error:

Code:
Sep 28 14:12:42 antispam postfix/qmgr[59286]: 1C3BD1408B7: removed
Sep 28 14:13:12 antispam postfix/smtp[59300]: 27F7B14117F: to=<xx.xx@xx.com>, relay=none, delay=30, delays=0/0.02/30/0, dsn=4.4.1, status=deferred (connect to smtp.xx-xx.de[134.x9.2xx.x9]:25: Connection timed out)
Sep 28 14:13:45 antispam postfix/qmgr[59521]: 27F7B14117F: from=<xx@xx-xx.de>, size=2185, nrcpt=1 (queue active)

My config looks like this:

/etc/postfix/relay_passwd

Code:
[smtp.xx-xx.de]:25 smarthost@xx-xx.de:xxxxx

Part of main.cf

Code:
relayhost = smtp.xx-xx.de:25
smtp_use_tls = yes
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/relay_passwd
smtp_sasl_security_options =

You guys have any suggestions?

Greetings from germany.
 
Last edited:
seems the problem is a network issue connecting to the smarthost:
smtp.xx-xx.de[134.x9.2xx.x9]:25: Connection timed out

can you ping the smarthost? - can you connect to port 25 on it?
(sometimes relaying with smtpauth is only possible on port 587)
 
Via telnet I get connection to the smarthost on port 25.
The webspace says the smtp server via ssl hears on port 465, but on this port it don't works too, and via telnet I even get no connection on port 465
 
does the host smtp.xx-xx.de always resolv to the same IP-address? (134.x9.2xx.x9)
else it's always possible that it was simply not reachable at the time PMG tried to forward the mail...
 

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!