From c7fd7e15fb5547daf18896009d056e5a04f24e3a Mon Sep 17 00:00:00 2001 From: heas Date: Sat, 27 Mar 2004 16:09:35 +0000 Subject: [PATCH] Postfix 2.0.19 --- gnu/dist/postfix/0README | 4 +- gnu/dist/postfix/COMPATIBILITY | 1 - gnu/dist/postfix/HISTORY | 308 +++++++++++++++++- gnu/dist/postfix/INSTALL | 20 +- gnu/dist/postfix/README_FILES/FILTER_README | 13 +- gnu/dist/postfix/README_FILES/SASL_README | 16 +- gnu/dist/postfix/README_FILES/VIRTUAL_README | 23 +- gnu/dist/postfix/RELEASE_NOTES | 29 +- gnu/dist/postfix/conf/access | 85 ++--- gnu/dist/postfix/conf/canonical | 72 ++-- gnu/dist/postfix/conf/pcre_table | 93 +++--- gnu/dist/postfix/conf/postfix-script | 8 +- gnu/dist/postfix/conf/regexp_table | 35 +- gnu/dist/postfix/conf/relocated | 56 ++-- gnu/dist/postfix/conf/transport | 41 ++- gnu/dist/postfix/conf/virtual | 3 +- gnu/dist/postfix/html/access.5.html | 85 ++--- gnu/dist/postfix/html/basic.html | 7 +- gnu/dist/postfix/html/canonical.5.html | 72 ++-- gnu/dist/postfix/html/cleanup.8.html | 6 +- gnu/dist/postfix/html/faq.html | 35 +- gnu/dist/postfix/html/pcre_table.5.html | 93 +++--- gnu/dist/postfix/html/postalias.1.html | 6 +- gnu/dist/postfix/html/postcat.1.html | 36 +- gnu/dist/postfix/html/postmap.1.html | 6 +- gnu/dist/postfix/html/proxymap.8.html | 4 +- gnu/dist/postfix/html/regexp_table.5.html | 35 +- gnu/dist/postfix/html/relocated.5.html | 56 ++-- gnu/dist/postfix/html/rewrite.html | 4 +- gnu/dist/postfix/html/smtp.8.html | 135 ++++---- gnu/dist/postfix/html/smtpd.8.html | 155 ++++----- gnu/dist/postfix/html/spawn.8.html | 10 +- gnu/dist/postfix/html/transport.5.html | 41 ++- gnu/dist/postfix/html/uce.html | 30 +- gnu/dist/postfix/html/virtual.5.html | 9 +- gnu/dist/postfix/html/virtual.8.html | 81 +++-- gnu/dist/postfix/man/man1/postalias.1 | 6 +- gnu/dist/postfix/man/man1/postcat.1 | 29 +- gnu/dist/postfix/man/man1/postmap.1 | 6 +- gnu/dist/postfix/man/man5/access.5 | 11 +- gnu/dist/postfix/man/man5/pcre_table.5 | 11 +- gnu/dist/postfix/man/man5/regexp_table.5 | 10 +- gnu/dist/postfix/man/man5/relocated.5 | 8 +- gnu/dist/postfix/man/man5/transport.5 | 17 +- gnu/dist/postfix/man/man8/proxymap.8 | 2 + gnu/dist/postfix/man/man8/smtp.8 | 4 - gnu/dist/postfix/man/man8/smtpd.8 | 4 +- gnu/dist/postfix/man/man8/spawn.8 | 4 +- gnu/dist/postfix/man/man8/virtual.8 | 2 +- gnu/dist/postfix/postfix-install | 51 +-- gnu/dist/postfix/proto/access | 11 +- gnu/dist/postfix/proto/canonical | 2 +- gnu/dist/postfix/proto/pcre_table | 11 +- gnu/dist/postfix/proto/regexp_table | 10 +- gnu/dist/postfix/proto/relocated | 8 +- gnu/dist/postfix/proto/transport | 17 +- gnu/dist/postfix/proto/virtual | 7 +- gnu/dist/postfix/src/bounce/Makefile.in | 1 + .../postfix/src/bounce/bounce_notify_util.c | 1 + .../postfix/src/cleanup/cleanup_extracted.c | 3 + .../src/cleanup/cleanup_out_recipient.c | 8 +- gnu/dist/postfix/src/global/mail_queue.c | 27 +- gnu/dist/postfix/src/global/mail_stream.c | 65 +++- gnu/dist/postfix/src/global/mail_stream.h | 1 + gnu/dist/postfix/src/global/mail_version.h | 4 +- gnu/dist/postfix/src/global/maps.c | 5 +- gnu/dist/postfix/src/global/pipe_command.c | 5 + gnu/dist/postfix/src/global/rec_type.h | 7 + gnu/dist/postfix/src/global/resolve_clnt.c | 4 +- gnu/dist/postfix/src/global/sent.h | 1 - gnu/dist/postfix/src/lmtp/Makefile.in | 1 + gnu/dist/postfix/src/lmtp/lmtp.c | 12 + gnu/dist/postfix/src/lmtp/lmtp.h | 1 - gnu/dist/postfix/src/lmtp/lmtp_connect.c | 5 +- gnu/dist/postfix/src/lmtp/lmtp_proto.c | 15 +- gnu/dist/postfix/src/lmtp/lmtp_sasl_glue.c | 6 +- gnu/dist/postfix/src/lmtp/lmtp_state.c | 1 - gnu/dist/postfix/src/local/Makefile.in | 1 + gnu/dist/postfix/src/local/token.c | 5 + gnu/dist/postfix/src/master/master_sig.c | 11 + gnu/dist/postfix/src/nqmgr/qmgr_deliver.c | 2 +- gnu/dist/postfix/src/nqmgr/qmgr_message.c | 5 +- gnu/dist/postfix/src/pickup/Makefile.in | 1 + gnu/dist/postfix/src/pickup/pickup.c | 10 + gnu/dist/postfix/src/postalias/postalias.c | 6 +- gnu/dist/postfix/src/postcat/Makefile.in | 3 + gnu/dist/postfix/src/postcat/postcat.c | 84 ++++- gnu/dist/postfix/src/postdrop/postdrop.c | 5 +- gnu/dist/postfix/src/postmap/postmap.c | 6 +- gnu/dist/postfix/src/postsuper/postsuper.c | 92 ++++-- gnu/dist/postfix/src/proxymap/proxymap.c | 4 +- gnu/dist/postfix/src/qmgr/qmgr_deliver.c | 2 +- gnu/dist/postfix/src/sendmail/sendmail.c | 24 +- gnu/dist/postfix/src/smtp/Makefile.in | 1 + gnu/dist/postfix/src/smtp/smtp.c | 4 - gnu/dist/postfix/src/smtp/smtp_proto.c | 20 +- gnu/dist/postfix/src/smtpd/smtpd.h | 1 + gnu/dist/postfix/src/smtpd/smtpd_check.h | 1 - gnu/dist/postfix/src/smtpd/smtpd_check.in4 | 1 + gnu/dist/postfix/src/smtpd/smtpd_check.ref4 | 7 +- gnu/dist/postfix/src/smtpd/smtpd_check_access | 1 + gnu/dist/postfix/src/smtpd/smtpd_state.c | 1 + gnu/dist/postfix/src/smtpstone/Makefile.in | 3 + gnu/dist/postfix/src/smtpstone/qmqp-source.c | 3 +- gnu/dist/postfix/src/smtpstone/smtp-sink.c | 3 +- gnu/dist/postfix/src/smtpstone/smtp-source.c | 19 +- gnu/dist/postfix/src/spawn/spawn.c | 4 +- .../postfix/src/trivial-rewrite/transport.c | 2 +- gnu/dist/postfix/src/util/dict_mysql.c | 21 +- gnu/dist/postfix/src/util/find_inet.c | 3 +- gnu/dist/postfix/src/util/msg_syslog.c | 9 + gnu/dist/postfix/src/util/non_blocking.c | 2 +- gnu/dist/postfix/src/util/readlline.c | 2 +- gnu/dist/postfix/src/util/safe_open.c | 12 +- gnu/dist/postfix/src/util/sane_accept.c | 22 +- gnu/dist/postfix/src/util/sane_connect.c | 63 ++++ gnu/dist/postfix/src/util/sane_connect.h | 29 ++ gnu/dist/postfix/src/util/timed_connect.c | 3 +- gnu/dist/postfix/src/util/timed_read.c | 23 +- gnu/dist/postfix/src/util/timed_write.c | 29 +- gnu/dist/postfix/src/util/unix_connect.c | 3 +- gnu/dist/postfix/src/virtual/virtual.c | 2 +- 122 files changed, 1800 insertions(+), 872 deletions(-) create mode 100644 gnu/dist/postfix/src/util/sane_connect.c create mode 100644 gnu/dist/postfix/src/util/sane_connect.h diff --git a/gnu/dist/postfix/0README b/gnu/dist/postfix/0README index 0b13f9ca3d20..85420af5bedd 100644 --- a/gnu/dist/postfix/0README +++ b/gnu/dist/postfix/0README @@ -46,10 +46,10 @@ Web sites: Mail addresses (PLEASE send questions to the mailing list) - postfix-XXX@postfix.org Postfix mailing lists + postfix-users@postfix.org Postfix users mailing list wietse@porcupine.org the original author -In order to subscribe to a mailing list, see http://www.postfix.org/. +In order to subscribe to the mailing list, see http://www.postfix.org/. Acknowledgments =============== diff --git a/gnu/dist/postfix/COMPATIBILITY b/gnu/dist/postfix/COMPATIBILITY index 494efe453f77..c958ab4ee14e 100644 --- a/gnu/dist/postfix/COMPATIBILITY +++ b/gnu/dist/postfix/COMPATIBILITY @@ -31,7 +31,6 @@ mailertable yes (it's called transport) mailq yes majordomo yes (edit approve script to delete /^delivered-to:/i) mime yes (including 8bit to quoted-printable conversion) -mime conversion not yet; postfix uses just-send-eight mysql tables yes (contributed) netinfo tables yes (contributed) newaliases yes (main alias database only) diff --git a/gnu/dist/postfix/HISTORY b/gnu/dist/postfix/HISTORY index c882f46ad61a..5a315034715a 100644 --- a/gnu/dist/postfix/HISTORY +++ b/gnu/dist/postfix/HISTORY @@ -1262,12 +1262,12 @@ Apologies for any names omitted. reorganization of the way queue scans were done. The queue manager socket now has become public. -10091002 +19981002 SMTPD now logs "lost connection after end-of-message" instead of "lost connection after DATA". -10091005 +19981005 More bullet proofing: timeouts on all triggers. @@ -6928,7 +6928,7 @@ Apologies for any names omitted. File: util/dict_regexp.c. -200209010 +20020910 Bugfix: the SMTP client produced suprious warnings about trouble with fallback_relay hosts. File: smtp/smtp_connect.c. @@ -6936,7 +6936,7 @@ Apologies for any names omitted. Robustness: don't wait with detecting broken SMTP connections until reading input. Leandro Santi. File: smtpd/smtpd_chat.c. -200209011 +20020911 Workaround: IRIX 6 can't do ioctl FIONREAD on pipes. This breaks the in_flow_delay feature. File: util/sys_defs.h. @@ -7682,8 +7682,308 @@ Apologies for any names omitted. systems against exploitation of the remote buffer overflow vulnerability described in CERT advisory CA-2003-07. +20030311-19 + + Bugfix: the access map actions HOLD, DISCARD and FILTER + were broken with smtpd_delay_reject=no and with ETRN. Fixing + this required re-architecting of the actions code. Files: + smtpd/smtpd.[hc], smtpd/smtpd_check.c, smtpd/smtpd_state.c. + +20030315 + + Bugfix: the postsuper manual page documented support for + the -c command line option, but it was not implemented. + File: postsuper/postsuper.c. + + Bugfix: the Postfix 2.0 recipient map checking code broke + the VRFY command, causing it to reply with status code 252 + for non-existent addresses. This required re-architecting + the recipient table lookup code. File: smtpd/smtpd_check.c. + +20030410 + + Safety: log a fatal error when a net/mask pattern has a + non-zero host part, so that mail delivery is deferred. + File: util/match_ops.c. + +20030411 + + Bugfix: extraneous warning about out-of-order original + recipient records by Patrik Rak. Files: *qmgr/qmgr_message.c. + +20030415 + + Workaround: log a warning and reset incoming queue file + time stamps when the file system clock is ahead of the + local clock, instead of ignoring new mail until the next + queue scan. The file system clock drift detection executes + only once per process instance, to minimize the performance + impact. File: global/mail_stream.c. + +20030416 + + Bugfix: missing partial last line when 1) someone submits + 8-bit mail not ending in newline via /usr/sbin/sendmail + and 2) MIME input processing is turned off, and 3) MIME + 8bit->7bit conversion is requested upon delivery via SMTP. + +20030424 + + Cleanup: readlline() did not terminate the result before + complaining about lines starting with whitespace. + + Cleanup: eliminated valid_hostname warning for invalid + queue file names. File: global/mail_queue.c. + + Bugfix: the Postfix sendmail command applied the message + size limit when running as newaliases. The limiting code + is now moved to the message enqueuing branch of the code. + File: sendmail/sendmail.c. + +20030429 + + Bugfix: "," was not recognized in proxy_read_maps settings. + Fix by Leandro Santi. File: proxymap/proxymap.c. + +20030502 + + Bugfix: defer delivery after .forward etc. file read error. + File: local/token.c. Problem reported by Ben Rosengart, + Panix. + +20030520 + + Cleanup: future time stamps in Received: headers and negative + delays in delivery agent logging after "postdrop -r", + because deferred queue files had future file modification + times. File: src/postsuper/postsuper.c. + +20030521 + + Cleanup: nqmgr warnings about "recipient count mismatch" + after "postdrop -r", because the cleanup server did not + count the "already done" recipients. Problem reported by + Richard Stockton, Gramma Software. Files: + cleanup/cleanup_envelope.c, cleanup/cleanup_extracted.c + +20030528 + + Compatibility: "sendmail -q