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

Reply via email to