On 5/28/2021 6:24 PM, [email protected] wrote:
Without recompiling postfix, is there a way to get the PTR hostname warning to come after the connect message in the logs?

Adding to the reply from Wietse, which I have to agree with:

On my Ubuntu 18 mail server, everything that postfix sends to syslog includes the PID of the process. An example:

May 29 10:57:17 bilbo postfix/smtpd[8707]: disconnect from unknown[186.250.196.123] ehlo=1 auth=0/1 commands=1/2

The PID here is 8707. If you find a connect message and want to see if there is something that got logged for that connection beforehand, just search backwards for the PID. At the following link you can see all the log messages from pid 8707 in the vicinity of that one I pasted above. It includes several warnings. I have now run newaliases and postmap to get rid of two of those warnings. :) This paste will expire one month from today.

https://apaste.info/m3Tq

The improper pipelining warning is from xymon probing smtps. That one is annoying, and I haven't yet attempted to create a fix for it and submit it to the xymon project. Have to try and remember what I know of C programming. :)

Thanks,
Shawn

Reply via email to