On 8/24/2018 6:51 AM, Wietse Venema wrote:
deoren:
'mail=0/1' means that Postfix rejected the MAIL FROM command (the
client sent 1 MAIL FROM command, and Postfix accepted 0 MAIL FROM
commands).

Thank you for the response and for going into detail.

I suspect I completely overlooked it, but do you recall offhand where
one can read more about the specific fields used in the messages that
Postfix logs?

Sorry, the 'adhoc' logging subsystem is a preliminary implementation
that I wrote to get Postfix out the door. It is therefore not
adequately documented, not even the 'routine' logging.

Acknowledged.

Here's asuggestion: if all your probes are sent from the same IP
address 192.168.2.199, then please do:

        # postconf debug-peer-list=192.168.2.199
        # postfix reload

Thank you for the tip, I will do this. I used it once before for an extended period of time, but couldn't sufficiently make sense of the verbose output to get anywhere. I should have made the time to post here with the results to get help deciphering them. I assume that it's probably best to upload a larger file of the entries to GitHub and link to the log file like I've done wit the config files?

(debug_peer_list is used in some DEBUG_README example, and it is
documented in the postconf(5) manpage.

That will log the requests (nmot message content) and most importantly
the responses.

On a related note, is there any way to easily filter the messages that result from using debug-peer-list? We currently send nearly all log content via syslog to a central receiver and then into a Graylog instance. The instance is minimally tuned, so it would probably not handle the load well if all backend relays send their debug messages over to the central receiver.

Regarding the rejection for the MAIL FROM command, HAProxy noted the
same thing and declared the health check a failure. Here is the relevant
line in the HAProxy config:

https://github.com/deoren/postfix-examples/blob/1f954130ee89032b3e5e3151a35f12dbd44e593b/load-balancer/etc/haproxy/haproxy.cfg#L479

I see nothing in the MAIL FROM that would offend Postfix, so it
will be interesting to see what the problem is.

Thank you for confirming that and for the help. I appreciate you taking the time to work with me on this.

Reply via email to