Patch: spurious out-of-order original recipient warnings

From: Wietse Venema (no email)
Date: Fri Nov 01 2002 - 08:32:07 EST


As of 20021025, the Postfix queue manager will log an occasional
"out-of-order original recipient record" warning while it tries to
deliver mail that was deferred.

The warning is harmless. It happens for recipients of the same
message that are already finished.

The patch below fixes this. You can also wait for version 20021101
which will be uploaded in a little while.

        Wietse

*** ./src/nqmgr/qmgr_message.c- Mon Oct 28 16:32:10 2002
--- ./src/nqmgr/qmgr_message.c Fri Nov 1 08:01:27 2002
***************
*** 460,465 ****
--- 460,470 ----
                      message->verp_delims = mystrdup(start);
                  }
              }
+ } else if (rec_type == REC_TYPE_DONE) {
+ if (orig_rcpt) {
+ myfree(orig_rcpt);
+ orig_rcpt = 0;
+ }
          }
          if (orig_rcpt != 0) {
              msg_warn("%s: out-of-order original recipient record <%.200s>",
*** ./src/qmgr/qmgr_message.c- Mon Oct 28 16:32:29 2002
--- ./src/qmgr/qmgr_message.c Fri Nov 1 08:01:13 2002
***************
*** 340,345 ****
--- 340,350 ----
                      message->verp_delims = mystrdup(start);
                  }
              }
+ } else if (rec_type == REC_TYPE_DONE) {
+ if (orig_rcpt) {
+ myfree(orig_rcpt);
+ orig_rcpt = 0;
+ }
          }
          if (orig_rcpt != 0) {
              msg_warn("%s: out-of-order original recipient record <%.200s>",

-
To unsubscribe, send mail to with content
(not subject): unsubscribe postfix-users








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD