[email protected]:
> Without recompiling postfix, is there a way to get the PTR hostname 
> warning to come after the connect message in the logs?

That would be wrong. 

As a matter or principle, Postfix logs a warning for a bad condition
(for example client name unavailable), before doing something that
is affected by that bad condition (for example logging the connect
message with client name 'unknown'). This ensures that the cause
is logged before the effect.

As another matter of principle, Postfix logs events immediately as
they happen (for example recipient rejected, or recipient delivered),
because Postfix processes must be prepared to fail (crashed, killed,
whatever) at any point in time. Persisting information immediately
(in queue files and logs) ensures that Postfix can recover sanely
and that humans have an accurate record of what happened.

In all these cases, delayed logging would make the system more
difficult to understand.

        Wietse

Reply via email to