On Sat, Aug 23, 2025 at 04:27:42PM +0200, Benny Pedersen via Postfix-users 
wrote:

> tux ~ # posttls-finger vodafone.de
> posttls-finger: Failed to establish session to vodafone.de via
> mx2.vodafonemail.de:0: connect to mx2.vodafonemail.de[2.207.151.53]:25:
> Connection timed out
> posttls-finger: Failed to establish session to vodafone.de via
> mx3.vodafonemail.de:0: connect to mx3.vodafonemail.de[2.207.151.53]:25:
> Connection timed out
> posttls-finger: Failed to establish session to vodafone.de via
> mx1.vodafonemail.de:0: connect to mx1.vodafonemail.de[2.207.151.53]:25:
> Connection timed out

This is a minor oversight.  Patch below.

--- a/src/posttls-finger/posttls-finger.c
+++ b/src/posttls-finger/posttls-finger.c
@@ -1653,3 +1653,3 @@ static void connect_remote(STATE *state, char *dest)
            msg_info("Failed to establish session to %s via %s:%u: %s",
-                    dest, HNAME(addr), addr->port,
+                    dest, HNAME(addr), ntohs(state->port),
                     vstring_str(state->why->reason));

-- 
    Viktor.  🇺🇦 Слава Україні!
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org
  • [pfx] port 0 Benny Pedersen via Postfix-users
    • [pfx] Re: port 0 Florian Piekert via Postfix-users
    • [pfx] Patch: Fix posttls-finger con... Viktor Dukhovni via Postfix-users

Reply via email to