]> git.ipfire.org Git - thirdparty/postfix.git/commitdiff
snapshot-20001121
authorWietse Venema <wietse@porcupine.org>
Tue, 21 Nov 2000 05:00:00 +0000 (00:00 -0500)
committerViktor Dukhovni <viktor@dukhovni.org>
Tue, 5 Feb 2013 06:26:56 +0000 (06:26 +0000)
postfix/HISTORY
postfix/LMTP_README
postfix/PORTING
postfix/RELEASE_NOTES
postfix/conf/virtual
postfix/html/virtual.5.html
postfix/man/man5/virtual.5
postfix/proto/virtual
postfix/src/global/mail_version.h
postfix/src/global/pipe_command.c
postfix/src/smtpd/smtpd_check.c

index cc90d46a7b8d9033ac17470447f82d2a24afd099..f54f46ded9b644f9afebf213ded5f779c17a5a4d 100644 (file)
@@ -4516,3 +4516,9 @@ Apologies for any names omitted.
        that specify the width of %*letter conversions.  On some
        systems, sizeof and pointer difference expressions are
        wider than an int.  Reported by Valentin Nechayev @ lucky.net.
+
+20001121:
+
+       Compatibility: Postfix now retries delivery when an external
+       command is killed by a signal, because people expect such
+       behavior from Sendmail. File: global/pipe_command.c.
index 33ab63198ab068e31df5d56b377cc687e1c4c046..873c6c3d10878566f0ac8e3dd45e7be1c17af25d 100644 (file)
@@ -1,3 +1,35 @@
+BEGIN WARNING
+=============
+
+The information in this file is outdated. The Postfix LMTP server
+can now make connections over UNIX-domain sockets. 
+
+With connections over TCP sockets, some Cyrus implementations insist
+on SASL-style authentication, which is not supported by the Postfix
+LMTP client. In that case, use UNIX-domain sockets instead.
+
+The precise syntax for UNIX-domain and TCP connection endpoints is
+given in the lmtp(8) manual page.
+
+Examples:
+
+    /etc/postfix/transport:
+       domain1.name            lmtp1:unix:/path/name
+       domain2.name            lmtp2:lmtp2host
+
+    /etc/postfix/master.cf:
+        lmtp1      unix  -       -       n       -       -       lmtp
+        lmtp2      unix  -       -       n       -       -       lmtp
+
+The first example (domain1) uses UNIX-domain connections, the second
+example (domain2) uses TCP. 
+
+For optimal use of connection caching, specify separate mail delivery
+transports for each domain that receives mail via LMTP:
+
+END WARNING
+===========
+
 Postfix LMTP support
 ====================
 
index 46df4486f4442eebfbd96af65a96899af289a733..2a494420bde4b6aa598c0c8cf50aa2fb249cc71a 100644 (file)
@@ -15,9 +15,10 @@ native flavor, not the emulated one.
 - Add an #ifdef SYSTEMTYPE section to the central util/sys_defs.h
 include file.  You may have to invent new feature macros.  Please
 choose sensible feature macro names such as HAS_DBM or
-FIONREAD_IN_SYS_FILIO_H.  I strongly recommend against #ifdef
-SYSTEMTYPE dependencies in individual source files.  This may seem
-to be the quickest solution, but it will create a mess that becomes
-increasingly difficult to maintain over time. Moreover, with the
-next port you'd have to place #ifdefs all over the source code
-again.
+FIONREAD_IN_SYS_FILIO_H.  
+
+I strongly object to #ifdef SYSTEMTYPE dependencies in individual
+source files.  This may seem to be the quickest solution, but it
+will create a mess that becomes increasingly difficult to maintain
+over time. Moreover, with the next port to another system you'd
+have to place #ifdefs all over the source code again.
index 2b077fba0c5aeac33c20dd914b5f7de87580e150..3ee7d1a1ab9f68795dfd41aff4d994bbe54c0c57 100644 (file)
@@ -1,23 +1,35 @@
-Incompatible changes with snapshot-20001120
+Incompatible changes with snapshot-20001121
 ===========================================
 
-On RedHat Linux 7.0, you must install the db3-devel RPM before you
-can compile the Postfix source code.
+If this release does not work for you, you can go back to a previous
+Postfix version without losing your mail, subject to the "incompatible
+changes" listed for previous Postfix releases below.
 
-Major changes with snapshot-20001120
+Major changes with snapshot-20001121
 ====================================
 
-The mailbox_transport feature works again.
+Support for RedHat Linux 7.0.  On RedHat Linux 7.0, you must install
+the db3-devel RPM before you can compile the Postfix source code.
+
+The mailbox_transport feature works again. It was broken when the
+"require_home_directory" feature was added.
+
+More general virtual domain support.  Postfix now supports both
+Sendmail-style virtual domains and Postfix-style virtual domains.
+Details and examples are given in the revised virtual manual page.
+
+- With Sendmail-style virtual domains, local users/aliases/mailing
+  lists are visible as localname@virtual.domain. This is convenient
+  if you want to host mailing lists under virtual domains.
 
-Postfix now supports both Sendmail-style virtual domains (all local
-users and aliases are visible in all virtual domains) and Postfix-style
-virtual domains (local users and aliases are not visible in virtual
-domains).  Details and examples are given in the revised virtual
-manual page.
+- With Postfix-style virtual domains, local users/aliases/mailing
+  lists are not visible as localname@virtual.domain. Each virtual
+  domain has its own separate name space.
 
-The soft bounce feature now includes the Postfix SMTP server.
-Specify "soft_bounce = yes" in main.cf to prevent the SMTP server
-from bouncing mail while you are testing configurations.
+More general "soft bounce" feature.  Specify "soft_bounce = yes"
+in main.cf to prevent the SMTP server from bouncing mail while you
+are testing configurations. Until this release the SMTP server was
+not aware of soft bounces.
 
 Incompatible changes with snapshot-20001029
 ===========================================
index 25a4a6928ae5e06b20009281d819bcf36f74ddf3..d0a3d7b8ac38cdc2c7513588f793fa5d25733776 100644 (file)
 #        has  its  own  user  name  space. Local (i.e. non-virtual)
 #        usernames are  not  visible  in  a  Postfix-style  virtual
 #        domain.  In particular, local aliases(5) and mailing lists
-#        are not visible in a Postfix-style virtual domain.
+#        are not visible as localname@virtual.domain.
 # 
 #        Use a Sendmail-style virtual domain (see below)  if  local
 #        usernames,  aliases(5)  or mailing lists should be visible
-#        in that virtual domain.
+#        as localname@virtual.domain.
 # 
 #        Support for a Postfix-style virtual domain looks like:
 # 
 #        With a Sendmail-style virtual domain,  every  local  (i.e.
 #        non-virtual) username is visible in the virtual domain. In
 #        particular, every local alias and mailing list is  visible
-#        in a Sendmail-style virtual domain.
+#        as localname@virtual.domain.
 # 
 #        Use  a  Postfix-style  virtual domain (see above) if local
 #        usernames, aliases(5) or mailing lists should not be visi-
-#        ble in that virtual domain.
+#        ble as localname@virtual.domain.
 # 
 #        Support for a Sendmail-style virtual domain looks like:
 # 
index 4822791f6314379e45ffd50f2d8f0f3272ff6f69..720d763b6ae54dc0339cb4e34d936624ed7d3da5 100644 (file)
@@ -44,11 +44,11 @@ VIRTUAL(5)                                             VIRTUAL(5)
        has  its  own  user  name  space. Local (i.e. non-virtual)
        usernames are  not  visible  in  a  Postfix-style  virtual
        domain.  In particular, local <a href="aliases.5.html"><b>aliases</b>(5)</a> and mailing lists
-       are not visible in a Postfix-style virtual domain.
+       are not visible as <i>localname@virtual.domain</i>.
 
        Use a Sendmail-style virtual domain (see below)  if  local
        usernames,  <a href="aliases.5.html"><b>aliases</b>(5)</a>  or mailing lists should be visible
-       in that virtual domain.
+       as <i>localname@virtual.domain</i>.
 
        Support for a Postfix-style virtual domain looks like:
 
@@ -86,11 +86,11 @@ VIRTUAL(5)                                             VIRTUAL(5)
        With a Sendmail-style virtual domain,  every  local  (i.e.
        non-virtual) username is visible in the virtual domain. In
        particular, every local alias and mailing list is  visible
-       in a Sendmail-style virtual domain.
+       as <i>localname@virtual.domain</i>.
 
        Use  a  Postfix-style  virtual domain (see above) if local
        usernames, <a href="aliases.5.html"><b>aliases</b>(5)</a> or mailing lists should not be visi-
-       ble in that virtual domain.
+       ble as <i>localname@virtual.domain</i>.
 
        Support for a Sendmail-style virtual domain looks like:
 
index 96747ab60222f082255699fc1cadcb3b1b3d19ee..ef75b179de6b42ca7a10ea75ac958eb810ccb2b3 100644 (file)
@@ -42,12 +42,12 @@ the lookups are done in a slightly different way as described below.
 With a Postfix-style virtual domain, the virtual domain has its
 own user name space. Local (i.e. non-virtual) usernames are not
 visible in a Postfix-style virtual domain. In particular, local
-\fBaliases\fR(5) and mailing lists are not visible in a
-Postfix-style virtual domain.
+\fBaliases\fR(5) and mailing lists are not visible as
+\fIlocalname@virtual.domain\fR.
 
 Use a Sendmail-style virtual domain (see below) if local usernames,
-\fBaliases\fR(5) or mailing lists should be visible in that virtual
-domain.
+\fBaliases\fR(5) or mailing lists should be visible as
+\fIlocalname@virtual.domain\fR.
 
 Support for a Postfix-style virtual domain looks like:
 .sp
@@ -77,13 +77,12 @@ mail for \fIunknown-user\fR@\fIvirtual.domain\fR as undeliverable.
 .ad
 .fi
 With a Sendmail-style virtual domain, every local (i.e. non-virtual)
-username is visible in the virtual domain. In particular, every
-local alias and mailing list is visible in a Sendmail-style virtual
-domain.
+username is visible in the virtual domain. In particular, every local
+alias and mailing list is visible as \fIlocalname@virtual.domain\fR.
 
 Use a Postfix-style virtual domain (see above) if local usernames,
-\fBaliases\fR(5) or mailing lists should not be visible in that
-virtual domain.
+\fBaliases\fR(5) or mailing lists should not be visible as
+\fIlocalname@virtual.domain\fR.
 
 Support for a Sendmail-style virtual domain looks like:
 .sp
index ed0451535bd3ccdf89b49a1bdd55bce66833b4c2..a42646c7eb12da572df3fa3eef730027e3b5aa60 100644 (file)
 #      With a Postfix-style virtual domain, the virtual domain has its
 #      own user name space. Local (i.e. non-virtual) usernames are not
 #      visible in a Postfix-style virtual domain. In particular, local
-#      \fBaliases\fR(5) and mailing lists are not visible in a
-#      Postfix-style virtual domain.
+#      \fBaliases\fR(5) and mailing lists are not visible as
+#      \fIlocalname@virtual.domain\fR.
 #
 #      Use a Sendmail-style virtual domain (see below) if local usernames,
-#      \fBaliases\fR(5) or mailing lists should be visible in that virtual
-#      domain.
+#      \fBaliases\fR(5) or mailing lists should be visible as
+#      \fIlocalname@virtual.domain\fR.
 #
 #      Support for a Postfix-style virtual domain looks like:
 # .sp
 # .ad
 # .fi
 #      With a Sendmail-style virtual domain, every local (i.e. non-virtual)
-#      username is visible in the virtual domain. In particular, every
-#      local alias and mailing list is visible in a Sendmail-style virtual
-#      domain.
+#      username is visible in the virtual domain. In particular, every local
+#      alias and mailing list is visible as \fIlocalname@virtual.domain\fR.
 #
 #      Use a Postfix-style virtual domain (see above) if local usernames,
-#      \fBaliases\fR(5) or mailing lists should not be visible in that
-#      virtual domain.
+#      \fBaliases\fR(5) or mailing lists should not be visible as
+#      \fIlocalname@virtual.domain\fR.
 #
 #      Support for a Sendmail-style virtual domain looks like:
 # .sp
index 68fe73b56dbc5d0e4fd868ac522ff4c3d9feb72c..852072839c3b2d67774f27f3f28bb37dbb6fb62d 100644 (file)
@@ -15,7 +15,7 @@
   * Version of this program.
   */
 #define VAR_MAIL_VERSION       "mail_version"
-#define DEF_MAIL_VERSION       "Snapshot-20001120"
+#define DEF_MAIL_VERSION       "Snapshot-20001121"
 extern char *var_mail_version;
 
 /* LICENSE
index a816ef956166eea17efb9263a343a7ac2f7e0062..b86da9cad7fc1ed1c58edd9b8d5413e2e7c4718d 100644 (file)
@@ -486,7 +486,7 @@ int     pipe_command(VSTREAM *src, VSTRING *why,...)
                                WTERMSIG(wait_status),
                                args.command,
                              log_len ? ". Command output: " : "", log_buf);
-               return (PIPE_STAT_BOUNCE);
+               return (PIPE_STAT_DEFER);
            } else if (SYS_EXITS_CODE(WEXITSTATUS(wait_status))) {
                vstring_sprintf(why, "%s%s%s",
                                sys_exits_strerror(WEXITSTATUS(wait_status)),
index cba8d818144892fba19e83ed92f5d814fde0a767..3d8c0e1305a48335689b6ed357aab9dd95d62019 100644 (file)
@@ -1979,8 +1979,7 @@ char   *smtpd_check_rcptmap(SMTPD_STATE *state, char *recipient)
      * Sendmail-style virtual domains.
      */
     if (*var_local_rcpt_maps && resolve_local(domain)) {
-       if (NOMATCH(relocated_maps, STR(reply.recipient))
-           && NOMATCH(rcpt_canon_maps, STR(reply.recipient))
+       if (NOMATCH(rcpt_canon_maps, STR(reply.recipient))
            && NOMATCH(canonical_maps, STR(reply.recipient))
            && NOMATCH(relocated_maps, STR(reply.recipient))
            && NOMATCH(virtual_maps, STR(reply.recipient))