]> git.ipfire.org Git - thirdparty/postfix.git/commitdiff
postfix-2.3-20060126
authorWietse Venema <wietse@porcupine.org>
Thu, 26 Jan 2006 05:00:00 +0000 (00:00 -0500)
committerViktor Dukhovni <viktor@dukhovni.org>
Tue, 5 Feb 2013 06:32:07 +0000 (06:32 +0000)
18 files changed:
postfix/HISTORY
postfix/src/bounce/2template_test.in
postfix/src/bounce/Makefile.in
postfix/src/bounce/template_test.ref
postfix/src/dns/dns_rr_eq_sa.in
postfix/src/dns/dns_rr_eq_sa.ref
postfix/src/dns/dns_rr_to_pa.ref
postfix/src/dns/dns_rr_to_sa.ref
postfix/src/dns/dns_sa_to_rr.ref
postfix/src/global/input_transp.c
postfix/src/global/mail_version.h
postfix/src/master/multi_server.c
postfix/src/master/single_server.c
postfix/src/master/trigger_server.c
postfix/src/smtp/smtp_map11.ref
postfix/src/smtpd/smtpd_exp.ref
postfix/src/util/format_tv.in
postfix/src/util/format_tv.ref

index c523de5ec1fa48a72a946796d3eabb7a6a28c774..d79db3f04acdb248470fcbd15a67ca5569a8880f 100644 (file)
@@ -11934,8 +11934,19 @@ Apologies for any names omitted.
        USE_SASL_AUTH.  Such feature interference is difficult to
        find in testing.  Liviu Daia. File: smtp/smtp_sasl_proto.c.
 
+20060126
+
+       Undo: change 20060117 (unprivileged operation test) broke
+       "sendmail -bs", "postconf -b", "postconf -t", and probably
+       more. Files: master/{single,multi,trigger}_server.c.
+
 Open problems:
 
+       select->poll, kqueue, ...
+
+       Set pipelining flag at start of session and at other protocol
+       synchronization points.
+
        Centralize main.cf parameter input so that defaults work
        consistently.
 
index 47d173d7f7eaadf6e222d91e258ef8cc2e376604..0a26bd64d2aef5244540dddb796136bac997625d 100644 (file)
@@ -29,7 +29,7 @@ This is the $mail_name program at host $myhostname.
 # THIS IS A WARNING ONLY.  YOU DO NOT NEED TO RESEND YOUR MESSAGE. #
 ####################################################################
 
-Your message could not be delivered for $delay_warning_time_hours hour(s).
+Your message could not be delivered for more than $delay_warning_time_hours hour(s).
 It will be retried until it is $maximal_queue_lifetime_days day(s) old.
 
 For further assistance, please send mail to <postmaster>
@@ -97,7 +97,7 @@ This is the $mail_name program at host $myhostname.
 # THIS IS A WARNING ONLY.  YOU DO NOT NEED TO RESEND YOUR MESSAGE. #
 ####################################################################
 
-Your message could not be delivered for $delay_warning_time_hours hour(s).
+Your message could not be delivered for more than $delay_warning_time_hours hour(s).
 It will be retried until it is $maximal_queue_lifetime_days day(s) old.
 
 For further assistance, please send mail to <postmaster>
index 2c0fe4982d39129fce0f10e79759d59dce7e5b5d..17f58620cd362d9fa67c5d42fe67dd1227781817 100644 (file)
@@ -67,9 +67,9 @@ tidy: clean
 # Avoid dependency on installed Postfix.
 # XXX This still requires that default_privs, mail_owner etc. accounts exist.
 template_test: $(PROG) main.cf template_test.ref
-       MAIL_CONFIG=. ./$(PROG) -SVzndump_templates >template_test.tmp
+       MAIL_CONFIG=. ./$(PROG) -SVuzndump_templates >template_test.tmp
        diff template_test.ref template_test.tmp
-       MAIL_CONFIG=. ./$(PROG) -SVzndump_templates \
+       MAIL_CONFIG=. ./$(PROG) -SVuzndump_templates \
            -o bounce_template_file=template_test.ref > template_test.tmp
        diff template_test.ref template_test.tmp
        rm -f template_test.tmp
index 3fac4d48935b7a2406db923a36270b3668cd9a50..253995a746e5717f7b3a4a5064e9a6ad825bc876 100644 (file)
@@ -29,7 +29,7 @@ This is the $mail_name program at host $myhostname.
 # THIS IS A WARNING ONLY.  YOU DO NOT NEED TO RESEND YOUR MESSAGE. #
 ####################################################################
 
-Your message could not be delivered for $delay_warning_time_hours hour(s).
+Your message could not be delivered for more than $delay_warning_time_hours hour(s).
 It will be retried until it is $maximal_queue_lifetime_days day(s) old.
 
 For further assistance, please send mail to <postmaster>
index be10f967af5f0d85f2dcd913c8e3166bfc272ab8..e980daa330c6a5041b6f89131ab3a0bf2af315da 100644 (file)
@@ -1,4 +1,4 @@
 spike.porcupine.org 168.100.189.2
 spike.porcupine.org 168.100.189.3
-spike.porcupine.org 2001:240:5c7:0:2d0:b7ff:fe88:2ca7
-spike.porcupine.org 2001:240:5c7:0:2d0:b7ff:febe:ca9f
+spike.porcupine.org 2001:240:587:0:2d0:b7ff:fe88:2ca7
+spike.porcupine.org 2001:240:587:0:2d0:b7ff:febe:ca9f
index 8df8d746dce74a4b04a1e409f5c76d0402f2e66f..389164ff83f0981d019a185b9841acf64fed88a3 100644 (file)
@@ -1,24 +1,24 @@
-2001:240:5c7:0:2d0:b7ff:fe88:2ca7 =?= 168.100.189.2
+2001:240:587:0:2d0:b7ff:fe88:2ca7 =?= 168.100.189.2
 tested by function: no
 tested by macro:    no
 168.100.189.2 =?= 168.100.189.2
 tested by function: yes
 tested by macro:    yes
-2001:240:5c7:0:2d0:b7ff:fe88:2ca7 =?= 168.100.189.3
+2001:240:587:0:2d0:b7ff:fe88:2ca7 =?= 168.100.189.3
 tested by function: no
 tested by macro:    no
 168.100.189.2 =?= 168.100.189.3
 tested by function: no
 tested by macro:    no
-2001:240:5c7:0:2d0:b7ff:fe88:2ca7 =?= 2001:240:5c7:0:2d0:b7ff:fe88:2ca7
+2001:240:587:0:2d0:b7ff:fe88:2ca7 =?= 2001:240:587:0:2d0:b7ff:fe88:2ca7
 tested by function: yes
 tested by macro:    yes
-168.100.189.2 =?= 2001:240:5c7:0:2d0:b7ff:fe88:2ca7
+168.100.189.2 =?= 2001:240:587:0:2d0:b7ff:fe88:2ca7
 tested by function: no
 tested by macro:    no
-2001:240:5c7:0:2d0:b7ff:fe88:2ca7 =?= 2001:240:5c7:0:2d0:b7ff:febe:ca9f
+2001:240:587:0:2d0:b7ff:fe88:2ca7 =?= 2001:240:587:0:2d0:b7ff:febe:ca9f
 tested by function: no
 tested by macro:    no
-168.100.189.2 =?= 2001:240:5c7:0:2d0:b7ff:febe:ca9f
+168.100.189.2 =?= 2001:240:587:0:2d0:b7ff:febe:ca9f
 tested by function: no
 tested by macro:    no
index d32e213643ba427f6ebe05de0251a1447c984e5b..742c95a0f0467a8fc8915d44322b12b3e7001315 100644 (file)
@@ -1,2 +1,2 @@
 spike.porcupine.org -> 168.100.189.2
-spike.porcupine.org -> 2001:240:5c7:0:2d0:b7ff:fe88:2ca7
+spike.porcupine.org -> 2001:240:587:0:2d0:b7ff:fe88:2ca7
index 2f23cc61361c5e8553118429c253e44e048118e4..b9f0c4eebd5ab573ff06abfda675d458c3c553a8 100644 (file)
@@ -1,2 +1,2 @@
 spike.porcupine.org 25 -> 168.100.189.2 25
-spike.porcupine.org 25 -> 2001:240:5c7:0:2d0:b7ff:fe88:2ca7 25
+spike.porcupine.org 25 -> 2001:240:587:0:2d0:b7ff:fe88:2ca7 25
index 40f5fc86abe066a16fa31797f233f49d86bac1d8..e2f24ce772da88a998d4ac8e8fced0fdb10fa4a7 100644 (file)
@@ -1,2 +1,2 @@
-spike.porcupine.org -> 2001:240:5c7:0:2d0:b7ff:fe88:2ca7
+spike.porcupine.org -> 2001:240:587:0:2d0:b7ff:fe88:2ca7
 spike.porcupine.org -> 168.100.189.2
index 93b51b76b7a62416c646172ec96c947539979bc0..d348d954d45c24f9431f353e9cde1b2991cc46e2 100644 (file)
@@ -26,7 +26,7 @@
 /*     given in parentheses:
 /* .IP "no_unknown_recipient_checks (INPUT_TRANSP_UNKNOWN_RCPT)"
 /*     Do not try to reject unknown recipients.
-/* .IP "no_address_mapping (INPUT_TRANSP_ADDRESS_MAPPING)
+/* .IP "no_address_mappings (INPUT_TRANSP_ADDRESS_MAPPING)
 /*     Disable canonical address mapping, virtual alias map expansion,
 /*     address masquerading, and automatic BCC recipients.
 /* .IP "no_header_body_checkss (INPUT_TRANSP_HEADER_BODY)
index f9f2f75bc48a042c9a31f8e221b24f53383244f0..1898c09ed50a210833073be88a60ba8da7592677 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      "20060125"
+#define MAIL_RELEASE_DATE      "20060126"
 #define MAIL_VERSION_NUMBER    "2.3"
 
 #ifdef SNAPSHOT
index fd1ed845962cdb145455b0769a8fd4e45a8f745b..d361b2c55b104ed16eb5e9c854290b181c93aec8 100644 (file)
@@ -485,7 +485,6 @@ NORETURN multi_server_main(int argc, char **argv, MULTI_SERVER_FN service,...)
     char   *oval;
     char   *generation;
     int     msg_vstream_needed = 0;
-    int     privileged = 0;
 
     /*
      * Process environment options as early as we can.
@@ -655,7 +654,6 @@ NORETURN multi_server_main(int argc, char **argv, MULTI_SERVER_FN service,...)
            if (user_name)
                msg_fatal("service %s requires privileged operation",
                          service_name);
-           privileged = 1;
            break;
        default:
            msg_panic("%s: unknown argument type: %d", myname, key);
@@ -663,9 +661,6 @@ NORETURN multi_server_main(int argc, char **argv, MULTI_SERVER_FN service,...)
     }
     va_end(ap);
 
-    if (privileged == 0 && user_name == 0)
-       msg_fatal("service %s requires unprivileged operation", service_name);
-
     if (root_dir)
        root_dir = var_queue_dir;
     if (user_name)
index bb01bce4834ce6bbdd994a9b9a86f5dfec1748b2..6cfefa16cb1bdad653e6618de1f68541c4ea25a8 100644 (file)
@@ -399,7 +399,6 @@ NORETURN single_server_main(int argc, char **argv, SINGLE_SERVER_FN service,...)
     char   *oval;
     char   *generation;
     int     msg_vstream_needed = 0;
-    int     privileged = 0;
 
     /*
      * Process environment options as early as we can.
@@ -566,7 +565,6 @@ NORETURN single_server_main(int argc, char **argv, SINGLE_SERVER_FN service,...)
            if (user_name)
                msg_fatal("service %s requires privileged operation",
                          service_name);
-           privileged = 1;
            break;
        default:
            msg_panic("%s: unknown argument type: %d", myname, key);
@@ -574,9 +572,6 @@ NORETURN single_server_main(int argc, char **argv, SINGLE_SERVER_FN service,...)
     }
     va_end(ap);
 
-    if (privileged == 0 && user_name == 0)
-       msg_fatal("service %s requires unprivileged operation", service_name);
-
     if (root_dir)
        root_dir = var_queue_dir;
     if (user_name)
index 9f686add49a3a1f70b276a4a847e670aacb81405..b7e672429718b78d6f4bb3fc8b827db82d5ba444 100644 (file)
@@ -405,7 +405,6 @@ NORETURN trigger_server_main(int argc, char **argv, TRIGGER_SERVER_FN service,..
     char   *oval;
     char   *generation;
     int     msg_vstream_needed = 0;
-    int     privileged = 0;
 
     /*
      * Process environment options as early as we can.
@@ -572,7 +571,6 @@ NORETURN trigger_server_main(int argc, char **argv, TRIGGER_SERVER_FN service,..
            if (user_name)
                msg_fatal("service %s requires privileged operation",
                          service_name);
-           privileged = 1;
            break;
        default:
            msg_panic("%s: unknown argument type: %d", myname, key);
@@ -580,9 +578,6 @@ NORETURN trigger_server_main(int argc, char **argv, TRIGGER_SERVER_FN service,..
     }
     va_end(ap);
 
-    if (privileged == 0 && user_name == 0)
-       msg_fatal("service %s requires unprivileged operation", service_name);
-
     if (root_dir)
        root_dir = var_queue_dir;
     if (user_name)
index 7407d6532dee513c80e9ba121313e274a76c1753..e5820c75e2ed6e623cf8e20bcaaacf11a30afb48 100644 (file)
@@ -1,5 +1,5 @@
 smtp_map11: -- start foo@example.com --
-smtp_map11: maps_find: hash:map11_map: hash:map11_map(0,0): foo@example.com = bar@com.example
+smtp_map11: maps_find: hash:map11_map: hash:map11_map(0,fold_fix): foo@example.com = bar@com.example
 smtp_map11: mail_addr_find: foo@example.com -> bar@com.example
 smtp_map11: connect to subsystem private/rewrite
 smtp_map11: send attr request = rewrite
@@ -18,7 +18,7 @@ smtp_map11: mail_addr_map: foo@example.com -> 0: bar@com.example
 smtp_map11: smtp_map11_external: foo@example.com -> bar@com.example
 smtp_map11: -- end foo@example.com --
 smtp_map11: -- start bar@example.com --
-smtp_map11: maps_find: hash:map11_map: hash:map11_map(0,0): bar@example.com = bar
+smtp_map11: maps_find: hash:map11_map: hash:map11_map(0,fold_fix): bar@example.com = bar
 smtp_map11: mail_addr_find: bar@example.com -> bar
 smtp_map11: send attr request = rewrite
 smtp_map11: send attr rule = local
@@ -36,7 +36,7 @@ smtp_map11: mail_addr_map: bar@example.com -> 0: bar@MYDOMAIN
 smtp_map11: smtp_map11_external: bar@example.com -> bar@MYDOMAIN
 smtp_map11: -- end bar@example.com --
 smtp_map11: -- start baz@example.com --
-smtp_map11: maps_find: hash:map11_map: hash:map11_map(0,0): baz@example.com = @com.example
+smtp_map11: maps_find: hash:map11_map: hash:map11_map(0,fold_fix): baz@example.com = @com.example
 smtp_map11: mail_addr_find: baz@example.com -> @com.example
 smtp_map11: send attr request = rewrite
 smtp_map11: send attr rule = local
@@ -64,3 +64,4 @@ smtp_map11: mail_addr_find: foo@example.net -> (not found)
 smtp_map11: mail_addr_map: foo@example.net -> (not found)
 smtp_map11: smtp_map11_external: foo@example.net not found
 smtp_map11: -- end foo@example.net --
+smtp_map11: maps_free: hash:map11_map(0,fold_fix)
index 75b6c84f388a341aa4aed66fa4127b2fbda82565..c04381ba8b5089f5cae821741474f725115fb4a4 100644 (file)
@@ -107,8 +107,8 @@ OK
 >>> mail sname@sdomain
 OK
 >>> rcpt rname@rdomain
-./smtpd_check: <queue id>: reject: RCPT from spike.porcupine.org[168.100.189.2]: 554 5.7.1 Service unavailable; Helo command [example.tld] blocked using abuse.rfc-ignorant.org; Not supporting abuse@example.tld; from=<sname@sdomain> to=<rname@rdomain> proto=SMTP helo=<example.tld>
-554 5.7.1 Service unavailable; Helo command [example.tld] blocked using abuse.rfc-ignorant.org; Not supporting abuse@example.tld
+./smtpd_check: <queue id>: reject: RCPT from spike.porcupine.org[168.100.189.2]: 554 5.7.1 Service unavailable; Helo command [example.tld] blocked using abuse.rfc-ignorant.org; Not supporting abuse@domain; from=<sname@sdomain> to=<rname@rdomain> proto=SMTP helo=<example.tld>
+554 5.7.1 Service unavailable; Helo command [example.tld] blocked using abuse.rfc-ignorant.org; Not supporting abuse@domain
 >>> #
 >>> # Check MX access
 >>> #
index 7b6bec5f21530bc1ea28859e4da22d05fe30a344..a6b5848f483f829c5072aa0605a404d496b2ce5d 100644 (file)
@@ -7,7 +7,7 @@
 0.0111 2       6
 0.00111        2       6
 0.000111       2       6
-0.000011       2       6
+0.0000111      2       6
 
 # One digit in. Must not produce spurious digits or trailing nulls.
 
@@ -20,7 +20,7 @@
 0.001  2       6
 0.0001 2       6
 0.00001        2       6
-0.000001       2       6
+0.0000011      2       6
 
 # Three digits in, 2/6 digits out, rounding up.
 
@@ -55,7 +55,7 @@
 0.001  1       6
 0.0001 1       6
 0.00001        1       6
-0.000001       1       6
+0.0000011      1       6
 
 # Three digits in, 1/6 digits out, rounding up.
 
index 2068796ee6501ddb84dfa93af3c81a8146a10b40..718c3c786a2d3706793b85ddbcb9d4e0bb2d373a 100644 (file)
@@ -15,7 +15,7 @@
 0.0011
 >> 0.000111    2       6
 0.00011
->> 0.000011    2       6
+>> 0.0000111   2       6
 0.000011
 >> 
 >> # One digit in. Must not produce spurious digits or trailing nulls.
@@ -38,7 +38,7 @@
 0.0001
 >> 0.00001     2       6
 0.00001
->> 0.000001    2       6
+>> 0.0000011   2       6
 0.000001
 >> 
 >> # Three digits in, 2/6 digits out, rounding up.
@@ -99,7 +99,7 @@
 0.0001
 >> 0.00001     1       6
 0.00001
->> 0.000001    1       6
+>> 0.0000011   1       6
 0.000001
 >> 
 >> # Three digits in, 1/6 digits out, rounding up.