]> git.ipfire.org Git - thirdparty/postfix.git/commitdiff
postfix-2.5-20070514
authorWietse Venema <wietse@porcupine.org>
Mon, 14 May 2007 05:00:00 +0000 (00:00 -0500)
committerViktor Dukhovni <viktor@dukhovni.org>
Tue, 5 Feb 2013 06:33:09 +0000 (06:33 +0000)
postfix/HISTORY
postfix/makedefs
postfix/src/global/mail_version.h
postfix/src/local/mailbox.c
postfix/src/xsasl/README

index ed883f525c1edc7637ef24e04c9cd7ce1f2d16dc..bce6a9d99e1581c47af3233a37d08da95cf39818 100644 (file)
@@ -13537,6 +13537,16 @@ Apologies for any names omitted.
        case insensitive. File: src/cleanup/cleanup_message.c.
 
 
+20070514
+
+       Bugfix: the makedefs EPOLL workaround broke any attempt to
+       build on a 2.6 kernel. And that two weeks after the workaround
+       had been posted to the mailing list. File: makedefs.
+
+       Bugfix: mailbox_transport nixed the recipient file offset
+       for both local(8) and the delegated transport, instead of
+       just nixing it only for local(8). File: local/mailbox.c.
+
 Wish list:
 
        Would there be a problem adding $smtpd_mumble_restrictions
index befbbd600146690784fd309ee8fcba7a030426eb..7018bc0e87b07f0ac3c0c6a7dfd8ed8490f926f0 100644 (file)
@@ -285,8 +285,8 @@ case "$SYSTEM.$RELEASE" in
                # Workaround for retarded libc 
                case "$RELEASE" in
                2.6.*)
-               trap 'rm -f makedefs.tmp makedefs.tmp.o makedefs.tmp.c' 1 2 3 15
-               cat >makedefs.tmp.c <<EOF
+               trap 'rm -f makedefs.test makedefs.test.o makedefs.test.c' 1 2 3 15
+               cat >makedefs.test.c <<EOF
 #include <sys/types.h>
 #include <sys/epoll.h>
 #include <errno.h>
@@ -304,9 +304,9 @@ int     main(int argc, char **argv)
     exit(0);
 }
 EOF
-               ${CC-gcc} -o makedefs.tmp makedefs.tmp.c || exit 1
-               ./makedefs.tmp 2>/dev/null || CCARGS="$CCARGS -DNO_EPOLL"
-               rm -f makedefs.tmp makedefs.tmp.o makedefs.tmp.c;;
+               ${CC-gcc} -o makedefs.test makedefs.test.c || exit 1
+               ./makedefs.test 2>/dev/null || CCARGS="$CCARGS -DNO_EPOLL"
+               rm -f makedefs.test makedefs.test.o makedefs.test.c;;
                esac
                ;;
      GNU.0*|GNU/kFreeBSD.[56]*)
index b54eb587943f0222a2460839d39e0f5d5dc190c6..be376737ac9a857c75af2258e207558c323d4e73 100644 (file)
@@ -20,7 +20,7 @@
   * Patches change both the patchlevel and the release date. Snapshots have no
   * patchlevel; they change the release date only.
   */
-#define MAIL_RELEASE_DATE      "20070511"
+#define MAIL_RELEASE_DATE      "20070514"
 #define MAIL_VERSION_NUMBER    "2.5"
 
 #ifdef SNAPSHOT
index 04cead1b90cbd09e009727a3dcdc3a5e5d4470ed..d29591fef3fca3312780d331eab0880930fcf6b5 100644 (file)
@@ -280,9 +280,9 @@ int     deliver_mailbox(LOCAL_STATE state, USER_ATTR usr_attr, int *statusp)
        return (YES);
     }
     if (*var_mailbox_transport) {
-       state.msg_attr.rcpt.offset = -1L;
        *statusp = deliver_pass(MAIL_CLASS_PRIVATE, var_mailbox_transport,
                                state.request, &state.msg_attr.rcpt);
+       state.msg_attr.rcpt.offset = -1L;
        return (YES);
     }
 
index 7962ded1bc4162ed31afb64c5ed9dc002c17bbf6..d1b2f5a04497203185eec0dbdbad863dfb8cac59 100644 (file)
@@ -24,10 +24,14 @@ information from main.cf into the plug_in:
     smtp_sasl_path, smtp_sasl_security_options
     lmtp_sasl_path, lmtp_sasl_security_options
 
-The parameter values are passed to the plug-in without any
-interpretation. The following restrictions are imposed by the main.cf
-file parser: parameter values never contain newlines, and they never
-start or end with whitespace characters.
+As usual, newline characters are removed from multi-line parameter
+values, and $name is expanded recursively.  The parameter values
+are passed to the plug-in without any further processing. The
+following restrictions are imposed by the main.cf file parser:
+
+- parameter values never contain newlines,
+
+- parameter values never start or end with whitespace characters.
 
 The _path parameter value is passed only once during process
 initialization (i.e. it is a class variable). The path typically