]> git.ipfire.org Git - thirdparty/postfix.git/commitdiff
snapshot-20000203
authorWietse Venema <wietse@porcupine.org>
Thu, 3 Feb 2000 00:00:00 +0000 (00:00 +0000)
committerWietse Venema <wietse@porcupine.org>
Thu, 17 Jan 2013 23:10:05 +0000 (18:10 -0500)
14 files changed:
postfix/HISTORY
postfix/RELEASE_NOTES
postfix/cleanup/cleanup_envelope.c
postfix/cleanup/cleanup_message.c
postfix/conf/access
postfix/global/bounce.h
postfix/global/mail_stream.c
postfix/global/mail_version.h
postfix/html/access.5.html
postfix/html/faq.html
postfix/html/local.8.html
postfix/local/local.c
postfix/man/man5/access.5
postfix/man/man8/local.8

index 0ecf4d17162a69a417c35ffb5fe8e61555a07a5a..679a788a888e70e98ce724e9e5910552a426b698 100644 (file)
@@ -3612,6 +3612,15 @@ Apologies for any names omitted.
        excess mail so that one site with a large backlog does not
        block other deliveries.
 
+20000128
+
+       Cleanup: the queue manager no longer replaces the nexthop
+       field by the recipient localpart when a destination matches
+       $mydestination/$inet_interfaces. The price is the introduction
+       of a new parameter local_destination_recipient_limit which
+       defaults to 1 i order to maintain backwards compatibility.
+       Files: qmgr/qmgr.c, qmgr/qmgr_message.c.
+
 20000129
 
        Bugfix: extracted recipients were misfiled when a message
index 506e100dccd666b405f2963cf1ffda15072b4c5b..ac4111da224183da4f301e448978c110f2a42eda 100644 (file)
@@ -1,13 +1,13 @@
-Incompatible changes with snapshot-20000104
+Incompatible changes with snapshot-20000203
 ===========================================
 
 None sofar.
 
-Major changes with snapshot-20000104
+Major changes with snapshot-20000203
 ====================================
 
 Questionable feature: with "smtp_skip_5xx_greeting = yes", Postfix
-emulates brain damage found in some other MTAs.
+emulates behavior found in some other MTAs.
 
 Incompatible changes with postfix-19991231:
 ===========================================
index 0a4faf43c0a92d6c7d98264a4afa982770073b90..86e1fc4109150aa01ba9ee3c7c9101e33776d9ce 100644 (file)
@@ -16,7 +16,8 @@
 /*     This module processes envelope records and writes the result
 /*     to the queue file.  It validates the message structure, rewrites
 /*     sender/recipient addresses to canonical form, and expands recipients
-/*     according to entries in the virtual table.
+/*     according to entries in the virtual table. This routine absorbs but 
+/*     does not emit the envelope to content boundary record.
 /*
 /*     Arguments:
 /* .IP state
@@ -69,7 +70,7 @@
 
 static void cleanup_envelope_process(CLEANUP_STATE *, int, char *, int);
 
-/* cleanup_envelope - process message envelope */
+/* cleanup_envelope - initialize message envelope */
 
 void    cleanup_envelope(CLEANUP_STATE *state, int type, char *str, int len)
 {
index 406b7235f03d00872234b29e7a3d22ef78f8519d..532ddce5dcc2fc69969ef03cbc9b8957179b51c6 100644 (file)
@@ -17,6 +17,8 @@
 /*     sender/recipient addresses to canonical form, inserts missing
 /*     message headers, and extracts information from message headers
 /*     to be used later when generating the extracted output segment.
+/*     This routine absorbs but does not emit the content to extracted
+/*     boundary record.
 /*
 /*     Arguments:
 /* .IP state
@@ -427,6 +429,8 @@ static void cleanup_message_header(CLEANUP_STATE *state, int type, char *buf, in
            VSTRING_ADDCH(state->header_buf, '\n');
            vstring_strcat(state->header_buf, buf);
            return;
+       } else {
+            /* Body record or end of message segment. */ ;
        }
 
        /*
@@ -469,16 +473,6 @@ static void cleanup_message_body(CLEANUP_STATE *state, int type, char *buf, int
     char   *myname = "cleanup_message_body";
     long    xtra_offset;
 
-    /*
-     * Sanity check.
-     */
-    if (strchr(REC_TYPE_CONTENT, type) == 0) {
-       msg_warn("%s: %s: unexpected record type %d",
-                state->queue_id, myname, type);
-       state->errs |= CLEANUP_STAT_BAD;
-       return;
-    }
-
     /*
      * Copy body record to the output.
      */
index ba45f0d2e9ad4e8f9b6e575990a87c95ea6b134f..6fcde8c3fe0a1500ecf6eb996380dc4f86304450 100644 (file)
 #      regular expression lookup table syntax, see \fBregexp_table\fR(5)
 #      or \fBpcre_table\fR(5).
 #
-#      Patterns become regular expressions that are applied to the entire
+#      Each pattern is a regular expression that is applied to the entire
 #      string being looked up. Depending on the application, that string
 #      is an entire client hostname, an entire client IP address, or an
-#      entire mail address.
+#      entire mail address. Patterns are applied in order as specified,
+#      until a pattern is found that matches the search string.
 #
-#      In contrast to the normal lookups from indexed files, no parent
-#      domain or network search is done, and \fIuser@domain\fR mail
-#      addresses are not broken up into their \fIuser@\fR and \fIdomain\fR
-#      constituent parts.
+#      In contrast to lookups from indexed files, no parent domain or
+#      parent network search is done with regular expression tables, 
+#      and \fIuser@domain\fR mail addresses are not broken up into their 
+#      \fIuser@\fR and \fIdomain\fR constituent parts.
 #
 #      Actions are the same as with normal indexed file lookups, with
 #      the additional feature that parenthesized substrings from the
index 632d62fb015875e513030d64bdd70a8e2aaeaab7..ccee874ef08bf0eb32a7ca692e133bad3826b558 100644 (file)
@@ -38,8 +38,7 @@ extern int vbounce_recip(int, const char *, const char *, const char *,
   */
 #define BOUNCE_CMD_APPEND      0       /* append log */
 #define BOUNCE_CMD_FLUSH       1       /* send log */
-#define BOUNCE_CMD_WARN                2       /* send warning bounce, don't delete
-                                        * log */
+#define BOUNCE_CMD_WARN                2       /* send warning bounce, don't delete log */
 #define BOUNCE_CMD_RECIP       3       /* immediate bounce, no logfile */
 
  /*
index a51c8f4961233b91b842616863984237893692d2..8680c026aff0d5e63fd26411a57c07f74f9f953d 100644 (file)
@@ -14,9 +14,8 @@
 /* .in -4
 /*     } MAIL_STREAM;
 /*
-/*     MAIL_STREAM *mail_stream_file(queue, mode, class, service)
+/*     MAIL_STREAM *mail_stream_file(queue, class, service)
 /*     const char *queue;
-/*     int     mode;
 /*     const char *class;
 /*     const char *service;
 /*
index 8303e414f2b757270ed940fc7ab8c741a8a80969..956d196701c0009f60c1ccce6590b2056191bb07 100644 (file)
@@ -15,7 +15,7 @@
   * Version of this program.
   */
 #define VAR_MAIL_VERSION       "mail_version"
-#define DEF_MAIL_VERSION       "Snapshot-20000130"
+#define DEF_MAIL_VERSION       "Snapshot-20000203"
 extern char *var_mail_version;
 
 /* LICENSE
index 3c0de66f957495ef83e8502e6fac947bf2adcabb..47059a1a107343a8acaffed90b83dacced761f89 100644 (file)
@@ -100,15 +100,17 @@ ACCESS(5)                                               ACCESS(5)
        a description of regular expression lookup  table  syntax,
        see <b>regexp</b><i>_</i><b>table</b>(5) or <b>pcre</b><i>_</i><b>table</b>(5).
 
-       Patterns  become  regular  expressions that are applied to
+       Each  pattern  is  a regular expression that is applied to
        the entire string being looked up. Depending on the appli-
        cation,  that  string  is  an  entire  client hostname, an
-       entire client IP address, or an entire mail address.
+       entire client IP address, or an entire mail address.  Pat-
+       terns  are  applied in order as specified, until a pattern
+       is found that matches the search string.
 
-       In contrast to the normal lookups from indexed  files,  no
-       parent  domain  or network search is done, and <i>user@domain</i>
-       mail addresses are not broken  up  into  their  <i>user@</i>  and
-       <i>domain</i> constituent parts.
+       In contrast to  lookups  from  indexed  files,  no  parent
+       domain  or  parent  network  search  is  done with regular
+       expression tables, and <i>user@domain</i> mail addresses are  not
+       broken up into their <i>user@</i> and <i>domain</i> constituent parts.
 
        Actions  are the same as with normal indexed file lookups,
        with the additional feature that parenthesized  substrings
@@ -120,11 +122,9 @@ ACCESS(5)                                               ACCESS(5)
 <b>SEE</b> <b>ALSO</b>
        <a href="postmap.1.html">postmap(1)</a> create mapping table
        <a href="smtpd.8.html">smtpd(8)</a> smtp server
-       pcre_table(5) format of PCRE tables
-       regexp_table(5) format of POSIX regexp tables
+       <a href="pcre_table.5.html">pcre_table(5)</a> format of PCRE tables
+       <a href="regexp_table.5.html">regexp_table(5)</a> format of POSIX regexp tables
 
-<b>LICENSE</b>
-       The  Secure  Mailer  license must be distributed with this
 
 
 
@@ -137,6 +137,8 @@ ACCESS(5)                                               ACCESS(5)
 ACCESS(5)                                               ACCESS(5)
 
 
+<b>LICENSE</b>
+       The  Secure  Mailer  license must be distributed with this
        software.
 
 <b>AUTHOR(S)</b>
@@ -189,8 +191,6 @@ ACCESS(5)                                               ACCESS(5)
 
 
 
-
-
 
 
 
index f26e92faeba45614cdb7f674d70722b8991fc041..5e574906a00c092ea1c0c9f1a10b80e8863ea38b 100644 (file)
@@ -1289,7 +1289,7 @@ in <b>/etc/postfix/master.cf</b>, specify:
 
 <pre>
     /etc/postfix/main.cf:
-        local_recipient_maps = $relocated_maps $alias_maps, unix:passwd.byname
+        local_recipient_maps = $alias_maps, unix:passwd.byname
 </pre>
 
 <p>
index 26e48689e5969ec61ec2869078bfddefed5caefc..a4c1574d34eeeb9fd6098624e7a0ef733de82127 100644 (file)
@@ -252,7 +252,7 @@ LOCAL(8)                                                 LOCAL(8)
        <b>ward</b>+<i>foo</i> or in ~<i>name</i>/.<b>forward</b>, to the mailbox owned by the
        user <i>name</i>, or it is sent back as undeliverable.
 
-       In all cases the <b>local</b> daemon prepends an opional  `<b>Deliv-</b>
+       In all cases the <b>local</b> daemon prepends an optional `<b>Deliv-</b>
        <b>ered-To:</b> <i>name</i>+<i>foo</i>' header line.
 
 <b>DELIVERY</b> <b>RIGHTS</b>
index 90c6ff84d3d3a9df964abbb4a0ed859f8595c253..94bcb97994ba4cd60587b43b276861e60961d7cc 100644 (file)
 /*     to the mailbox owned by the user \fIname\fR, or it is sent back as
 /*     undeliverable.
 /*
-/*     In all cases the \fBlocal\fR daemon prepends an opional
+/*     In all cases the \fBlocal\fR daemon prepends an optional
 /*     `\fBDelivered-To:\fR \fIname\fR+\fIfoo\fR' header line.
 /* DELIVERY RIGHTS
 /* .ad
index f923d735348c31c96f9ee10b2ac659c4671ac8dd..4791bf88c7991f2c7a1a508bfad3a732c4688262 100644 (file)
@@ -84,15 +84,16 @@ is given in the form of regular expressions. For a description of
 regular expression lookup table syntax, see \fBregexp_table\fR(5)
 or \fBpcre_table\fR(5).
 
-Patterns become regular expressions that are applied to the entire
+Each pattern is a regular expression that is applied to the entire
 string being looked up. Depending on the application, that string
 is an entire client hostname, an entire client IP address, or an
-entire mail address.
+entire mail address. Patterns are applied in order as specified,
+until a pattern is found that matches the search string.
 
-In contrast to the normal lookups from indexed files, no parent
-domain or network search is done, and \fIuser@domain\fR mail
-addresses are not broken up into their \fIuser@\fR and \fIdomain\fR
-constituent parts.
+In contrast to lookups from indexed files, no parent domain or
+parent network search is done with regular expression tables,
+and \fIuser@domain\fR mail addresses are not broken up into their
+\fIuser@\fR and \fIdomain\fR constituent parts.
 
 Actions are the same as with normal indexed file lookups, with
 the additional feature that parenthesized substrings from the
index 29a3c3b266b6fe5a23e102099ce29865a7424ef0..da7665d53ba7e8887b39412d575238cd1313d657 100644 (file)
@@ -232,7 +232,7 @@ or to the alias \fIname\fR, to the destinations listed in
 to the mailbox owned by the user \fIname\fR, or it is sent back as
 undeliverable.
 
-In all cases the \fBlocal\fR daemon prepends an opional
+In all cases the \fBlocal\fR daemon prepends an optional
 `\fBDelivered-To:\fR \fIname\fR+\fIfoo\fR' header line.
 .SH DELIVERY RIGHTS
 .na