summaryrefslogtreecommitdiff
path: root/mail/postfix-current
diff options
context:
space:
mode:
authoritojun <itojun@pkgsrc.org>2001-01-13 07:46:57 +0000
committeritojun <itojun@pkgsrc.org>2001-01-13 07:46:57 +0000
commit1fb64fe002ed1d09a5782b1de265d562701a02d0 (patch)
treebb0eb4d626cd2c92e3fda334bda011c5d5837387 /mail/postfix-current
parent4415486720df78f4106259fbe97d6e674c338685 (diff)
downloadpkgsrc-1fb64fe002ed1d09a5782b1de265d562701a02d0.tar.gz
upgrade to 20001217 snapshot.
Major changes with snapshot-20001217 ==================================== This release involves little change in functionality and a lot of small changes to lots of files. The code is put out as a separate snapshot release so that I have a tested baseline for further work. All time-related configuration parameters now accept a one-letter suffix to indicate the time unit (s: second, m: minute, h: hour, d: day, w: week). The exceptions are the LDAP and MYSQL modules which are maintained separately. The mysql client was partially rewritten in order to elimimate some memory allocation/deallocation problems. The code needs more work, and needs to be tested in a real production environment. The local_transport and default_transport configuration parameters can now be specified in transport:destination notation, just like the mailbox_transport and fallback_transport parameters. The :destination part is optional. However, these parameters take only one destination, unlike relayhost and fallback-relay which take any number of destinations. Incompatible changes with snapshot-20001210 =========================================== If this release does not work for you, you can go back to a previous Postfix version without losing your mail, subject to the "incompatible changes" listed for previous Postfix releases below. When delivering to /file/name (as directed in an alias or .forward file), the local delivery agent now logs a warning when it is unable to create a /file/name.lock file. Mail is still delivered as before. The "sun_mailtool_compatibility" feature is going away (a compatibility mode that turns off kernel locks on mailbox files). It still works, but a warning is logged. Instead of using "sun_mailtool_compatibility", specify the mailbox locking strategy as "mailbox_delivery_lock = dotlock". The Postfix SMTP client now skips SMTP server replies that do not start with "CODE SPACE" or with "CODE HYPHEN" and flags them as protocol errors. Older Postfix SMTP clients silently treated "CODE TEXT" as "CODE SPACE TEXT", i.e. as a valid SMTP reply. This snapshot does not yet change default relay settings. That change alone affects a dozen files, most of which documentation. This may be an incompatibility with some people's expectations, but such are my rules - between code freeze and release no major functionality changes are allowed. Several interfaces of libutil and libglobal routines have changed. This may break third-party code written for Postfix. In particular, the safe_open() routine has changed, the way the preferred locking method is specified in the sys_defs.h file, as well as all routines that perform file locking. When compiling third-party code written for Postfix, the incompatibilities will be detected by the compiler provided that #include file dependencies are properly maintained. Major changes with snapshot-20001210 ==================================== This snapshot includes bugfixes that were already released as patches 12 and 13 for the 19991231 "stable" release: - The queue manager could deadlock for 10 seconds when bouncing mail under extreme load from one-to-one mass mailings. - Local delivery performance was substandard, because the per-user concurrency limit accidentally applied to the entire local domain. The mailbox locking style is now fully configurable at runtime. The new configuration parameter is called "mailbox_delivery_lock". Depending on the operating system type, mailboxes can be locked with one or more of "flock", "fcntl" or "dotlock". The command "postconf -l" shows the available locking styles. The default mailbox locking style is system dependent. This change affects all mailbox and all "/file/name" deliveries by the Postfix local delivery agent. The new "import_environment" and "export_environment" configuration parameters now provide explicit control over what environment variables Postfix will import, and what environment variables Postfix will pass on to a non-Postfix process. This is better than hard-coding my debugging environment into public releases. The "mailbox_transport" and "fallback_transport" parameters now understand the form "transport:nexthop", with suitable defaults when either transport or nexthop are omitted, just like in the Postfix transport map. This allows you to specify for example, "mailbox_transport = lmtp:unix:/file/name". The MYSQL client now supports server connections over UNIX-domain sockets. Code provided by Piotr Klaban. See the file MYSQL_README for examples of "host" syntax.
Diffstat (limited to 'mail/postfix-current')
-rw-r--r--mail/postfix-current/Makefile8
-rw-r--r--mail/postfix-current/files/md56
-rw-r--r--mail/postfix-current/files/patch-sum4
-rw-r--r--mail/postfix-current/patches/patch-af39
-rw-r--r--mail/postfix-current/pkg/PLIST3
5 files changed, 36 insertions, 24 deletions
diff --git a/mail/postfix-current/Makefile b/mail/postfix-current/Makefile
index 4919b4494c2..6b3951900a8 100644
--- a/mail/postfix-current/Makefile
+++ b/mail/postfix-current/Makefile
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.11 2000/12/04 08:30:53 itojun Exp $
+# $NetBSD: Makefile,v 1.12 2001/01/13 07:46:57 itojun Exp $
-DISTNAME= snapshot-20001121
-PKGNAME= postfix-20001121
+DISTNAME= snapshot-20001217
+PKGNAME= postfix-20001217
CATEGORIES= mail
MASTER_SITES= ftp://postfix.cloud9.net/experimental/
-PATCHFILES= postfix-20001121snap-v6-20001204a.diff.gz
+PATCHFILES= postfix-20001217snap-v6-20010113a.diff.gz
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
PATCH_DIST_STRIP+= -p1
diff --git a/mail/postfix-current/files/md5 b/mail/postfix-current/files/md5
index 3fe6a1271a3..d90d3445502 100644
--- a/mail/postfix-current/files/md5
+++ b/mail/postfix-current/files/md5
@@ -1,4 +1,4 @@
-$NetBSD: md5,v 1.5 2000/12/04 08:30:54 itojun Exp $
+$NetBSD: md5,v 1.6 2001/01/13 07:46:57 itojun Exp $
-MD5 (postfix/snapshot-20001121.tar.gz) = c2c20ea7ba47c42af8c2da6ffbef855c
-MD5 (postfix/postfix-20001121snap-v6-20001204a.diff.gz) = f8825df774e637d289a773c347f98505
+MD5 (postfix/snapshot-20001217.tar.gz) = b6ef69548b58b23001dd9d3c56896aba
+MD5 (postfix/postfix-20001217snap-v6-20010113a.diff.gz) = d0044d15bf4a64a4b007c53e92a3cb71
diff --git a/mail/postfix-current/files/patch-sum b/mail/postfix-current/files/patch-sum
index 15e955469fc..ae57ecc6069 100644
--- a/mail/postfix-current/files/patch-sum
+++ b/mail/postfix-current/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.10 2000/10/23 09:38:49 itojun Exp $
+$NetBSD: patch-sum,v 1.11 2001/01/13 07:46:57 itojun Exp $
MD5 (patch-aa) = 0a48c33ffe8acb4085221bbeedc4f164
-MD5 (patch-af) = 5ad4a94cfb01558b6097da27af5ba84f
+MD5 (patch-af) = 0ecd0dd8ffa61668aaab2422862f51b5
diff --git a/mail/postfix-current/patches/patch-af b/mail/postfix-current/patches/patch-af
index 93fc233f5ad..3b68173a39d 100644
--- a/mail/postfix-current/patches/patch-af
+++ b/mail/postfix-current/patches/patch-af
@@ -1,17 +1,24 @@
-$NetBSD: patch-af,v 1.5 2000/10/15 14:10:20 itojun Exp $
+$NetBSD: patch-af,v 1.6 2001/01/13 07:46:57 itojun Exp $
---- conf/main.cf.orig Fri Oct 6 00:01:00 2000
-+++ conf/main.cf Wed Oct 11 11:40:57 2000
-@@ -1 +1,3 @@
-+# $NetBSD: patch-af,v 1.5 2000/10/15 14:10:20 itojun Exp $
+--- conf/main.cf.orig Fri Dec 15 07:44:19 2000
++++ conf/main.cf Sat Jan 13 16:39:28 2001
+@@ -1,3 +1,5 @@
++# $NetBSD: patch-af,v 1.6 2001/01/13 07:46:57 itojun Exp $
+#
# Global Postfix configuration file. This file lists only a subset
-@@ -19,3 +21,3 @@
+ # of all 100+ parameters. See the sample-xxx.cf files for a full list.
+ #
+@@ -28,14 +30,19 @@
+ # The command_directory parameter specifies the location of all
+ # postXXX commands. The default value is $program_directory.
#
-command_directory = /usr/sbin
+command_directory = __PREFIX/sbin
-@@ -26,3 +28,8 @@
+ # The daemon_directory parameter specifies the location of all Postfix
+ # daemon programs (i.e. programs listed in the master.cf file). The
+ # default value is $program_directory. This directory must be owned
+ # by root.
#
-daemon_directory = /usr/libexec/postfix
+daemon_directory = __PREFIX/libexec/postfix
@@ -21,17 +28,20 @@ $NetBSD: patch-af,v 1.5 2000/10/15 14:10:20 itojun Exp $
+share_directory = __PREFIX/share/postfix
+man_directory = __PREFIX/man
-@@ -43,3 +50,3 @@
+ # QUEUE AND PROCESS OWNERSHIP
+ #
+@@ -52,7 +59,7 @@
+ # These rights are used in the absence of a recipient user context.
+ # DO NOT SPECIFY A PRIVILEGED USER OR THE POSTFIX OWNER.
#
-#default_privs = nobody
+default_privs = nobody
-@@ -84,2 +91,4 @@
- #inet_interfaces = $myhostname, localhost
-+# listen to IPv4 and IPv6 smtp socket
-+inet_interfaces = 0.0.0.0, ::
-
-@@ -417,5 +426,4 @@
+ # INTERNET HOST AND DOMAIN NAMES
+ #
+@@ -440,8 +447,7 @@
+ # the process marches on. If you use an X-based debugger, be sure to
+ # set up your XAUTHORITY environment variable before starting Postfix.
#
-debugger_command =
- PATH=/usr/bin:/usr/X11R6/bin
@@ -39,3 +49,4 @@ $NetBSD: patch-af,v 1.5 2000/10/15 14:10:20 itojun Exp $
+debugger_command = PATH=/usr/bin:/usr/X11R6/bin; \
+ xxgdb $daemon_directory/$process_name $process_id & sleep 5
+ # Other configurable parameters.
diff --git a/mail/postfix-current/pkg/PLIST b/mail/postfix-current/pkg/PLIST
index b3b4410ae43..4d063cd615e 100644
--- a/mail/postfix-current/pkg/PLIST
+++ b/mail/postfix-current/pkg/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2000/10/15 14:10:20 itojun Exp $
+@comment $NetBSD: PLIST,v 1.5 2001/01/13 07:46:57 itojun Exp $
etc/mailer.conf.postfix
libexec/postfix/bounce
libexec/postfix/cleanup
@@ -49,6 +49,7 @@ share/postfix/sample-debug.cf
share/postfix/sample-filter.cf
share/postfix/sample-flush.cf
share/postfix/sample-ldap.cf
+share/postfix/sample-lmtp.cf
share/postfix/sample-local.cf
share/postfix/sample-misc.cf
share/postfix/sample-pcre.cf