]> gitweb.michael.orlitzky.com - postfix-logwatch.git/commit
postfix-logwatch: NOQUEUE prefix for abnormal connection terminations
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 18 Nov 2025 14:07:41 +0000 (09:07 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 18 Nov 2025 14:24:29 +0000 (09:24 -0500)
commit5ee624e969b183fa7bb3b70ea4312bca6c0f1195
tree94896877fb610afea09b2c7f77c70b839ffb25f6
parent67f635c01acf62ef8ebe1db2274dafb7d4597d9e
postfix-logwatch: NOQUEUE prefix for abnormal connection terminations

In postfix-3.10.0, these lines gained a "NOQUEUE: " prefix:

  https://www.postfix.org/announcements/postfix-3.10.0.html

To support both formats, we strip the prefix early on, and then do
what we used to do. For reference, the full list of reasons can be
found in the postfix source, in src/smtpd/smtpd.c:

   /*
    * Reasons for losing the client.
    */
  #define REASON_TIMEOUT          "timeout"
  #define REASON_LOST_CONNECTION  "lost connection"
  #define REASON_ERROR_LIMIT      "too many errors"
postfix-logwatch [changed mode: 0644->0755]