[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[postfix-jp:242] Fw: Postfix 19991231 Patch 13 (high)



しらはたです.

Postfix 19991231 Patch 13がリリースされました.

local_destination_concurrency_limit のパラメータが有効に
ならない不具合があったそうです.

ftp://ftp.porcupine.org/mirrors/postfix-release/official/
ftp://ftp.ring.gr.jp/pub/net/mail/postfix/official/
# まだpl12すらないサイトも…

Forwarded by Shin SHIRAHATA <shin@xxxxxxxxxx>
----------------------- Original Message -----------------------
From:    wietse@xxxxxxxxxxxxx (Wietse Venema)
To:      postfix-announce@xxxxxxxxxxx (Postfix announce)
Date:    Sun, 10 Dec 2000 12:19:51 -0500 (EST)
Subject: Postfix 19991231 Patch 13 (high)
----

[Note - this problem will also be fixed in the next snapshot]

This problem was diagnosed by David Schweikert (ee.ethz.ch).

The local_destination_concurrency_limit paramater no longer worked
as per-user delivery concurrency limit but instead limited delivery
to the entire local domain.

Because of this, the limit of "2" as specified in the default
main.cf file resulted in poor local delivery performance.

This behavior was broken with Postfix release 19991231 patchlevel
3, and all snapshots that appeared since 19991231. To find out what
Postfix version you have, execute the command "postconf mail_version".

To work around the problem, specify local_destination_concurrency_limit=0
in the main.cf file. This also works for snapshot releases.

To fix the problem, cd into the top-level release 19991231 patchlevel
12 source code directory and feed this text as standard input to
Larry Wall's patch command:

        patch -p0 <message

A patched version of the source code will be made available from
the sites listed on the www.postfix.org web site.

The primary distribution site is:

    ftp://ftp.porcupine.org/mirrors/postfix-release/

        postfix-19991231-patch13.gz         Source patch
        postfix-19991231-pl13.tar.sig       Source code
        postfix-19991231-pl13.tar.gz.sig    PGP signature

Or point your browser to 

    ftp://ftp.porcupine.org/mirrors/postfix-release/index.html

Happy Postfixing!

        Wietse


Prereq: "Postfix-19991231-pl12"
diff -cr ../postfix-19991231-pl12/global/mail_version.h ./global/mail_version.h
*** ../postfix-19991231-pl12/global/mail_version.h	Wed Dec  6 19:59:56 2000
--- ./global/mail_version.h	Sun Dec 10 09:33:51 2000
***************
*** 15,21 ****
    * Version of this program.
    */
  #define VAR_MAIL_VERSION	"mail_version"
! #define DEF_MAIL_VERSION	"Postfix-19991231-pl12"
  extern char *var_mail_version;
  
  /* LICENSE
--- 15,21 ----
    * Version of this program.
    */
  #define VAR_MAIL_VERSION	"mail_version"
! #define DEF_MAIL_VERSION	"Postfix-19991231-pl13"
  extern char *var_mail_version;
  
  /* LICENSE
diff -cr ../postfix-19991231-pl12/HISTORY ./HISTORY
*** ../postfix-19991231-pl12/HISTORY	Fri Dec  8 11:08:39 2000
--- ./HISTORY	Sun Dec 10 10:42:41 2000
***************
*** 3895,3897 ****
--- 3895,3907 ----
  	(asynchronous bounce client), qmgr/qmgr_active.c.  Problem
  	reported by El Bunzo (webpower.nl) and Tiger Technologies
  	(tigertech.com).
+ 
+ 20001210
+ 
+ 	Bugfix: the local_destination_concurrency_limit paramater
+ 	no longer worked as per-user concurrency limit but as
+ 	per-domain limit, so that the limit of "2" in the sample
+ 	main.cf files resulted in poor local delivery performance.
+ 	Files:  qmgr/qmgr_message.c, qmgr/qmgr_deliver.c.  Problem
+ 	reported by David Schweikert (ee.ethz.ch) and Dallas
+ 	Wisehaupt (cynicism.com).
diff -cr ../postfix-19991231-pl12/global/deliver_pass.c ./global/deliver_pass.c
*** ../postfix-19991231-pl12/global/deliver_pass.c	Wed Apr  7 19:17:26 1999
--- ./global/deliver_pass.c	Sun Dec 10 10:28:57 2000
***************
*** 90,96 ****
      mail_print(stream, "%s %s %ld %ld %s %s %s %s %ld %ld %s %s",
  	       request->queue_name, request->queue_id,
  	       request->data_offset, request->data_size,
! 	       addr, request->sender,
  	       request->errors_to, request->return_receipt,
  	       request->arrival_time,
  	       offs, addr, "0");
--- 90,96 ----
      mail_print(stream, "%s %s %ld %ld %s %s %s %s %ld %ld %s %s",
  	       request->queue_name, request->queue_id,
  	       request->data_offset, request->data_size,
! 	       request->nexthop, request->sender,
  	       request->errors_to, request->return_receipt,
  	       request->arrival_time,
  	       offs, addr, "0");
diff -cr ../postfix-19991231-pl12/qmgr/qmgr_deliver.c ./qmgr/qmgr_deliver.c
*** ../postfix-19991231-pl12/qmgr/qmgr_deliver.c	Fri Mar 19 19:45:02 1999
--- ./qmgr/qmgr_deliver.c	Sun Dec 10 09:51:15 2000
***************
*** 44,49 ****
--- 44,50 ----
  /* System library. */
  
  #include <sys_defs.h>
+ #include <string.h>
  #include <time.h>
  
  /* Utility library. */
***************
*** 116,125 ****
--- 117,128 ----
      QMGR_RCPT_LIST list = entry->rcpt_list;
      QMGR_RCPT *recipient;
      QMGR_MESSAGE *message = entry->message;
+     char   *cp;
  
      mail_print(stream, "%s %s %ld %ld %s %s %s %s %ld",
  	       message->queue_name, message->queue_id,
  	       message->data_offset, message->data_size,
+ 	    (cp = strrchr(entry->queue->name, '@')) != 0 && cp[1] ? cp + 1 :
  	       entry->queue->name, message->sender,
  	       message->errors_to, message->return_receipt,
  	       message->arrival_time);
diff -cr ../postfix-19991231-pl12/qmgr/qmgr_message.c ./qmgr/qmgr_message.c
*** ../postfix-19991231-pl12/qmgr/qmgr_message.c	Tue Nov 21 19:26:48 2000
--- ./qmgr/qmgr_message.c	Sun Dec 10 10:34:32 2000
***************
*** 535,542 ****
  	 */
  	if ((at = strrchr(STR(reply.recipient), '@')) == 0
  	    || resolve_local(at + 1)) {
- #if 0
  	    vstring_strcpy(reply.nexthop, STR(reply.recipient));
  	    (void) split_at_right(STR(reply.nexthop), '@');
  #endif
  #if 0
--- 535,543 ----
  	 */
  	if ((at = strrchr(STR(reply.recipient), '@')) == 0
  	    || resolve_local(at + 1)) {
  	    vstring_strcpy(reply.nexthop, STR(reply.recipient));
+ 	    lowercase(STR(reply.nexthop));
+ #if 0
  	    (void) split_at_right(STR(reply.nexthop), '@');
  #endif
  #if 0


--------------------- Original Message Ends --------------------


[検索ページ] [Postfix-JP ML Home]