diff options
author | martti <martti@pkgsrc.org> | 2003-01-06 09:15:49 +0000 |
---|---|---|
committer | martti <martti@pkgsrc.org> | 2003-01-06 09:15:49 +0000 |
commit | e07be818f5492f382ab8c30fbefe6876937d648e (patch) | |
tree | 426583c5435f22316fc6e86e3d63d300f4eeca6d /mail/postfix/patches | |
parent | d8524274948618da9dc01fdc38aaa9c2095025f8 (diff) | |
download | pkgsrc-e07be818f5492f382ab8c30fbefe6876937d648e.tar.gz |
Updated postfix to 2.0.0.2
IMPORTANT: read the documents in /usr/pkg/share/doc/postfix/ before
upgrading from Postfix 1.1.
Hightlights:
- MIME support (including 8bit->7bit conversion and more
accurate matching of MIME headers in message bodies)
- completely rewritten RBL client code
- smarter handling of DNS lookup errors in UCE restrictions
- virtual delivery agent without transport map for every domain
- a long list of other things that are meant to improve performance
or functionality without compromising what already existed.
Diffstat (limited to 'mail/postfix/patches')
-rw-r--r-- | mail/postfix/patches/patch-ab | 26 | ||||
-rw-r--r-- | mail/postfix/patches/patch-ad | 14 | ||||
-rw-r--r-- | mail/postfix/patches/patch-ae | 10 | ||||
-rw-r--r-- | mail/postfix/patches/patch-af | 31 | ||||
-rw-r--r-- | mail/postfix/patches/patch-ag | 40 | ||||
-rw-r--r-- | mail/postfix/patches/patch-ah | 31 |
6 files changed, 34 insertions, 118 deletions
diff --git a/mail/postfix/patches/patch-ab b/mail/postfix/patches/patch-ab index 53d75e28fd8..386583ff3b1 100644 --- a/mail/postfix/patches/patch-ab +++ b/mail/postfix/patches/patch-ab @@ -1,21 +1,21 @@ -$NetBSD: patch-ab,v 1.4 2002/03/06 15:07:54 martti Exp $ +$NetBSD: patch-ab,v 1.5 2003/01/06 09:15:50 martti Exp $ ---- src/util/sys_defs.h.orig Tue Feb 12 13:46:16 2002 -+++ src/util/sys_defs.h Tue Feb 12 13:47:13 2002 +--- src/util/sys_defs.h.orig Sun Oct 13 17:00:52 2002 ++++ src/util/sys_defs.h Sat Dec 28 08:51:26 2002 @@ -52,11 +52,11 @@ #define STATFS_IN_SYS_MOUNT_H #define HAS_POSIX_REGEXP #define HAS_ST_GEN /* struct stat contains inode generation number */ --#define DEF_SENDMAIL_PATH "/usr/sbin/sendmail" --#define DEF_MAILQ_PATH "/usr/bin/mailq" --#define DEF_NEWALIAS_PATH "/usr/bin/newaliases" --#define DEF_COMMAND_DIR "/usr/sbin" --#define DEF_DAEMON_DIR "/usr/libexec/postfix" -+#define DEF_SENDMAIL_PATH "__PREFIX/sbin/sendmail" -+#define DEF_MAILQ_PATH "__PREFIX/bin/mailq" -+#define DEF_NEWALIAS_PATH "__PREFIX/bin/newaliases" -+#define DEF_COMMAND_DIR "__PREFIX/sbin" -+#define DEF_DAEMON_DIR "__PREFIX/libexec/postfix" +-#define NATIVE_SENDMAIL_PATH "/usr/sbin/sendmail" +-#define NATIVE_MAILQ_PATH "/usr/bin/mailq" +-#define NATIVE_NEWALIAS_PATH "/usr/bin/newaliases" +-#define NATIVE_COMMAND_DIR "/usr/sbin" +-#define NATIVE_DAEMON_DIR "/usr/libexec/postfix" ++#define NATIVE_SENDMAIL_PATH "__PREFIX/sbin/sendmail" ++#define NATIVE_MAILQ_PATH "__PREFIX/bin/mailq" ++#define NATIVE_NEWALIAS_PATH "__PREFIX/bin/newaliases" ++#define NATIVE_COMMAND_DIR "__PREFIX/sbin" ++#define NATIVE_DAEMON_DIR "__PREFIX/libexec/postfix" #endif #if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) diff --git a/mail/postfix/patches/patch-ad b/mail/postfix/patches/patch-ad index b6d7ca1c489..9d6c6558b5d 100644 --- a/mail/postfix/patches/patch-ad +++ b/mail/postfix/patches/patch-ad @@ -1,13 +1,13 @@ -$NetBSD: patch-ad,v 1.4 2002/03/16 18:06:40 martti Exp $ +$NetBSD: patch-ad,v 1.5 2003/01/06 09:15:50 martti Exp $ ---- conf/sample-misc.cf.orig Sat Mar 16 18:01:19 2002 -+++ conf/sample-misc.cf Sat Mar 16 18:02:59 2002 -@@ -293,7 +293,7 @@ - # The program_directory parameter specifies the location of Postfix +--- conf/sample-misc.cf.orig Wed Dec 18 01:42:28 2002 ++++ conf/sample-misc.cf Sat Dec 28 08:52:35 2002 +@@ -350,7 +350,7 @@ + # The daemon_directory parameter specifies the location of Postfix # support programs and daemons. This directory must be owned by root. # --program_directory = /usr/libexec/postfix -+program_directory = __PREFIX/libexec/postfix +-daemon_directory = /usr/libexec/postfix ++daemon_directory = __PREFIX/libexec/postfix # The queue_directory specifies the location of the Postfix queue. # This is also the root directory of Postfix daemons that run chrooted. diff --git a/mail/postfix/patches/patch-ae b/mail/postfix/patches/patch-ae index 45c220571c0..48c00ff5766 100644 --- a/mail/postfix/patches/patch-ae +++ b/mail/postfix/patches/patch-ae @@ -1,8 +1,8 @@ -$NetBSD: patch-ae,v 1.5 2002/03/27 13:10:18 martti Exp $ +$NetBSD: patch-ae,v 1.6 2003/01/06 09:15:50 martti Exp $ ---- src/global/mail_params.h.orig Mon Mar 25 14:22:11 2002 -+++ src/global/mail_params.h Wed Mar 27 13:59:44 2002 -@@ -50,7 +50,7 @@ +--- src/global/mail_params.h.orig Mon Dec 23 20:33:09 2002 ++++ src/global/mail_params.h Sat Dec 28 08:53:11 2002 +@@ -64,7 +64,7 @@ extern gid_t var_owner_gid; #define VAR_SGID_GROUP "setgid_group" @@ -11,7 +11,7 @@ $NetBSD: patch-ae,v 1.5 2002/03/27 13:10:18 martti Exp $ extern char *var_sgid_group; extern gid_t var_sgid_gid; -@@ -169,18 +169,18 @@ +@@ -187,18 +187,18 @@ */ #define VAR_PROGRAM_DIR "program_directory" #ifndef DEF_PROGRAM_DIR diff --git a/mail/postfix/patches/patch-af b/mail/postfix/patches/patch-af index 191d3185ca3..a0bcc8c4a13 100644 --- a/mail/postfix/patches/patch-af +++ b/mail/postfix/patches/patch-af @@ -1,18 +1,17 @@ -$NetBSD: patch-af,v 1.11 2002/05/14 06:57:25 martti Exp $ +$NetBSD: patch-af,v 1.12 2003/01/06 09:15:50 martti Exp $ ---- conf/main.cf.orig Mon Mar 25 21:09:24 2002 -+++ conf/main.cf Wed Mar 27 07:33:47 2002 -@@ -31,14 +33,19 @@ +--- conf/main.cf.orig Sat Dec 21 21:53:01 2002 ++++ conf/main.cf Sat Dec 28 09:07:31 2002 +@@ -31,13 +31,18 @@ # The command_directory parameter specifies the location of all - # postXXX commands. The default value is $program_directory. + # postXXX commands. # -command_directory = /usr/sbin +command_directory = __PREFIX/sbin # 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 programs (i.e. programs listed in the master.cf file). This + # directory must be owned by root. # -daemon_directory = /usr/libexec/postfix +daemon_directory = __PREFIX/libexec/postfix @@ -24,7 +23,7 @@ $NetBSD: patch-af,v 1.11 2002/05/14 06:57:25 martti Exp $ # QUEUE AND PROCESS OWNERSHIP # -@@ -56,7 +63,7 @@ +@@ -55,7 +60,7 @@ # These rights are used in the absence of a recipient user context. # DO NOT SPECIFY A PRIVILEGED USER OR THE POSTFIX OWNER. # @@ -33,19 +32,7 @@ $NetBSD: patch-af,v 1.11 2002/05/14 06:57:25 martti Exp $ # INTERNET HOST AND DOMAIN NAMES # -@@ -497,9 +504,8 @@ - # 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 -- xxgdb $daemon_directory/$process_name $process_id & sleep 5 -+debugger_command = PATH=/usr/bin:/usr/X11R6/bin; \ -+ xxgdb $daemon_directory/$process_name $process_id & sleep 5 - - # INSTALL-TIME CONFIGURATION INFORMATION - # -@@ -524,16 +530,16 @@ +@@ -606,16 +611,16 @@ # commands. This must be a group name with a numerical group ID that # is not shared with other accounts, not even with the Postfix account. # diff --git a/mail/postfix/patches/patch-ag b/mail/postfix/patches/patch-ag deleted file mode 100644 index d415b0cb7fb..00000000000 --- a/mail/postfix/patches/patch-ag +++ /dev/null @@ -1,40 +0,0 @@ -$NetBSD: patch-ag,v 1.4 2002/06/27 04:47:55 itojun Exp $ - ---- src/smtpd/smtpd_check.c- Thu Jun 27 13:46:28 2002 -+++ src/smtpd/smtpd_check.c Thu Jun 27 13:46:44 2002 -@@ -920,7 +920,7 @@ - return (stat); - } - --/* reject_unknown_hostname - fail if name has no A or MX record */ -+/* reject_unknown_hostname - fail if name has no A, AAAA or MX record */ - - static int reject_unknown_hostname(SMTPD_STATE *state, char *name, - char *reply_name, char *reply_class) -@@ -932,7 +932,7 @@ - msg_info("%s: %s", myname, name); - - dns_status = dns_lookup_types(name, 0, (DNS_RR **) 0, (VSTRING *) 0, -- (VSTRING *) 0, T_A, T_MX, 0); -+ (VSTRING *) 0, T_A, T_AAAA, T_MX, 0); - if (dns_status != DNS_OK) - return (smtpd_check_reject(state, MAIL_ERROR_POLICY, - "%d <%s>: %s rejected: Host not found", -@@ -942,7 +942,7 @@ - return (SMTPD_CHECK_DUNNO); - } - --/* reject_unknown_mailhost - fail if name has no A or MX record */ -+/* reject_unknown_mailhost - fail if name has no A, AAAA or MX record */ - - static int reject_unknown_mailhost(SMTPD_STATE *state, const char *name, - const char *reply_name, const char *reply_class) -@@ -954,7 +954,7 @@ - msg_info("%s: %s", myname, name); - - dns_status = dns_lookup_types(name, 0, (DNS_RR **) 0, (VSTRING *) 0, -- (VSTRING *) 0, T_A, T_MX, 0); -+ (VSTRING *) 0, T_A, T_AAAA, T_MX, 0); - if (dns_status != DNS_OK) - return (smtpd_check_reject(state, MAIL_ERROR_POLICY, - "%d <%s>: %s rejected: Domain not found", diff --git a/mail/postfix/patches/patch-ah b/mail/postfix/patches/patch-ah deleted file mode 100644 index 132cec76ded..00000000000 --- a/mail/postfix/patches/patch-ah +++ /dev/null @@ -1,31 +0,0 @@ -$NetBSD: patch-ah,v 1.3 2002/07/17 22:34:46 itojun Exp $ - -diff -u -r1.3 src/dns/dns_lookup.c ---- src/dns/dns_lookup.c 2001/11/11 05:26:51 1.3 -+++ src/dns/dns_lookup.c 2002/07/17 21:20:30 -@@ -132,6 +132,7 @@ - } DNS_REPLY; - - #define INET_ADDR_LEN 4 /* XXX */ -+#define INET6_ADDR_LEN 16 /* XXX */ - - /* dns_query - query name server and pre-parse the reply */ - -@@ -328,6 +329,17 @@ - break; - case T_A: - if (fixed->length != INET_ADDR_LEN) { -+ msg_warn("extract_answer: bad address length: %d", fixed->length); -+ return (0); -+ } -+ if (fixed->length > sizeof(temp)) -+ msg_panic("dns_get_rr: length %d > DNS_NAME_LEN", -+ fixed->length); -+ memcpy(temp, pos, fixed->length); -+ data_len = fixed->length; -+ break; -+ case T_AAAA: -+ if (fixed->length != INET6_ADDR_LEN) { - msg_warn("extract_answer: bad address length: %d", fixed->length); - return (0); - } |