When I open a raw socket to the remote server on port 25 using telnet, I am able to connect and see the server announce itself, so, it is reasonable to assume that Postfix is doing the same and timing out during the SMTP transaction because Postfix is not having a problem sending mail to other servers.
A reasonable person does not assume their software is always telling the truth. > Sent: Sunday, April 30, 2023 at 8:45 pm > From: "Wietse Venema via Postfix-users" <postfix-users@postfix.org> > To: "Postfix users" <postfix-users@postfix.org> > Subject: [pfx] Re: Painful Postfix > > Intrigued by a complaint about poor logging from Postfix, I decided > to investigate. > > What was logged? > > Apr 30 14:32:16 generalpurpose postfix/smtp[2299]: 78D1D80AD7: > to=<sa...@tnet.hk>, relay=none, delay=414074, delays=413981/0.19/93/0, > dsn=4.4.1, status=deferred (connect to > mxw.mxhichina.com[47.246.99.195]:25: Connection timed out) > > What failed? > > connect to mxw.mxhichina.com[ipaddr]. > > The attempt to connect to mxw.mxhichina.com[ipaddr] failed. > There was no TCP connection, thus no SMTP commands could be > sent, and no SMTP responses could be received. > > I like to think that a reasonable person would agree with the above > assessment. > > Why did it fail? > > Connection timed out. > > This is the system-defined error text for an error code that > is defined by a POSIX standard. > > I like to think that a reasonable person would agree that regardless > of what the exact error was, an attempt to log SMTP commands or > responses would be pointless, because there was no TCP connection. > > Wietse > _______________________________________________ > Postfix-users mailing list -- postfix-users@postfix.org > To unsubscribe send an email to postfix-users-le...@postfix.org _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org