]> git.ipfire.org Git - thirdparty/postfix.git/commitdiff
snapshot-20001109
authorWietse Venema <wietse@porcupine.org>
Thu, 9 Nov 2000 05:00:00 +0000 (00:00 -0500)
committerViktor Dukhovni <viktor@dukhovni.org>
Tue, 5 Feb 2013 06:26:53 +0000 (06:26 +0000)
45 files changed:
postfix/HISTORY
postfix/Makefile.in
postfix/RELEASE_NOTES
postfix/conf/main.cf
postfix/conf/sample-flush.cf
postfix/html/faq.html
postfix/makedefs
postfix/src/base64/Makefile.in
postfix/src/bounce/Makefile.in
postfix/src/cleanup/Makefile.in
postfix/src/dns/Makefile.in
postfix/src/error/Makefile.in
postfix/src/flush/Makefile.in
postfix/src/flush/flush.c
postfix/src/fsstone/Makefile.in
postfix/src/global/Makefile.in
postfix/src/global/mail_version.h
postfix/src/lmtp/Makefile.in
postfix/src/local/Makefile.in
postfix/src/master/Makefile.in
postfix/src/nqmgr/Makefile.in
postfix/src/nqmgr/qmgr_queue.c
postfix/src/pickup/Makefile.in
postfix/src/pipe/Makefile.in
postfix/src/postalias/Makefile.in
postfix/src/postcat/Makefile.in
postfix/src/postconf/Makefile.in
postfix/src/postdrop/Makefile.in
postfix/src/postfix/Makefile.in
postfix/src/postkick/Makefile.in
postfix/src/postlock/Makefile.in
postfix/src/postlog/Makefile.in
postfix/src/postmap/Makefile.in
postfix/src/postsuper/Makefile.in
postfix/src/qmgr/Makefile.in
postfix/src/qmgr/qmgr_queue.c
postfix/src/sendmail/Makefile.in
postfix/src/showq/Makefile.in
postfix/src/smtp/Makefile.in
postfix/src/smtpd/Makefile.in
postfix/src/smtpstone/Makefile.in
postfix/src/spawn/Makefile.in
postfix/src/trivial-rewrite/Makefile.in
postfix/src/util/Makefile.in
postfix/src/util/vstream_popen.c

index 127aecf49fe6507848194479d6d39c51478ec6f8..209aa5cb336b1ed9ca03c1187694fd67a8964243 100644 (file)
@@ -4419,8 +4419,29 @@ Apologies for any names omitted.
        programs in order to test the LMTP client UNIX-domain
        support.
 
-20001039
+20001030
 
        Bugfix: further testing in preparation for 19991231-pl10
        revealed that the DB map code was now broken for every
        platform.
+
+20001031
+
+       Performance: the slow start (gradually increase number of
+       parallel connections to the same site) was too gentle and
+       Postfix would back off too quickly. Files: qmgr/qmgr_queue.c
+       and nqmgr/qmgr_queue.c.
+
+20001101
+
+       FAQ update by Ralph Hildebrandt.
+
+20001104
+
+       Portability: RedHat Linux has changed incompatibly, again.
+       Fixed with the help of Matthias Andree.  File: makedefs.
+
+20001109
+
+       Cleanup: changed prototype of internal function that did
+       not return a useful result. File: src/util/vstream_popen.c.
index af71aa2b8ce715f72b9979fc30dea9db55eabaa2..2603ce0d0a55e05904624759b27220a8961b63b0 100644 (file)
@@ -13,9 +13,9 @@ default: update
 makefiles Makefiles:
        set -e; for i in $(DIRS); do \
         (set -e; echo "[$$i]"; cd $$i; rm -f Makefile; \
-        $(MAKE) -f Makefile.in Makefile MAKELEVEL=); \
+        $(MAKE) -f Makefile.in Makefile MAKELEVEL=) || exit 1; \
        done;
-       rm -f Makefile; (set -e; $(SHELL) makedefs; cat Makefile.in) >Makefile
+       rm -f Makefile; (set -e; $(SHELL) makedefs && cat Makefile.in) >Makefile
 
 update printfck:
        set -e; for i in $(DIRS); do \
@@ -44,7 +44,7 @@ cleanmakefiles:
        ../cleanup_makefile.pl Makefile.in >Makefile.new; \
        rm Makefile.in ; mv Makefile.new Makefile.in); \
        done;
-       rm -f Makefile; (set -e; sh makedefs; cat Makefile.in) >Makefile
+       rm -f Makefile; (set -e; sh makedefs && cat Makefile.in) >Makefile
 
 tidy:  clean
        rm -f Makefile */Makefile src/*/Makefile
index 7842ce4d26ed9584e98bba77030df985f6bba72d..8ff741942c160fcd43a9145bfd99b2c46ebad105 100644 (file)
@@ -1,3 +1,9 @@
+Incompatible changes with snapshot-20001104
+===========================================
+
+On RedHat Linux 7.0, you must install the db3-devel RPM before you
+can compile the Postfix source code.
+
 Incompatible changes with snapshot-20001029
 ===========================================
 
index 24274dd5c6cc2481fd84169d5ebae304131bcc71..15e12b10c9e6b473b31aca57ec232138fc33ef6d 100644 (file)
@@ -362,7 +362,7 @@ mail_owner = postfix
 # eligible for this "fast ETRN/sendmail -qR" service.
 # 
 #fast_flush_domains = $relay_domains
-#fast_flush_policy =
+#fast_flush_domains =
 
 # SHOW SOFTWARE VERSION OR NOT
 #
index 9b3c92791d3e8b8433979f3111168160039cd8f0..273fde3c9c8a0bf2b8df0cf8aca75140ac730570 100644 (file)
 # destinations that the Postfix SMTP server is willing to relay to
 # (see the relay_domains parameter in sample-smtpd.cf).
 #
-# Specify "fast_flush_policy =" to disable the feature altogether.
+# Specify "fast_flush_domains =" to disable the feature altogether.
 #
-fast_flush_policy = $relay_domains
-#fast_flush_policy =
+fast_flush_domains = $relay_domains
+#fast_flush_domains =
 
 # The fast_flush_purge_time parameter controls how long an empty
 # per-destination "fast flush" logfile is allowed to live. 
index 0d54625ab79aafa5676faebca085f513f56024dd..2433606ad9187fdf7cead7be02157000332841f2 100644 (file)
@@ -1169,7 +1169,7 @@ policy have their mail rejected by the SMTP server.  Like this:
 <blockquote>
 
 <pre>
-550 &lt;user@remote&gt;: Access denied
+554 &lt;user@remote&gt;: Access denied
 </pre>
 
 </blockquote>
@@ -1193,19 +1193,19 @@ LDAP or SQL.
 <pre>
     /etc/postfix/main.cf:
         smtpd_recipient_restrictions =
-            hash:/etc/postfix/restricted_senders
+            check_sender_access hash:/etc/postfix/restricted_senders
             ...other stuff...
 
         smtpd_restriction_classes = local_only
-        local_only = check_sender_access hash:/etc/postfix/local_domains, reject
+        local_only = check_recipient_access hash:/etc/postfix/local_domains, reject
 
     /etc/postfix/restricted_senders:
         foo@domain      local_only
         bar@domain      local_only
 
     /etc/postfix/local_domains:
-        this.domain     OK      (matches this.domain and subdomains)
-        that.domain     OK      (matches that.domain and subdomains)
+        this.domain     OK      <i>matches this.domain and subdomains</i>
+        that.domain     OK      <i>matches that.domain and subdomains</i>
 </pre>
 
 <p>
index e8e5625c62231a076497ccadf007099892512321..d0cea5588e6f7c04b2344118173e5004e91fda94 100644 (file)
@@ -160,11 +160,23 @@ case "$SYSTEM.$RELEASE" in
                esac;;
     Linux.2*)  SYSTYPE=LINUX2
                # Postfix no longer needs DB 1.85 compatibility
-               if [ ! -f /usr/include/db.h -a -f /usr/include/db/db.h ]
+               if [ -f /usr/include/db.h ]
+               then
+                   : we are all set
+               elif [ -f /usr/include/db/db.h ]
                then
                    CCARGS="$CCARGS -I/usr/include/db"
+               else
+                   # No, we're not going to try db1 db2 db3 etc.
+                   # On a properly installed system, Postfix builds
+                   # by including <db.h> and by linking with -ldb
+                   echo "No <db.h> include file found." 1>&2
+                   echo "Install the appropriate db*-devel package first." 1>&2
+                   echo "See the RELEASE_NOTES file for more information." 1>&2
+                   exit 1
                fi
-               for name in db nsl resolv
+               SYSLIBS="-ldb"
+               for name in nsl resolv
                do
                    test -f /usr/lib/lib$name.a && SYSLIBS="$SYSLIBS -l$name"
                done
index 459c0a4d5073d96e57000949b1d60ef1d7b286d6..08a2e4915ec37ccf2d63c0cf5d9cd9bc66851219 100644 (file)
@@ -18,7 +18,7 @@ LIBS  = ../../lib/libglobal.a ../../lib/libutil.a
 all:   $(PROG)
 
 Makefile: Makefile.in
-       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs; cat $?) >$@
+       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
 
 base64decode: base64decode.o $(LIBS)
        $(CC) $(CFLAGS) -o $@ base64decode.o $(LIBS) $(SYSLIBS)
index c0b91e553ea0ee4a2e6d0e276b27e8f64d08c7ca..6557cf0e5f0975bfbee77e393b659805ba01d95d 100644 (file)
@@ -21,7 +21,7 @@ $(PROG):      $(OBJS) $(LIBS)
        $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
 
 Makefile: Makefile.in
-       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs; cat $?) >$@
+       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
 
 test:  $(TESTPROG)
 
index 23923ac6d52644b3e05dcef47e925f7c097d8279..dd13667a6fc2e8df415e57e37217eaeccb6a3085 100644 (file)
@@ -25,7 +25,7 @@ $(PROG):      $(OBJS) $(LIBS)
        $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
 
 Makefile: Makefile.in
-       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs; cat $?) >$@
+       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
 
 test:  $(TESTPROG)
 
index 3e544500e4beffcc3d82f545423bfd990be39c9c..e132be3db589a6d09a0dda350fe5fd528ef4b2c4 100644 (file)
@@ -20,7 +20,7 @@ INC_DIR       = ../../include
 all: $(LIB)
 
 Makefile: Makefile.in
-       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs; cat $?) >$@
+       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
 
 test:  $(TESTPROG)
 
index 82a3493b1ca29c4f88c616d144f691387c0d94cb..2398dea06302af6c5994944c905e7ad98a97ac05 100644 (file)
@@ -19,7 +19,7 @@ $(PROG):      $(OBJS) $(LIBS)
        $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
 
 Makefile: Makefile.in
-       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs; cat $?) >$@
+       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
 
 test:  $(TESTPROG)
 
index 2f0da3e525958475532feb9e20547c88a07b9092..6bdf7d2be0d0e7e04c2238559a1c27244e5eb4ee 100644 (file)
@@ -19,7 +19,7 @@ $(PROG): $(OBJS) $(LIBS)
        $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
 
 Makefile: Makefile.in
-       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs; cat $?) >$@
+       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
 
 test:  $(TESTPROG)
 
index 724341f4663f53c0ede2815d13df1a3ed48153ea..e4d9adc2dadf2fdb1f60696b6696944777875de8 100644 (file)
@@ -44,7 +44,7 @@
 /*     request \fBFLUSH_REQ_REFRESH\fR.
 /* .IP "\fBFLUSH_REQ_REFRESH\fR (completes in the background)"
 /*     Refresh non-empty per-destination logfiles that were not read in
-/*     $\fBfast_flush_refresh_time\fR hours, by simulating
+/*     \fB$fast_flush_refresh_time\fR hours, by simulating
 /*     send requests (see above) for the corresponding destinations.
 /* .sp
 /*     Delete empty per-destination logfiles that were not updated in
@@ -53,7 +53,7 @@
 /*     Refresh all non-empty per-destination logfiles, by simulating
 /*     send requests (see above) for the corresponding destinations.
 /*     This can be incredibly expensive when logging is enabled for
-/*     all deferred mail, and is not recommended.
+/*     many destinations, and is not recommended.
 /* .sp
 /*     Delete empty per-destination logfiles that were not updated in
 /*     \fBfast_flush_purge_time\fR days.
@@ -83,8 +83,8 @@
 /*     \fBmaster.cf\fR configuration file.
 /*
 /*     Upon receipt of a request to deliver all mail for an eligible
-/*     destination, this server requests delivery of all messages that
-/*     are listed in that destination's logfile, regardless of the
+/*     destination, the \fBflush\fR server requests delivery of all messages
+/*     that are listed in that destination's logfile, regardless of the
 /*     recipients of those messages. This is not an issue for mail
 /*     that is sent to a \fBrelay_domains\fR destination because
 /*     such mail typically only has recipients in one domain.
index 95713f1e99afe5fe3b43881dcc25cc3633e89cd6..e5f76b76f9b60b9260dce0b26f163b97a7daf8f1 100644 (file)
@@ -18,7 +18,7 @@ LIBS  = ../../lib/libglobal.a ../../lib/libutil.a
 all:   $(PROG)
 
 Makefile: Makefile.in
-       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs; cat $?) >$@
+       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
 
 fsstone: fsstone.o $(LIBS)
        $(CC) $(CFLAGS) -o $@ fsstone.o $(LIBS) $(SYSLIBS)
index 9c61b72a7bf3671e17c9eb48254ae8ca84dc28e9..6c1b6910f1e9ec1cd03cfcd3e0dda40b842f7bbb 100644 (file)
@@ -78,7 +78,7 @@ MAKES =
 all: $(LIB)
 
 Makefile: Makefile.in
-       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs; cat $?) >$@
+       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
 
 test:  $(TESTPROG)
 
index 6b9b33f29d8adfe7fe15138a9d42e1c1051f3689..cc43c9b7f5c98291d698d4631417791bf47e7adc 100644 (file)
@@ -15,7 +15,7 @@
   * Version of this program.
   */
 #define VAR_MAIL_VERSION       "mail_version"
-#define DEF_MAIL_VERSION       "Snapshot-20001030"
+#define DEF_MAIL_VERSION       "Snapshot-20001109"
 extern char *var_mail_version;
 
 /* LICENSE
index 95cb8cb8c95f5ba9eabd6530c294f1ffb9ba400f..7c8f4db72d85d3c0070598434956c5c606675929 100644 (file)
@@ -21,7 +21,7 @@ $(PROG):      $(OBJS) $(LIBS)
        $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
 
 Makefile: Makefile.in
-       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs; cat $?) >$@
+       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
 
 test:  $(TESTPROG)
 
index ba87abf37bf25569b182ce839f609208bdd4a7fa..76e5fd2a8b9fc31dd3fae80285fb476210c12905 100644 (file)
@@ -25,7 +25,7 @@ $(PROG):      $(OBJS) $(LIBS)
        $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
 
 Makefile: Makefile.in
-       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs; cat $?) >$@
+       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
 
 test:  $(TESTPROG)
 
index 3a4bffece733823b919064c1b1e53d1b67c94b89..c7b1b45a9fd7b59632b25561af1101dad1389817 100644 (file)
@@ -27,7 +27,7 @@ BIN_DIR       = ../../libexec
 all:   $(PROG) $(LIB)
 
 Makefile: Makefile.in
-       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs; cat $?) >$@
+       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
 
 $(PROG): $(OBJS) $(LIBS)
        $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
index 376304e053bf4203483901885e2d4c0cd7d2c140..608f7faa8f4e46c5030fb4d82a730df6cdb28c8d 100644 (file)
@@ -25,7 +25,7 @@ $(PROG):      $(OBJS) $(LIBS)
        $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
 
 Makefile: Makefile.in
-       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs; cat $?) >$@
+       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
 
 test:  $(TESTPROG)
 
index 29ee05a4fd289f9300fc1a70219042f135d85b97..028850ed2b986e3cb13982c15dc748af96d06cc3 100644 (file)
@@ -141,13 +141,12 @@ void    qmgr_queue_unthrottle(QMGR_QUEUE *queue)
 
     /*
      * Increase the destination's concurrency limit until we reach the
-     * transport's concurrency limit. Set the destination's concurrency limit
-     * to the actual concurrency + 1, so that qmgr_queue_throttle() takes
-     * effect quickly.
+     * transport's concurrency limit.
      */
     if (transport->dest_concurrency_limit == 0
-       || transport->dest_concurrency_limit > queue->busy_refcount)
-       queue->window = queue->busy_refcount + 1;
+       || transport->dest_concurrency_limit > queue->window)
+       if (queue->window <= queue->busy_refcount)
+           queue->window++;
 }
 
 /* qmgr_queue_throttle - handle destination delivery failure */
index 0e2120b210f369810d32f4e01086241ff12712d4..19f5688fc7408317e7158c4b5474a7ccaf658aa2 100644 (file)
@@ -19,7 +19,7 @@ $(PROG): $(OBJS) $(LIBS)
        $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
 
 Makefile: Makefile.in
-       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs; cat $?) >$@
+       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
 
 test:  $(TESTPROG)
 
index 597b994e443b3554273f6da85a97bf2297bc4281..8575f30fbd46e5bac13bc11634ea30f98c7f5198 100644 (file)
@@ -19,7 +19,7 @@ $(PROG):      $(OBJS) $(LIBS)
        $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
 
 Makefile: Makefile.in
-       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs; cat $?) >$@
+       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
 
 test:  $(TESTPROG)
 
index ad616647c66c9b873fa0c2820fa56b5a72aacf68..1fbc2a67d5496a6556591164e0635b8fbac91987 100644 (file)
@@ -19,7 +19,7 @@ $(PROG): $(OBJS) $(LIBS)
        $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
 
 Makefile: Makefile.in
-       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs; cat $?) >$@
+       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
 
 test:  $(TESTPROG)
 
index 5cdac2d992b05b12b2a44efd53ead7f16657a4a8..c753f9aeaeba381f97d44c24a256e9476a977a3d 100644 (file)
@@ -19,7 +19,7 @@ $(PROG): $(OBJS) $(LIBS)
        $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
 
 Makefile: Makefile.in
-       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs; cat $?) >$@
+       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
 
 test:  $(TESTPROG)
 
index deebdbacfd82b9a306c03afaf5888ccf3aea71dc..d6720d5cd30b7ef5158c6d0e71504778aa0fb022 100644 (file)
@@ -26,7 +26,7 @@ $(PROG): $(OBJS) $(LIBS)
        ./$(PROG) -d |egrep -v '^(myhostname|mydomain|mynetworks) ' >$@
 
 Makefile: Makefile.in
-       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs; cat $?) >$@
+       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
 
 test:  $(TESTPROG)
 
index 4cb1152916b12f17eb9e51dd52397c1ed9c30443..8a1a5983cf777e81e29f5ed2602c307323513099 100644 (file)
@@ -19,7 +19,7 @@ $(PROG): $(OBJS) $(LIBS)
        $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
 
 Makefile: Makefile.in
-       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs; cat $?) >$@
+       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
 
 test:  $(TESTPROG)
 
index d2e90caa2bb210a3a08c2ae14b2e67636a5cd3f9..3b651dbecc310b142983f88722713e673fdaed09 100644 (file)
@@ -20,7 +20,7 @@ $(PROG):      $(OBJS) $(LIBS)
        $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
 
 Makefile: Makefile.in
-       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs; cat $?) >$@
+       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
 
 test:  $(TESTPROG)
 
index 3f037226c1337702fe057d7f2476d14dd2bfd60b..b34c9673614f2aa11efc3124de0e95a070ecd1d8 100644 (file)
@@ -19,7 +19,7 @@ $(PROG): $(OBJS) $(LIBS)
        $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
 
 Makefile: Makefile.in
-       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs; cat $?) >$@
+       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
 
 test:  $(TESTPROG)
 
index 0ef73a5957d015e40f1ef30a484cbb1bef1a1a24..3ce69b3e6c09f0af90681814c4eb3bf755e29e4a 100644 (file)
@@ -19,7 +19,7 @@ $(PROG): $(OBJS) $(LIBS)
        $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
 
 Makefile: Makefile.in
-       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs; cat $?) >$@
+       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
 
 test:  $(TESTPROG)
 
index a5988ea049168b060eca7f2bb18cd878a65f2950..c1c5948dd97ba166692c46e179707a3d5d6f8d1d 100644 (file)
@@ -20,7 +20,7 @@ $(PROG):      $(OBJS) $(LIBS)
        $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
 
 Makefile: Makefile.in
-       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs; cat $?) >$@
+       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
 
 test:  $(TESTPROG)
 
index fe6ba1bba89515492023d679412b6a1bf4fd3fc2..b2d64c2bf1d9b1e29e4bc60f34cf127925ec3332 100644 (file)
@@ -19,7 +19,7 @@ $(PROG):      $(OBJS) $(LIBS)
        $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
 
 Makefile: Makefile.in
-       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs; cat $?) >$@
+       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
 
 test:  $(TESTPROG)
 
index c2f4dca686dbbd75594603338b0ddb6162bc2e5e..3ff67a4d3df161ca8bb3475b3fcc89d3d0bfdb1b 100644 (file)
@@ -19,7 +19,7 @@ $(PROG):      $(OBJS) $(LIBS)
        $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
 
 Makefile: Makefile.in
-       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs; cat $?) >$@
+       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
 
 test:  $(TESTPROG)
 
index ad3320b48a9ac4682c63dbd85de97dc687096228..91f57e21ff54fa9c8606dc5c8b10fecd8bfc7ce6 100644 (file)
@@ -23,7 +23,7 @@ $(PROG):      $(OBJS) $(LIBS)
        $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
 
 Makefile: Makefile.in
-       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs; cat $?) >$@
+       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
 
 test:  $(TESTPROG)
 
index f210b547f92dc1c7d303d6cd4b8cf4253b650f9e..985e6118d8e6432165ef4acf266854165dc1395e 100644 (file)
@@ -143,13 +143,12 @@ void    qmgr_queue_unthrottle(QMGR_QUEUE *queue)
 
     /*
      * Increase the destination's concurrency limit until we reach the
-     * transport's concurrency limit. Set the destination's concurrency limit
-     * to the actual concurrency + 1, so that qmgr_queue_throttle() takes
-     * effect quickly.
+     * transport's concurrency limit.
      */
     if (transport->dest_concurrency_limit == 0
-       || transport->dest_concurrency_limit > queue->busy_refcount)
-       queue->window = queue->busy_refcount + 1;
+       || transport->dest_concurrency_limit > queue->window)
+       if (queue->window <= queue->busy_refcount)
+           queue->window++;
 }
 
 /* qmgr_queue_throttle - handle destination delivery failure */
index acbbef24b15e0008583eeb97ae9156726fec4b3d..0f9f5a4786ce9a86f6374420afcacc0c6b222e8d 100644 (file)
@@ -19,7 +19,7 @@ $(PROG): $(OBJS) $(LIBS)
        $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
 
 Makefile: Makefile.in
-       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs; cat $?) >$@
+       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
 
 test:  $(TESTPROG)
 
index 3418afb2bc0b352fa2792dc549fc07594f5ef15e..23d15c420d5463146f443230b4e9eb42959db9e8 100644 (file)
@@ -19,7 +19,7 @@ $(PROG): $(OBJS) $(LIBS)
        $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
 
 Makefile: Makefile.in
-       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs; cat $?) >$@
+       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
 
 test:  $(TESTPROG)
 
index c11599ef3e9381728f29611fffa14441570d4b43..0e31ac857a3f74db6019db645c55501ab71c79b0 100644 (file)
@@ -23,7 +23,7 @@ $(PROG):      $(OBJS) $(LIBS)
        $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
 
 Makefile: Makefile.in
-       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs; cat $?) >$@
+       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
 
 test:  $(TESTPROG)
 
index 34d6860b82e77f265d953dbaca4ad2d396fc390d..f445c15f4d798ef924a5035ef2988168d2cb35ba 100644 (file)
@@ -22,7 +22,7 @@ $(PROG): $(OBJS) $(LIBS)
        $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
 
 Makefile: Makefile.in
-       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs; cat $?) >$@
+       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
 
 test:  $(TESTPROG)
 
index e4d73e7af28c31cfaee98c577751bbe1a1ccb8b8..5cf7920e0e688b214e9ceb25b2ecacbc3abf934a 100644 (file)
@@ -18,7 +18,7 @@ LIBS  = ../../lib/libglobal.a ../../lib/libutil.a
 all:   $(PROG)
 
 Makefile: Makefile.in
-       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs; cat $?) >$@
+       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
 
 smtp-sink: smtp-sink.o $(LIBS)
        $(CC) $(CFLAGS) -o $@ smtp-sink.o $(LIBS) $(SYSLIBS)
index dad6232a46c26cb088007a206cf7d3623fa2b421..1269837e172169a3dce7ac3469384e42eae0a655 100644 (file)
@@ -19,7 +19,7 @@ $(PROG):      $(OBJS) $(LIBS)
        $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
 
 Makefile: Makefile.in
-       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs; cat $?) >$@
+       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
 
 test:  $(TESTPROG)
 
index 07421aa8318e940fe4df6ae624c559eed6f266e5..1065ce0cfeac53eddb554b1dc05e1a1b62b116ed 100644 (file)
@@ -24,7 +24,7 @@ $(PROG): $(OBJS) $(LIBS)
        $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) $(SYSLIBS)
 
 Makefile: Makefile.in
-       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs; cat $?) >$@
+       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
 
 test:  $(TESTPROG)
 
index 4c3621fdc67fed7a41e5cad044d23494b9c1c59c..62bf907533d8d4f2e7b72b8454a53e53d34d8c94 100644 (file)
@@ -87,7 +87,7 @@ INC_DIR       = ../../include
 all: $(LIB)
 
 Makefile: Makefile.in
-       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs; cat $?) >$@
+       (set -e; echo "# DO NOT EDIT"; $(OPTS) $(SHELL) ../../makedefs && cat $?) >$@
 
 test:  $(TESTPROG)
 
index 82a7a0c9017972933cdc987007d9f55f955d3d09..23294f9791151695919858b45aaa1d1990ccc6af 100644 (file)
@@ -124,7 +124,7 @@ typedef struct VSTREAM_POPEN_ARGS {
 
 /* vstream_parse_args - get arguments from variadic list */
 
-static VSTREAM *vstream_parse_args(VSTREAM_POPEN_ARGS *args, va_list ap)
+static void vstream_parse_args(VSTREAM_POPEN_ARGS *args, va_list ap)
 {
     char   *myname = "vstream_parse_args";
     int     key;