]> git.ipfire.org Git - thirdparty/postfix.git/commitdiff
postfix-3.1-20150711
authorWietse Venema <wietse@porcupine.org>
Sat, 11 Jul 2015 05:00:00 +0000 (00:00 -0500)
committerViktor Dukhovni <postfix-users@dukhovni.org>
Sat, 11 Jul 2015 18:01:24 +0000 (14:01 -0400)
postfix/HISTORY
postfix/RELEASE_NOTES
postfix/src/global/conv_time.c
postfix/src/global/mail_conf_time.c
postfix/src/global/mail_version.h

index f1d589e3c4a047860dd8e828b6c909c718f7538f..95855af9b80ada361452cf02e3781c5d3b23d0a9 100644 (file)
@@ -21761,7 +21761,7 @@ Apologies for any names omitted.
 20150529
 
        Support for DNS reply TTL values in dnsblog and postscreen.
-       Files: dbsblog/dnsblog.c, postscreen/postscreen_early.c,
+       Files: dnsblog/dnsblog.c, postscreen/postscreen_early.c,
        postscreen/postscreen_dnsbl.c.
 
 20150607
@@ -21806,3 +21806,9 @@ Apologies for any names omitted.
        Workaround: some DNS servers reply with NXDOMAIN for type
        NS queries with names that actually have an A record. This
        broke check_mumble_ns_access.  File: smtpd/smtpd_check.c.
+
+20150711
+
+       Workaround: conditional time default value can result in
+       multiple time unit suffixes. Files: global/conv_time.c
+       global/mail_conf_time.c.
index 758df223c9b14c26c857003f84ff171f9cd7c10b..2c4b8b1a170aef19e0c9176cb650e471b81b4091 100644 (file)
@@ -56,7 +56,7 @@ a default value for the new postscreen_dnsbl_max_ttl parameter.
 Destination-independent delivery rate delay
 -------------------------------------------
 
-Support to enforce a destination-independent delay between meail
+Support to enforce a destination-independent delay between email
 deliveries.  The following example inserts 20 seconds of delay
 between deliveries with the SMTP transport, limiting the delivery
 rate to at most three messages per minute.
index 4c0c8c506367f919c6145074f3e01a5661814c34..313ac1fdd89ffff236dc26564b88e9f931aa7f33 100644 (file)
@@ -68,7 +68,7 @@ int     conv_time(const char *strval, int *timval, int def_unit)
     errno = 0;
     intval = longval = strtol(strval, &end, 10);
     if (*strval == 0 || errno == ERANGE || longval != intval || intval < 0
-       || (*end != 0 && end[1] != 0))
+       /* || (*end != 0 && end[1] != 0) */)
        return (0);
 
     switch (*end ? *end : def_unit) {
index 96effbd2cfa6196d880c33cc497b8695b30f0262..0d9118a36797cbce0b1aa3da9941c2eeb8464195 100644 (file)
@@ -133,9 +133,11 @@ static int get_def_time_unit(const char *name, const char *defval)
            msg_panic("parameter %s: missing time unit in default value: %s",
                      name, defval);
        if (ISALPHA(*cp)) {
+#if 0
            if (cp[1] != 0)
                msg_panic("parameter %s: bad time unit in default value: %s",
                          name, defval);
+#endif
            return (*cp);
        }
     }
index 2d6b52a0376b36943dd5a90f867e9eecc6a06a28..9d20656aa82e86e14a4e74e4f4af73b4f43ec081 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      "20150710"
+#define MAIL_RELEASE_DATE      "20150711"
 #define MAIL_VERSION_NUMBER    "3.1"
 
 #ifdef SNAPSHOT