post...@ptld.com: > postfix/smtpd[8568]: warning: hostname zg-0520a-211.stretchoid.com does > not resolve to address 192.241.205.222: Name or service not known > postfix/smtpd[8568]: connect from unknown[192.241.205.222] > postfix/smtpd[8568]: lost connection after UNKNOWN from > unknown[192.241.205.222] > postfix/smtpd[8568]: disconnect from unknown[192.241.205.222] > unknown=0/1 commands=0/1 > > postfix/smtpd[8585]: warning: haproxy read: unexpected EOF > postfix/smtpd[8585]: connect from unknown[unknown] > postfix/smtpd[8585]: disconnect from unknown[unknown] commands=0/0 > > > I would like a better understanding of what is happening when the logs > include "warning: haproxy read:". Is that generated by postfix based on > what? Or is it generated by haproxy and postfix just pass thru displays > it?
As documented HAPPROXY sends one message with the protocol and remote/local endpoint information. If HAPROXY sends anything else then that would be a HAPROXY bug. Wietse > Yes the server sits behind haproxy, but what has me curious is on most > log entries like the first one above there is no mention of haproxy, so > why is it on the second log entry? Whats the difference? > > FYI: -o smtpd_upstream_proxy_protocol=haproxy is set under submission. >