Source-Changes-HG archive

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

[src/trunk]: src/gnu/dist/postfix Import 19991231 Patch Level 12. Numerous bu...



details:   https://anonhg.NetBSD.org/src/rev/5680faf6f9e4
branches:  trunk
changeset: 500296:5680faf6f9e4
user:      perry <perry%NetBSD.org@localhost>
date:      Sat Dec 09 16:52:26 2000 +0000

description:
Import 19991231 Patch Level 12. Numerous bug fixes.

diffstat:

 gnu/dist/postfix/.indent.pro                 |    1 +
 gnu/dist/postfix/DB_README                   |   68 ++++++++
 gnu/dist/postfix/HISTORY                     |  163 +++++++++++++++++++++
 gnu/dist/postfix/Makefile                    |    4 +-
 gnu/dist/postfix/Makefile.in                 |    4 +-
 gnu/dist/postfix/Makefile.init               |    4 +-
 gnu/dist/postfix/RELEASE_NOTES               |   28 +++
 gnu/dist/postfix/auxiliary/rmail/rmail       |    7 +-
 gnu/dist/postfix/bounce/.indent.pro          |    1 +
 gnu/dist/postfix/bounce/Makefile.in          |    2 +-
 gnu/dist/postfix/cleanup/.indent.pro         |    1 +
 gnu/dist/postfix/cleanup/Makefile.in         |    6 +-
 gnu/dist/postfix/cleanup/cleanup_map1n.c     |   17 +-
 gnu/dist/postfix/cleanup/cleanup_message.c   |   21 +-
 gnu/dist/postfix/dns/.indent.pro             |    1 +
 gnu/dist/postfix/dns/Makefile.in             |    2 +-
 gnu/dist/postfix/dns/dns_lookup.c            |   11 +
 gnu/dist/postfix/error/.indent.pro           |    1 +
 gnu/dist/postfix/error/Makefile.in           |    2 +-
 gnu/dist/postfix/fsstone/.indent.pro         |    1 +
 gnu/dist/postfix/fsstone/Makefile.in         |    2 +-
 gnu/dist/postfix/global/.indent.pro          |    1 +
 gnu/dist/postfix/global/Makefile.in          |   19 +-
 gnu/dist/postfix/global/abounce.c            |  208 +++++++++++++++++++++++++++
 gnu/dist/postfix/global/abounce.h            |   39 +++++
 gnu/dist/postfix/global/mail_addr_crunch.c   |    1 +
 gnu/dist/postfix/global/mail_params.h        |    2 +-
 gnu/dist/postfix/global/mail_version.h       |    2 +-
 gnu/dist/postfix/global/quote_822_local.c    |    2 +-
 gnu/dist/postfix/html/Makefile.in            |    2 +-
 gnu/dist/postfix/html/faq.html               |   29 +---
 gnu/dist/postfix/local/.indent.pro           |    1 +
 gnu/dist/postfix/local/Makefile.in           |    3 +-
 gnu/dist/postfix/local/maildir.c             |    4 +-
 gnu/dist/postfix/local/recipient.c           |    6 +
 gnu/dist/postfix/makedefs                    |   19 +-
 gnu/dist/postfix/man/Makefile.in             |    2 +-
 gnu/dist/postfix/master/.indent.pro          |    1 +
 gnu/dist/postfix/master/Makefile.in          |    2 +-
 gnu/dist/postfix/pickup/.indent.pro          |    1 +
 gnu/dist/postfix/pickup/Makefile.in          |    2 +-
 gnu/dist/postfix/pipe/.indent.pro            |    1 +
 gnu/dist/postfix/pipe/Makefile.in            |    2 +-
 gnu/dist/postfix/postalias/.indent.pro       |    1 +
 gnu/dist/postfix/postalias/Makefile.in       |    2 +-
 gnu/dist/postfix/postalias/postalias.c       |    6 +
 gnu/dist/postfix/postcat/.indent.pro         |    1 +
 gnu/dist/postfix/postcat/Makefile.in         |    2 +-
 gnu/dist/postfix/postconf/.indent.pro        |    1 +
 gnu/dist/postfix/postconf/Makefile.in        |    2 +-
 gnu/dist/postfix/postdrop/.indent.pro        |    1 +
 gnu/dist/postfix/postdrop/Makefile.in        |    2 +-
 gnu/dist/postfix/postfix/.indent.pro         |    1 +
 gnu/dist/postfix/postfix/Makefile.in         |    2 +-
 gnu/dist/postfix/postkick/.indent.pro        |    1 +
 gnu/dist/postfix/postkick/Makefile.in        |    2 +-
 gnu/dist/postfix/postlock/.indent.pro        |    1 +
 gnu/dist/postfix/postlock/Makefile.in        |    2 +-
 gnu/dist/postfix/postlog/.indent.pro         |    1 +
 gnu/dist/postfix/postlog/Makefile.in         |    2 +-
 gnu/dist/postfix/postmap/.indent.pro         |    1 +
 gnu/dist/postfix/postmap/Makefile.in         |    2 +-
 gnu/dist/postfix/postsuper/.indent.pro       |    1 +
 gnu/dist/postfix/postsuper/Makefile.in       |    2 +-
 gnu/dist/postfix/qmgr/.indent.pro            |    1 +
 gnu/dist/postfix/qmgr/Makefile.in            |    3 +-
 gnu/dist/postfix/qmgr/qmgr_active.c          |  120 +++++++++++++--
 gnu/dist/postfix/qmgr/qmgr_message.c         |    7 +
 gnu/dist/postfix/qmgr/qmgr_queue.c           |   10 +-
 gnu/dist/postfix/sendmail/.indent.pro        |    1 +
 gnu/dist/postfix/sendmail/Makefile.in        |    2 +-
 gnu/dist/postfix/showq/.indent.pro           |    1 +
 gnu/dist/postfix/showq/Makefile.in           |    2 +-
 gnu/dist/postfix/smtp/.indent.pro            |    1 +
 gnu/dist/postfix/smtp/Makefile.in            |    2 +-
 gnu/dist/postfix/smtp/quote_821_local.c      |    2 +-
 gnu/dist/postfix/smtp/smtp_connect.c         |    6 +
 gnu/dist/postfix/smtpd/.indent.pro           |    1 +
 gnu/dist/postfix/smtpd/Makefile.in           |    3 +-
 gnu/dist/postfix/smtpd/smtpd.c               |   15 +-
 gnu/dist/postfix/smtpstone/.indent.pro       |    1 +
 gnu/dist/postfix/smtpstone/Makefile.in       |    2 +-
 gnu/dist/postfix/spawn/.indent.pro           |    1 +
 gnu/dist/postfix/spawn/Makefile.in           |    2 +-
 gnu/dist/postfix/trivial-rewrite/.indent.pro |    1 +
 gnu/dist/postfix/trivial-rewrite/Makefile.in |    2 +-
 gnu/dist/postfix/util/.indent.pro            |    1 +
 gnu/dist/postfix/util/Makefile.in            |    3 +-
 gnu/dist/postfix/util/make_dirs.c            |    8 +-
 gnu/dist/postfix/util/watchdog.h             |    1 +
 90 files changed, 808 insertions(+), 123 deletions(-)

diffs (truncated from 1982 to 300 lines):

diff -r 325ad7013b7c -r 5680faf6f9e4 gnu/dist/postfix/.indent.pro
--- a/gnu/dist/postfix/.indent.pro      Sat Dec 09 15:16:01 2000 +0000
+++ b/gnu/dist/postfix/.indent.pro      Sat Dec 09 16:52:26 2000 +0000
@@ -1,3 +1,4 @@
+-TABOUNCE
 -TALIAS_TOKEN
 -TARGV
 -TBH_TABLE
diff -r 325ad7013b7c -r 5680faf6f9e4 gnu/dist/postfix/DB_README
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/gnu/dist/postfix/DB_README        Sat Dec 09 16:52:26 2000 +0000
@@ -0,0 +1,68 @@
+Purpose of this document
+========================
+
+This document describes how to build Postfix with third-party
+Berkeley DB from www.sleepycat.com, or how to choose a specific
+Berkeley DB version when your system provides multiple implementations.
+
+Building Postfix with Sleepycat Berkeley DB
+===========================================
+
+Many commercial UNIXes ship without Berkeley DB support. Examples
+are Solaris, HP-UX, IRIX, UNIXWARE. In order to build Postfix with
+Berkeley DB support you need to download and install the source
+code from www.sleepycat.com.
+
+To build Postfix after you installed the Berkeley DB from Sleepycat,
+use something like:
+
+    % make tidy
+    % make makefiles CCARGS="-DHAS_DB -I/usr/local/BerkeleyDB.3.1/include" \
+       AUXLIBS=/usr/local/BerkeleyDB.3.1/lib/libdb.a
+    % make
+
+The exact pathnames depend on the DB version that you installed.
+For example, Berkeley DB version 2 installs in /usr/local/BerkeleyDB.
+
+Beware, the file format produced by Berkeley DB version 1 is not
+compatible with that of versions 2 and 3 (versions 2 and 3 have
+the same format). If you switch between DB versions, then you may
+have to rebuild all your Postfix DB files.
+
+Building Postfix on BSD systems with a specific Berkeley DB version
+===================================================================
+
+Some BSD systems ship with multiple Berkeley DB implementations.
+Normally, Postfix builds with the default DB version that ships
+with the system.
+
+To build Postfix on BSD systems with a specific DB version, use a
+variant of the following commands:
+
+    % make tidy
+    % make makefiles CCARGS=-I/usr/include/db2 AUXLIBS=-ldb2
+    % make
+
+Beware, the file format produced by Berkeley DB version 1 is not
+compatible with that of versions 2 and 3 (versions 2 and 3 have
+the same format). If you switch between DB versions, then you may
+have to rebuild all your Postfix DB files.
+
+Building Postfix on Linux with a specific Berkeley DB version
+=============================================================
+
+Some Linux systems systems ship with multiple Berkeley DB
+implementations.  Normally, Postfix builds with the default DB
+version that ships with the system.
+
+On Linux, you need to edit the makedefs script in order to specify
+a non-default DB library.
+
+The reason is that the location of the default db.h include file
+changes randomly between vendors and between versions, so that
+Postfix has to choose the file for you.
+
+Beware, the file format produced by Berkeley DB version 1 is not
+compatible with that of versions 2 and 3 (versions 2 and 3 have
+the same format). If you switch between DB versions, then you may
+have to rebuild all your Postfix DB files.
diff -r 325ad7013b7c -r 5680faf6f9e4 gnu/dist/postfix/HISTORY
--- a/gnu/dist/postfix/HISTORY  Sat Dec 09 15:16:01 2000 +0000
+++ b/gnu/dist/postfix/HISTORY  Sat Dec 09 16:52:26 2000 +0000
@@ -3639,10 +3639,20 @@
 
 20000308
 
+       Bugfix: the unused db and dbm "delete" routines would
+       clobber the per-dictionary flags when called before reading
+       or writing the table. Files: util/dict_dbm.c, util/dict_db.c.
+       Lutz Jaenicke @ aet.TU-Cottbus.DE.
+
        Bugfix: the SMTP server would produce a cryptic message
        when a queue file write error happened before it had written
        any recipients.  Keith Stevenson. File: smtpd/smtpd.c.
 
+       Robustness: the db and dbm "delete" routines didn't adjust
+       to dictionaries with/without one trailing null in lookup
+       keys and values. Did a complete rewrite of the routines.
+       Files: util/dict_db.c, util/dict_dbm.c.
+
 20000311
 
        Portability: HP-UX awk can't handle bare { in regexps
@@ -3732,3 +3742,156 @@
        feature uses the same filtering syntax as the header_checks
        feature.  File:  cleanup/cleanup_message.c. See also the
        conf/sample-filter.cf file.
+
+20000617
+
+       Bugfix: the maildir delivery routine left temporary files
+       lying around after unsuccessful delivery (problem reported
+       by Brian Laughton @ Corp.Axxent.Ca).
+
+20000621
+
+       AIX 4.x had POSIX regular expression support all the time
+       I was working on Postfix. Better find out late than never.
+
+20000623
+
+       Bugfix: the SMTP server did not reset the so-called junk
+       command counter after successfull delivery (Mark Hoffman
+       @ wallst.com).  File: smtpd/smtpd.c.
+
+20000708
+
+       Portability: support for NEXT/OPENSTEP requires extra
+       include file in util/watchdog.c (Masaki Murase).
+
+20000718
+
+       Robustness: make_dirs() now continues when a missing
+       directory is created by another process.
+
+20000726
+
+       Robustness: added watchdog_pat() routine to keep the watchdog
+       quiet if a client stays connected for a lot of time. Files:
+       util/watchdog.[hc], smtpd/smtpd.c.
+
+20000729
+
+       Robustness: if relayhost is specified but the host does
+       not exist, defer mail instead of bouncing it (which would
+       lose the mail if the bounce would have to be delivered to
+       that same non-existent relayhost). Problem reported by
+       Chris Cooper @ maths.ox.ac.uk. File: smtp/smtp_connect.c.
+
+20000821
+
+       Cleanup: smtpd now replies with 555 when the client sends
+       unrecognized RCPT TO parameters, as required by RFC 1869
+       (problem report by Robert Norris @ its.monash.edu.au).
+       File: smtpd/smtpd.c.
+
+20000905
+
+       Robustness: the dns client now rejects malformed domain
+       names rather than depending on the DNS to report that the
+       name does not exist. Linux returns a rather misleading
+       server failure code as found out by Patrik Rak. File:
+       dns/dns_lookup.c.
+
+20000913
+
+       Bugfix: the rmail script did not handle remote UUCP systems
+       that send a from_ line with unqualified envelope sender.
+       Reported by Luciano Mannucci.
+
+       Compatibility: don't insert Sender: header lines. Sendmail
+       has not done so for at least 10 years, if it ever did.
+       Problem reported by Brad Knowles. File: cleanup/cleanup_message.c.
+
+20000916
+
+       Bugfix: when propagating an address extension in a virtual
+       or canonical mapping, cleanup accesses memory that is no
+       longer allocated. This can happen when the result address
+       length is more than 100 characters.  Problem reported by
+       Adi Prasaja @ satunet.com. File: global/mail_addr_crunch.c.
+
+       Bugfix: fixed a misleading error message when the cleanup
+       server reaches the queue file size limit. Fix by Robby
+       Griffin @ MIT.EDU.  File: cleanup/cleanup_message.c.
+
+20000917
+
+       Bugfix: postalias -i would complain about duplicate entries
+       for the Sendmail-compatible @ entry and for the NIS-compatible
+       YP_LAST_MODIFIED and YP_MASTER_NAME entries.
+
+20000918
+
+       Gross hack: prevent looping on a bad recipient by always
+       forwarding recipients in :include: files to a new mail
+       delivery request, even when owner-listname is not set.
+       File: local/recipient.c.
+
+20001003
+
+       Unfeature: qmgr_hog_factor is now disabled by default. It
+       was just too confusing. If you don't know what this means,
+       do not worry.
+
+20001025
+
+       Bugfix: virtual map expansion stopped too early with
+       self-referential aliases. Reported by Michael Douglass
+       @ datafoundry.net. File: cleanup/cleanup_map1n.c.
+
+20001026
+
+       Horror:  postmap and postalias (newaliases) silently lose
+       the file lock while building a lookup table with Berkeley
+       DB 2.x and later on Solaris, HP-UX, IRIX, and UNIXWARE.
+       The result is that table lookups fail while the table is
+       being built, so that mail is lost.  In order to avoid this
+       misbehavior one has to use an undocumented feature that is
+       NOT available with the DB1.85 compatibility interface.
+       Therefore, Postfix now supports three Berkeley DB programming
+       interfaces of increasing complexity. File: util/dict_db.c.
+
+       Bugfix: some character manipulations were not portable for
+       signed/unsigned characters. Files: global/quote_821_local.c,
+       global/quote_822_local.c.
+
+20001030
+
+       Bugfix: further testing in preparation for 19991231-pl10
+       revealed that the DB map code was now broken for every
+       platform.
+
+20001104
+
+       Portability: RedHat Linux has changed incompatibly, again.
+       Fixed with the help of Matthias Andree.  File: makedefs.
+
+20001119
+
+       Bugfix: per-destination queue names were case sensitive so
+       that the same site could have multiple queues.  Reported
+       by Patrik Rak. File: qmgr/qmgr_message.c.
+
+20001121
+
+       Performance: the slow start (gradually increase number of
+       parallel connections to the same site) was too gentle and
+       Postfix would back off too quickly.  Final solution by
+       Patrik Rak. File: qmgr/qmgr_message.c.
+
+20001208
+
+       Bugfix: while processing massive amounts of one-recipient
+       mail, qmgr could deadlock for 10 seconds while sending a
+       bounce message. All queue manager bounce send requests are
+       now implemented asynchronously.  Files: global/abounce.[hc]
+       (asynchronous bounce client), qmgr/qmgr_active.c.  Problem
+       reported by El Bunzo (webpower.nl) and Tiger Technologies
+       (tigertech.com).
diff -r 325ad7013b7c -r 5680faf6f9e4 gnu/dist/postfix/Makefile
--- a/gnu/dist/postfix/Makefile Sat Dec 09 15:16:01 2000 +0000
+++ b/gnu/dist/postfix/Makefile Sat Dec 09 16:52:26 2000 +0000
@@ -12,7 +12,7 @@
 default: update
 
 update depend printfck clean tidy depend_update: Makefiles
-       $(MAKE) $@
+       $(MAKE) $@ MAKELEVEL=
 
 makefiles Makefiles:
-       $(MAKE) -f Makefile.in Makefiles
+       $(MAKE) -f Makefile.in Makefiles MAKELEVEL=
diff -r 325ad7013b7c -r 5680faf6f9e4 gnu/dist/postfix/Makefile.in
--- a/gnu/dist/postfix/Makefile.in      Sat Dec 09 15:16:01 2000 +0000
+++ b/gnu/dist/postfix/Makefile.in      Sat Dec 09 16:52:26 2000 +0000
@@ -11,9 +11,9 @@
 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 \
diff -r 325ad7013b7c -r 5680faf6f9e4 gnu/dist/postfix/Makefile.init
--- a/gnu/dist/postfix/Makefile.init    Sat Dec 09 15:16:01 2000 +0000
+++ b/gnu/dist/postfix/Makefile.init    Sat Dec 09 16:52:26 2000 +0000
@@ -12,7 +12,7 @@
 default: update
 
 update depend printfck clean tidy depend_update: Makefiles
-       $(MAKE) $@
+       $(MAKE) $@ MAKELEVEL=
 
 makefiles Makefiles:



Home | Main Index | Thread Index | Old Index