]> git.ipfire.org Git - thirdparty/postfix.git/commitdiff
postfix-2.3-20060601
authorWietse Venema <wietse@porcupine.org>
Thu, 1 Jun 2006 05:00:00 +0000 (00:00 -0500)
committerViktor Dukhovni <viktor@dukhovni.org>
Tue, 5 Feb 2013 06:32:18 +0000 (06:32 +0000)
23 files changed:
postfix/HISTORY
postfix/README_FILES/ADDRESS_VERIFICATION_README
postfix/README_FILES/SMTPD_POLICY_README
postfix/README_FILES/STANDARD_CONFIGURATION_README
postfix/html/ADDRESS_VERIFICATION_README.html
postfix/html/SMTPD_POLICY_README.html
postfix/html/STANDARD_CONFIGURATION_README.html
postfix/html/pipe.8.html
postfix/html/postconf.5.html
postfix/man/man5/postconf.5
postfix/man/man8/pipe.8
postfix/proto/ADDRESS_VERIFICATION_README.html
postfix/proto/SMTPD_POLICY_README.html
postfix/proto/STANDARD_CONFIGURATION_README.html
postfix/proto/postconf.proto
postfix/src/global/mail_proto.h
postfix/src/global/mail_version.h
postfix/src/pipe/pipe.c
postfix/src/smtpd/Makefile.in
postfix/src/smtpd/smtpd_check.c
postfix/src/smtpd/smtpd_check_backup.in [moved from postfix/src/smtpd/smtpd_backup.in with 100% similarity]
postfix/src/smtpd/smtpd_check_backup.ref [moved from postfix/src/smtpd/smtpd_backup.ref with 65% similarity]
postfix/src/smtpd/smtpd_exp.ref

index 2d4cb49cd67d6b538a7ebee77653168b8023e190..89683247dd89c45091d19200626750a2670d2353 100644 (file)
@@ -12163,8 +12163,25 @@ Apologies for any names omitted.
        problem. Victor Duchovni. Files: tls/tls_client.c,
        tls/tls_misc.c, tls/tls_server.c.
 
+20060524
+
+       Cleanup: send ETRN command parameter when using check_policy
+       in the context of an ETRN command. Joshua Goodall. File:
+       smtpd/smtpd_check.c.
+
+20060601
+
+       Bugfix (bug introduced 20051118): permit_mx_backup authorized
+       domains without secondary MX records.  Joshua Goodall. File:
+       smtpd/smtpd_check.c.
+
 Wish list:
 
+       Find out if postfix_tls@aet.tu-cottbus.de is still appropriate,
+       and if not, update TLS_README.
+
+       Do or don't introduce unknown_reverse_client_reject_code. 
+
        Don't send xforward attributes to every site that announces
        xforward support.
 
index f3339537c49eec29ee98738d6ef1720b0531569c..15679b7b0ae403b4f41702fd7b6116727021328d 100644 (file)
@@ -225,7 +225,7 @@ Postfix has a bunch of parameters that control the caching of positive and
 negative results. Refer to the verify(8) manual page for details.
 
 The address_verify_map (NOTE: singular) configuration parameter specifies an
-optional persistent database for sender address verification results. If you
+optional database for sender or recipient address verification results. If you
 don't specify a file, all address verification information is lost after
 "postfix reload" or "postfix stop".
 
index e58508cdddfb4b9e328a6457e01bbe2bf855aad4..efa61a32330101690e7e97a09c93b936b5794b37 100644 (file)
@@ -64,6 +64,7 @@ a delegated SMTPD access policy request:
     encryption_protocol=TLSv1/SSLv3
     encryption_cipher=DHE-RSA-AES256-SHA
     encryption_keysize=256
+    etrn_domain=
     [empty line]
 
 Notes:
@@ -119,6 +120,9 @@ Notes:
     about how the connection is encrypted. With plaintext connections the
     protocol and cipher attributes are empty and the keysize is zero.
 
+  * The "etrn_domain" attribute is defined only in the context of the ETRN
+    command, and specifies the ETRN command parameter.
+
 The following is specific to SMTPD delegated policy requests:
 
   * Protocol names are ESMTP or SMTP.
index 46b6dba478468c048346a7cc2fd067070673d783..a1c8f6ae2354e05759f218fb7e2d6e7151cc88c7 100644 (file)
@@ -413,8 +413,8 @@ Important notes:
     up.domain.tld" domain. This prevents your mail queue from filling up with
     undeliverable MAILER-DAEMON messages. If you can't maintain a list of valid
     recipients then you must specify "relay_recipient_maps =" (that is, an
-    empty value), or you must specify an "@the.backed-up.domain x" wild-card in
-    the relay_recipients table.
+    empty value), or you must specify an "@the.backed-up.domain.tld x" wild-
+    card in the relay_recipients table.
 
   * Line 22: The [] forces Postfix to do no MX lookup.
 
index 190bbaa7ed6922c6c334740b92cd4a6f7377f8b6..364dea6077ad433785ec514f6d5dae986253feeb 100644 (file)
@@ -166,7 +166,7 @@ the status is cached and Postfix replies immediately. </p>
 <p> When verification takes too long the Postfix SMTP server defers
 the sender or recipient address with a 450 reply. Normal mail
 clients will connect again after some delay.  The address verification
-delay is configurable with the main.cf <a href="postconf.5.html#address_verify_poll_count">address_verify_poll_count</a>
+delay is configurable with the <a href="postconf.5.html">main.cf</a> <a href="postconf.5.html#address_verify_poll_count">address_verify_poll_count</a>
 and <a href="postconf.5.html#address_verify_poll_delay">address_verify_poll_delay</a> parameters.  See <a href="postconf.5.html">postconf(5)</a> for
 details. </p>
 
@@ -232,7 +232,7 @@ succeeds, then Postfix accepts mail for the recipient address. </p>
 
 <blockquote>
 <pre>
-/etc/postfix/main.cf:
+/etc/postfix/<a href="postconf.5.html">main.cf</a>:
     <a href="postconf.5.html#smtpd_recipient_restrictions">smtpd_recipient_restrictions</a> = 
         <a href="postconf.5.html#permit_mynetworks">permit_mynetworks</a>
         <a href="postconf.5.html#reject_unauth_destination">reject_unauth_destination</a>
@@ -259,7 +259,7 @@ specific domains that often appear in forged email. </p>
 
 <blockquote>
 <pre>
-/etc/postfix/main.cf:
+/etc/postfix/<a href="postconf.5.html">main.cf</a>:
     <a href="postconf.5.html#smtpd_sender_restrictions">smtpd_sender_restrictions</a> = hash:/etc/postfix/sender_access
     <a href="postconf.5.html#unverified_sender_reject_code">unverified_sender_reject_code</a> = 550
     # Note 1: Be sure to read the "<a href="#caching">Caching</a>" section below!
@@ -296,7 +296,7 @@ you can see what mail would be blocked: </p>
 
 <blockquote>
 <pre>
-/etc/postfix/main.cf:
+/etc/postfix/<a href="postconf.5.html">main.cf</a>:
     <a href="postconf.5.html#smtpd_sender_restrictions">smtpd_sender_restrictions</a> = 
         <a href="postconf.5.html#permit_mynetworks">permit_mynetworks</a>
         ... 
@@ -344,7 +344,7 @@ judgments. </p>
 <h2><a name="caching">Address verification database</a></h2>
 
 <p> NOTE: By default, address verification information is not stored
-in a persistent file. You have to specify one in main.cf (see
+in a persistent file. You have to specify one in <a href="postconf.5.html">main.cf</a> (see
 below). Persistent storage is off by default because it may need
 more disk space than is available in your file system. </p>
 
@@ -354,7 +354,7 @@ of positive and negative results. Refer to the <a href="verify.8.html">verify(8)
 page for details. </p>
 
 <p> The <a href="postconf.5.html#address_verify_map">address_verify_map</a> (NOTE: singular) configuration parameter
-specifies an optional persistent database for sender address
+specifies an optional database for sender or recipient address
 verification results.  If you don't specify a file, all address
 verification information is lost after "postfix reload" or "postfix
 stop". </p>
@@ -363,7 +363,7 @@ stop". </p>
 
 <blockquote>
 <pre>
-/etc/postfix/main.cf:
+/etc/postfix/<a href="postconf.5.html">main.cf</a>:
     # Note: avoid hash files here. Use btree instead.
     <a href="postconf.5.html#address_verify_map">address_verify_map</a> = btree:/var/mta/verify
 </pre>
@@ -463,7 +463,7 @@ for address verification probes and leave everything else alone:
 
 <blockquote>
 <pre>
-/etc/postfix/main.cf:
+/etc/postfix/<a href="postconf.5.html">main.cf</a>:
     <a href="postconf.5.html#relayhost">relayhost</a> = $<a href="postconf.5.html#mydomain">mydomain</a>
     <a href="postconf.5.html#address_verify_relayhost">address_verify_relayhost</a> =
     ...
@@ -476,12 +476,12 @@ information:  </p>
 
 <blockquote>
 <pre>
-/etc/postfix/main.cf:
+/etc/postfix/<a href="postconf.5.html">main.cf</a>:
     <a href="postconf.5.html#relayhost">relayhost</a> = $<a href="postconf.5.html#mydomain">mydomain</a>
     <a href="postconf.5.html#address_verify_relayhost">address_verify_relayhost</a> =
     <a href="postconf.5.html#address_verify_default_transport">address_verify_default_transport</a> = direct_smtp
 
-/etc/postfix/master.cf:
+/etc/postfix/<a href="master.5.html">master.cf</a>:
     direct_smtp .. .. .. ..  .. .. .. .. .. smtp
         -o <a href="postconf.5.html#smtp_helo_name">smtp_helo_name</a>=nat.box.tld
 </pre>
index 179b22fc20ee896ccf4ad9ce5d8adfcc6e0bd0ec..d1b0c73f9cc818b1a50615dc13323c813ec1afca 100644 (file)
@@ -96,6 +96,7 @@ ccert_fingerprint=C2:9D:F4:87:71:73:73:D9:18:E7:C2:F3:C1:DA:6E:04
 encryption_protocol=TLSv1/SSLv3
 encryption_cipher=DHE-RSA-AES256-SHA
 encryption_keysize=256
+etrn_domain=
 [empty line]
 </pre>
 </blockquote>
@@ -167,6 +168,10 @@ encryption_keysize=256
     plaintext connections the protocol and cipher attributes are
     empty and the keysize is zero.  </p>
 
+    <li> <p> The "etrn_domain" attribute is defined only in the
+    context of the ETRN command, and specifies the ETRN command
+    parameter. </p>
+
 </ul>
 
 <p> The following is specific to SMTPD delegated policy requests:
index 7823217ff28791a1b051ff8e09877da57fd536a8..e2163568d5d909dee153eab0a6d13dfdc137ba2e 100644 (file)
@@ -566,8 +566,8 @@ world than the local machine. </p>
 from filling up with undeliverable MAILER-DAEMON messages. If you
 can't maintain a list of valid recipients then you must specify
 "<a href="postconf.5.html#relay_recipient_maps">relay_recipient_maps</a> =" (that is, an empty value), or you must
-specify an "@the.backed-up.domain  x" wild-card in the relay_recipients
-table. </p>
+specify an "@the.backed-up.domain.tld  x" wild-card in the
+relay_recipients table. </p>
 
 <li> <p> Line 22: The <tt>[]</tt> forces Postfix to do no MX lookup. </p>
 
index 893e7652558c6eb5209d186c8ce847c005e8c6bd..ac970d48e71f60d246e652437e0c17f7337886ed 100644 (file)
@@ -159,13 +159,15 @@ PIPE(8)                                                                PIPE(8)
               by naive software. For example,  when  the  <a href="pipe.8.html"><b>pipe</b>(8)</a>
               daemon executes a command such as:
 
-                  command -f$sender -- $recipient
+                  command -f$sender -- $recipient (<i>bad</i>)
 
               the command will mis-parse the -f option value when
               the sender address is a null string.   For  correct
-              parsing,  specify <b>$sender</b> as an argument by itself.
+              parsing, specify <b>$sender</b> as an argument by itself:
 
-              This feature is  available  with  Postfix  2.3  and
+                  command -f $sender -- $recipient (<i>good</i>)
+
+              This  feature  is  available  with  Postfix 2.3 and
               later.
 
        <b>size</b>=<i>size</i><b>_</b><i>limit</i> (optional)
@@ -176,217 +178,217 @@ PIPE(8)                                                                PIPE(8)
 
        <b>user</b>=<i>username</i>:<i>groupname</i>
               Execute the external command with the rights of the
-              specified  <i>username</i>.   The software refuses to exe-
-              cute commands with root  privileges,  or  with  the
-              privileges  of  the mail system owner. If <i>groupname</i>
-              is specified, the corresponding group  ID  is  used
+              specified <i>username</i>.  The software refuses  to  exe-
+              cute  commands  with  root  privileges, or with the
+              privileges of the mail system owner.  If  <i>groupname</i>
+              is  specified,  the  corresponding group ID is used
               instead of the group ID of <i>username</i>.
 
        <b>argv</b>=<i>command</i>... (required)
-              The  command to be executed. This must be specified
+              The command to be executed. This must be  specified
               as the last command attribute.  The command is exe-
               cuted  directly,  i.e.  without  interpretation  of
-              shell meta characters by  a  shell  command  inter-
+              shell  meta  characters  by  a shell command inter-
               preter.
 
               In  the  command  argument  vector,  the  following
               macros are recognized and replaced with correspond-
-              ing  information  from  the  Postfix  queue manager
+              ing information  from  the  Postfix  queue  manager
               delivery request.
 
-              In addition to the form ${<i>name</i>},  the  forms  $<i>name</i>
-              and  $(<i>name</i>) are also recognized.  Specify <b>$$</b> where
+              In  addition  to  the form ${<i>name</i>}, the forms $<i>name</i>
+              and $(<i>name</i>) are also recognized.  Specify <b>$$</b>  where
               a single <b>$</b> is wanted.
 
               <b>${client_address</b>}
                      This macro expands to the remote client net-
                      work address.
 
-                     This  is available in Postfix 2.2 and later.
+                     This is available in Postfix 2.2 and  later.
 
               <b>${client_helo</b>}
                      This macro expands to the remote client HELO
                      command parameter.
 
-                     This  is available in Postfix 2.2 and later.
+                     This is available in Postfix 2.2 and  later.
 
               <b>${client_hostname</b>}
-                     This macro  expands  to  the  remote  client
+                     This  macro  expands  to  the  remote client
                      hostname.
 
-                     This  is available in Postfix 2.2 and later.
+                     This is available in Postfix 2.2 and  later.
 
               <b>${client_protocol</b>}
                      This macro expands to the remote client pro-
                      tocol.
 
-                     This  is available in Postfix 2.2 and later.
+                     This is available in Postfix 2.2 and  later.
 
               <b>${extension</b>}
-                     This macro expands to the extension part  of
-                     a  recipient  address.  For example, with an
+                     This  macro expands to the extension part of
+                     a recipient address.  For example,  with  an
                      address  <i>user+foo@domain</i>  the  extension  is
                      <i>foo</i>.
 
-                     A   command-line   argument   that  contains
-                     <b>${extension</b>} expands into as  many  command-
+                     A  command-line   argument   that   contains
+                     <b>${extension</b>}  expands  into as many command-
                      line arguments as there are recipients.
 
-                     This  information  is modified by the <b>u</b> flag
+                     This information is modified by the  <b>u</b>  flag
                      for case folding.
 
               <b>${mailbox</b>}
-                     This macro expands  to  the  complete  local
-                     part  of  a recipient address.  For example,
-                     with an address <i>user+foo@domain</i> the  mailbox
+                     This  macro  expands  to  the complete local
+                     part of a recipient address.   For  example,
+                     with  an address <i>user+foo@domain</i> the mailbox
                      is <i>user+foo</i>.
 
-                     A   command-line   argument   that  contains
-                     <b>${mailbox</b>} expands to as  many  command-line
+                     A  command-line   argument   that   contains
+                     <b>${mailbox</b>}  expands  to as many command-line
                      arguments as there are recipients.
 
-                     This  information  is modified by the <b>u</b> flag
+                     This information is modified by the  <b>u</b>  flag
                      for case folding.
 
               <b>${nexthop</b>}
                      This macro expands to the next-hop hostname.
 
-                     This  information  is modified by the <b>h</b> flag
+                     This information is modified by the  <b>h</b>  flag
                      for case folding.
 
               <b>${recipient</b>}
                      This macro expands to the complete recipient
                      address.
 
-                     A   command-line   argument   that  contains
+                     A  command-line   argument   that   contains
                      <b>${recipient</b>} expands to as many command-line
                      arguments as there are recipients.
 
-                     This  information  is  modified  by  the <b>hqu</b>
+                     This information  is  modified  by  the  <b>hqu</b>
                      flags for quoting and case folding.
 
               <b>${sasl_method</b>}
-                     This macro expands to the  SASL  authentica-
-                     tion  mechanism used during the reception of
-                     the message. An empty string  is  passed  if
-                     the  message  has been received without SASL
+                     This  macro  expands to the SASL authentica-
+                     tion mechanism used during the reception  of
+                     the  message.  An  empty string is passed if
+                     the message has been received  without  SASL
                      authentication.
 
-                     This is available in Postfix 2.2 and  later.
+                     This  is available in Postfix 2.2 and later.
 
               <b>${sasl_sender</b>}
-                     This  macro  expands to the SASL sender name
-                     (i.e. the  original  submitter  as  per  RFC
-                     2554)  used during the reception of the mes-
+                     This macro expands to the SASL  sender  name
+                     (i.e.  the  original  submitter  as  per RFC
+                     2554) used during the reception of the  mes-
                      sage.
 
-                     This is available in Postfix 2.2 and  later.
+                     This  is available in Postfix 2.2 and later.
 
               <b>${sasl_username</b>}
-                     This  macro  expands  to  the SASL user name
+                     This macro expands to  the  SASL  user  name
                      used during the reception of the message. An
-                     empty  string  is  passed if the message has
+                     empty string is passed if  the  message  has
                      been received without SASL authentication.
 
-                     This is available in Postfix 2.2 and  later.
+                     This  is available in Postfix 2.2 and later.
 
               <b>${sender</b>}
-                     This  macro  expands  to the envelope sender
+                     This macro expands to  the  envelope  sender
                      address. By default, the null sender address
-                     expands   to   MAILER-DAEMON;  this  can  be
-                     changed with the <b>null_sender</b>  attribute,  as
+                     expands  to  MAILER-DAEMON;  this   can   be
+                     changed  with  the <b>null_sender</b> attribute, as
                      described above.
 
-                     This  information  is modified by the <b>q</b> flag
+                     This information is modified by the  <b>q</b>  flag
                      for quoting.
 
               <b>${size</b>}
-                     This macro expands to Postfix's idea of  the
-                     message  size,  which is an approximation of
+                     This  macro expands to Postfix's idea of the
+                     message size, which is an  approximation  of
                      the size of the message as delivered.
 
               <b>${user</b>}
                      This macro expands to the username part of a
-                     recipient  address.   For  example,  with an
+                     recipient address.   For  example,  with  an
                      address <i>user+foo@domain</i> the username part is
                      <i>user</i>.
 
-                     A   command-line   argument   that  contains
-                     <b>${user</b>} expands into  as  many  command-line
+                     A  command-line   argument   that   contains
+                     <b>${user</b>}  expands  into  as many command-line
                      arguments as there are recipients.
 
-                     This  information  is modified by the <b>u</b> flag
+                     This information is modified by the  <b>u</b>  flag
                      for case folding.
 
 <b>STANDARDS</b>
        <a href="http://www.faqs.org/rfcs/rfc3463.html">RFC 3463</a> (Enhanced status codes)
 
 <b>DIAGNOSTICS</b>
-       Command exit status codes are expected to follow the  con-
-       ventions  defined  in  &lt;<b>sysexits.h</b>&gt;.   Exit status 0 means
+       Command  exit status codes are expected to follow the con-
+       ventions defined in &lt;<b>sysexits.h</b>&gt;.   Exit  status  0  means
        normal successful completion.
 
-       Postfix version  2.3  and  later  support  <a href="http://www.faqs.org/rfcs/rfc3463.html">RFC  3463</a>-style
-       enhanced  status  codes.   If  a command terminates with a
-       non-zero exit status, and the command output  begins  with
+       Postfix  version  2.3  and  later  support  <a href="http://www.faqs.org/rfcs/rfc3463.html">RFC 3463</a>-style
+       enhanced status codes.  If a  command  terminates  with  a
+       non-zero  exit  status, and the command output begins with
        an enhanced status code, this status code takes precedence
        over the non-zero exit status.
 
-       Problems and transactions are logged to <b>syslogd</b>(8).   Cor-
-       rupted  message files are marked so that the queue manager
+       Problems  and transactions are logged to <b>syslogd</b>(8).  Cor-
+       rupted message files are marked so that the queue  manager
        can move them to the <b>corrupt</b> queue for further inspection.
 
 <b>SECURITY</b>
-       This  program  needs  a  dual personality 1) to access the
-       private Postfix queue and IPC mechanisms, and 2)  to  exe-
+       This program needs a dual personality  1)  to  access  the
+       private  Postfix  queue and IPC mechanisms, and 2) to exe-
        cute external commands as the specified user. It is there-
        fore security sensitive.
 
 <b>CONFIGURATION PARAMETERS</b>
-       Changes to <a href="postconf.5.html"><b>main.cf</b></a> are picked up automatically as  <a href="pipe.8.html"><b>pipe</b>(8)</a>
-       processes  run  for only a limited amount of time. Use the
+       Changes  to <a href="postconf.5.html"><b>main.cf</b></a> are picked up automatically as <a href="pipe.8.html"><b>pipe</b>(8)</a>
+       processes run for only a limited amount of time.  Use  the
        command "<b>postfix reload</b>" to speed up a change.
 
-       The text below provides  only  a  parameter  summary.  See
+       The  text  below  provides  only  a parameter summary. See
        <a href="postconf.5.html"><b>postconf</b>(5)</a> for more details including examples.
 
 <b>RESOURCE AND RATE CONTROLS</b>
-       In  the text below, <i>transport</i> is the first field in a <b>mas-</b>
+       In the text below, <i>transport</i> is the first field in a  <b>mas-</b>
        <b>ter.cf</b> entry.
 
        <i>transport</i><b>_destination_concurrency_limit ($<a href="postconf.5.html#default_destination_concurrency_limit">default_destina</a>-</b>
        <b><a href="postconf.5.html#default_destination_concurrency_limit">tion_concurrency_limit</a>)</b>
               Limit the number of parallel deliveries to the same
-              destination,  for delivery via the named <i>transport</i>.
+              destination, for delivery via the named  <i>transport</i>.
               The limit is enforced by the Postfix queue manager.
 
        <i>transport</i><b>_destination_recipient_limit   ($<a href="postconf.5.html#default_destination_recipient_limit">default_destina</a>-</b>
        <b><a href="postconf.5.html#default_destination_recipient_limit">tion_recipient_limit</a>)</b>
-              Limit  the  number of recipients per message deliv-
-              ery, for delivery via  the  named  <i>transport</i>.   The
+              Limit the number of recipients per  message  deliv-
+              ery,  for  delivery  via  the named <i>transport</i>.  The
               limit is enforced by the Postfix queue manager.
 
        <i>transport</i><b>_time_limit ($<a href="postconf.5.html#command_time_limit">command_time_limit</a>)</b>
-              Limit  the  time  for delivery to external command,
+              Limit the time for delivery  to  external  command,
               for delivery via the named <i>transport</i>.  The limit is
               enforced by the pipe delivery agent.
 
 <b>MISCELLANEOUS CONTROLS</b>
        <b><a href="postconf.5.html#config_directory">config_directory</a> (see 'postconf -d' output)</b>
-              The  default  location  of  the Postfix <a href="postconf.5.html">main.cf</a> and
+              The default location of  the  Postfix  <a href="postconf.5.html">main.cf</a>  and
               <a href="master.5.html">master.cf</a> configuration files.
 
        <b><a href="postconf.5.html#daemon_timeout">daemon_timeout</a> (18000s)</b>
-              How much time a Postfix daemon process may take  to
-              handle  a  request  before  it  is  terminated by a
+              How  much time a Postfix daemon process may take to
+              handle a request  before  it  is  terminated  by  a
               built-in watchdog timer.
 
        <b><a href="postconf.5.html#delay_logging_resolution_limit">delay_logging_resolution_limit</a> (2)</b>
-              The maximal number  of  digits  after  the  decimal
+              The  maximal  number  of  digits  after the decimal
               point when logging sub-second delay values.
 
        <b><a href="postconf.5.html#export_environment">export_environment</a> (see 'postconf -d' output)</b>
-              The  list  of  environment variables that a Postfix
+              The list of environment variables  that  a  Postfix
               process will export to non-Postfix processes.
 
        <b><a href="postconf.5.html#ipc_timeout">ipc_timeout</a> (3600s)</b>
@@ -398,24 +400,24 @@ PIPE(8)                                                                PIPE(8)
               and most Postfix daemon processes.
 
        <b><a href="postconf.5.html#max_idle">max_idle</a> (100s)</b>
-              The maximum amount of time  that  an  idle  Postfix
-              daemon  process  waits for the next service request
+              The  maximum  amount  of  time that an idle Postfix
+              daemon process waits for the next  service  request
               before exiting.
 
        <b><a href="postconf.5.html#max_use">max_use</a> (100)</b>
-              The maximal number of connection requests before  a
+              The  maximal number of connection requests before a
               Postfix daemon process terminates.
 
        <b><a href="postconf.5.html#process_id">process_id</a> (read-only)</b>
-              The  process  ID  of  a  Postfix  command or daemon
+              The process ID  of  a  Postfix  command  or  daemon
               process.
 
        <b><a href="postconf.5.html#process_name">process_name</a> (read-only)</b>
-              The process name of a  Postfix  command  or  daemon
+              The  process  name  of  a Postfix command or daemon
               process.
 
        <b><a href="postconf.5.html#queue_directory">queue_directory</a> (see 'postconf -d' output)</b>
-              The  location of the Postfix top-level queue direc-
+              The location of the Postfix top-level queue  direc-
               tory.
 
        <b><a href="postconf.5.html#recipient_delimiter">recipient_delimiter</a> (empty)</b>
@@ -426,8 +428,8 @@ PIPE(8)                                                                PIPE(8)
               The syslog facility of Postfix logging.
 
        <b><a href="postconf.5.html#syslog_name">syslog_name</a> (postfix)</b>
-              The  mail  system  name  that  is  prepended to the
-              process name in syslog  records,  so  that  "smtpd"
+              The mail system  name  that  is  prepended  to  the
+              process  name  in  syslog  records, so that "smtpd"
               becomes, for example, "postfix/smtpd".
 
 <b>SEE ALSO</b>
@@ -439,7 +441,7 @@ PIPE(8)                                                                PIPE(8)
        syslogd(8), system logging
 
 <b>LICENSE</b>
-       The  Secure  Mailer  license must be distributed with this
+       The Secure Mailer license must be  distributed  with  this
        software.
 
 <b>AUTHOR(S)</b>
index 27b42a0d8e7f0f1fc2af2a7c8fce5aa3a61e148b..4703069dff168b40c9fbdf0e077d87832d82ce3b 100644 (file)
@@ -7929,7 +7929,8 @@ Example:
 
 <p>
 Clients that are excluded from connection count, connection rate,
-or SMTP request rate restrictions.
+or SMTP request rate restrictions. See the <a href="postconf.5.html#mynetworks">mynetworks</a> parameter
+description for the parameter value syntax.
 </p>
 
 <p>
index f476d0564e064f082bdd87ef9e2a8a1126419b59..e4471ffe4efd370c64dad27cee7f78862af7ae82 100644 (file)
@@ -4500,7 +4500,8 @@ smtpd_client_connection_rate_limit = 1000
 .ft R
 .SH smtpd_client_event_limit_exceptions (default: $mynetworks)
 Clients that are excluded from connection count, connection rate,
-or SMTP request rate restrictions.
+or SMTP request rate restrictions. See the mynetworks parameter
+description for the parameter value syntax.
 .PP
 By default, clients in trusted networks are excluded. Specify a
 list of network blocks, hostnames or .domain names (the initial
index 40ccc713d4f46d23b75a8c411b1a9647f74b878e..ef34634b0386b5979ce2d86474a41f5528965b86 100644 (file)
@@ -147,12 +147,15 @@ naive software. For example, when the \fBpipe\fR(8) daemon
 executes a command such as:
 
 .ti +4
-command -f$sender -- $recipient
+command -f$sender -- $recipient (\fIbad\fR)
 
 the command will mis-parse the -f option value when the
 sender address is a null string.  For correct parsing,
-specify \fB$sender\fR as an argument by itself.
-.sp
+specify \fB$sender\fR as an argument by itself:
+
+.ti +4
+command -f $sender -- $recipient (\fIgood\fR)
+
 This feature is available with Postfix 2.3 and later.
 .IP "\fBsize\fR=\fIsize_limit\fR (optional)"
 Messages greater in size than this limit (in bytes) will
index ef1fb069c453102f280adc673b29887f008d39a0..beb6c87bfd7456e381f9d644fb0f7ef5fb3dd0f9 100644 (file)
@@ -354,7 +354,7 @@ of positive and negative results. Refer to the verify(8) manual
 page for details. </p>
 
 <p> The address_verify_map (NOTE: singular) configuration parameter
-specifies an optional persistent database for sender address
+specifies an optional database for sender or recipient address
 verification results.  If you don't specify a file, all address
 verification information is lost after "postfix reload" or "postfix
 stop". </p>
index f9c60d5a8761a7c11fc1a5f722acf8e0b597cba7..a722f99a08c23cdbc6e2b2ac7a92aee5c9309738 100644 (file)
@@ -96,6 +96,7 @@ ccert_fingerprint=C2:9D:F4:87:71:73:73:D9:18:E7:C2:F3:C1:DA:6E:04
 encryption_protocol=TLSv1/SSLv3
 encryption_cipher=DHE-RSA-AES256-SHA
 encryption_keysize=256
+etrn_domain=
 [empty line]
 </pre>
 </blockquote>
@@ -167,6 +168,10 @@ encryption_keysize=256
     plaintext connections the protocol and cipher attributes are
     empty and the keysize is zero.  </p>
 
+    <li> <p> The "etrn_domain" attribute is defined only in the
+    context of the ETRN command, and specifies the ETRN command
+    parameter. </p>
+
 </ul>
 
 <p> The following is specific to SMTPD delegated policy requests:
index 5250a023ea03d95a8db102d756b8a59890d6549a..ececbf90259e46b58d2bf18e924eca3c4cd0a3dd 100644 (file)
@@ -566,8 +566,8 @@ world than the local machine. </p>
 from filling up with undeliverable MAILER-DAEMON messages. If you
 can't maintain a list of valid recipients then you must specify
 "relay_recipient_maps =" (that is, an empty value), or you must
-specify an "@the.backed-up.domain  x" wild-card in the relay_recipients
-table. </p>
+specify an "@the.backed-up.domain.tld  x" wild-card in the
+relay_recipients table. </p>
 
 <li> <p> Line 22: The <tt>[]</tt> forces Postfix to do no MX lookup. </p>
 
index 6563096f1c5b4d90a69bb97c1469157d1f943685..9dbcabb7a8bd593ae4a0e7600e14e98b1ccaffd5 100644 (file)
@@ -4356,7 +4356,8 @@ This feature is available in Postfix 2.2 and later.
 
 <p>
 Clients that are excluded from connection count, connection rate,
-or SMTP request rate restrictions.
+or SMTP request rate restrictions. See the mynetworks parameter
+description for the parameter value syntax.
 </p>
 
 <p>
index 232b5ffe547500f458d4a3e471bd6dabe301e288..26e41a332c1991433b0d7373a72d54337b93eff2 100644 (file)
@@ -124,6 +124,7 @@ extern char *mail_pathname(const char *, const char *);
 #define MAIL_ATTR_SASL_METHOD  "sasl_method"
 #define MAIL_ATTR_SASL_USERNAME        "sasl_username"
 #define MAIL_ATTR_SASL_SENDER  "sasl_sender"
+#define MAIL_ATTR_ETRN_DOMAIN  "etrn_domain"
 #define MAIL_ATTR_DUMMY                "dummy"
 #define MAIL_ATTR_RWR_CONTEXT  "rewrite_context"
 
index 0aa4278428a1519c84a8094e5b8a71b15fb0a3e2..8aca55168789c43fa71229d1fa22debdb2cd4780 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      "20060518"
+#define MAIL_RELEASE_DATE      "20060601"
 #define MAIL_VERSION_NUMBER    "2.3"
 
 #ifdef SNAPSHOT
index b35b689fea974a1c90c0f3ebe4750767481228c0..09bc803609ba4e9cf898b9c691326221d8dfae1c 100644 (file)
 /*     executes a command such as:
 /*
 /* .ti +4
-/*     command -f$sender -- $recipient
+/*     command -f$sender -- $recipient (\fIbad\fR)
 /*
 /*     the command will mis-parse the -f option value when the
 /*     sender address is a null string.  For correct parsing,
-/*     specify \fB$sender\fR as an argument by itself.
-/* .sp
+/*     specify \fB$sender\fR as an argument by itself:
+/*
+/* .ti +4
+/*     command -f $sender -- $recipient (\fIgood\fR)
+/*
 /*     This feature is available with Postfix 2.3 and later.
 /* .IP "\fBsize\fR=\fIsize_limit\fR (optional)"
 /*     Messages greater in size than this limit (in bytes) will
index 5efa11f84d26522de7f7b5f117b8de43dff3b8d5..d39c701855ca725ef57a6c87590a8d77a7db2e3a 100644 (file)
@@ -62,16 +62,21 @@ clean:
 tidy:  clean
 
 tests: smtpd_check_test smtpd_check_test2 smtpd_acl_test smtpd_exp_test \
-       smtpd_token_test smtpd_check_test4 smtpd_check_dsn_test
+       smtpd_token_test smtpd_check_test4 smtpd_check_dsn_test \
+       smtpd_check_backup_test
 
 root_tests:
 
+# This requires that the DNS server can query mail-abuse.org.
+
 smtpd_check_test: smtpd_check smtpd_check.in smtpd_check.ref smtpd_check_access
        ../postmap/postmap hash:smtpd_check_access
        ./smtpd_check <smtpd_check.in >smtpd_check.tmp 2>&1
        diff smtpd_check.ref smtpd_check.tmp
        rm -f smtpd_check.tmp smtpd_check_access.*
 
+# This requires that the DNS server can query mail-abuse.org.
+
 smtpd_check_test2: smtpd_check smtpd_check.in2 smtpd_check.ref2 smtpd_check_access
        ../postmap/postmap hash:smtpd_check_access
        ./smtpd_check <smtpd_check.in2 >smtpd_check.tmp 2>&1
@@ -90,6 +95,8 @@ smtpd_acl_test: smtpd_check smtpd_acl.in smtpd_acl.ref smtpd_check_access
        diff smtpd_acl.ref smtpd_check.tmp
        rm -f smtpd_check.tmp smtpd_check_access.*
 
+# This requires that the DNS server can query mail-abuse.org.
+
 smtpd_exp_test: smtpd_check smtpd_exp.in smtpd_exp.ref
        ../postmap/postmap hash:smtpd_check_access
        ./smtpd_check <smtpd_exp.in >smtpd_exp.tmp 2>&1
@@ -102,6 +109,13 @@ smtpd_check_dsn_test: smtpd_check smtpd_check_dsn.in smtpd_check_dsn.ref smtpd_c
        diff smtpd_check_dsn.ref smtpd_check.tmp
        rm -f smtpd_check.tmp smtpd_check_access.*
 
+# This requires that 168,100.189.7 is a local or virtual interface.
+
+smtpd_check_backup_test: smtpd_check smtpd_check_backup.in smtpd_check_backup.ref
+       ./smtpd_check <smtpd_check_backup.in >smtpd_check.tmp 2>&1
+       diff smtpd_check_backup.ref smtpd_check.tmp
+       rm -f smtpd_check.tmp
+
 smtpd_token_test: smtpd_token smtpd_token.in smtpd_token.ref
        ./smtpd_token <smtpd_token.in >smtpd_token.tmp 2>&1
        diff smtpd_token.ref smtpd_token.tmp
index b8892325781ddb9c8e2d820829ed21086cd1216e..83a8c313eb999db6a2bd09114316a999a7674696 100644 (file)
@@ -1655,7 +1655,7 @@ static int permit_mx_backup(SMTPD_STATE *state, const char *recipient,
     /*
      * Then, see if we match any of the backup MX servers.
      */
-    if (rest && !i_am_mx(state, rest, reply_name, reply_class))
+    if (rest == 0 || !i_am_mx(state, rest, reply_name, reply_class))
        PERMIT_MX_BACKUP_RETURN(SMTPD_CHECK_DUNNO);
 
     /*
@@ -3291,6 +3291,8 @@ static int check_policy_service(SMTPD_STATE *state, const char *server,
                          ATTR_TYPE_LONG, MAIL_ATTR_SIZE,
                          (unsigned long) (state->act_size > 0 ?
                                         state->act_size : state->msg_size),
+                         ATTR_TYPE_STR, MAIL_ATTR_ETRN_DOMAIN,
+                         state->etrn_name ? state->etrn_name : "",
 #ifdef USE_SASL_AUTH
                          ATTR_TYPE_STR, MAIL_ATTR_SASL_METHOD,
                          var_smtpd_sasl_enable && state->sasl_method ?
similarity index 65%
rename from postfix/src/smtpd/smtpd_backup.ref
rename to postfix/src/smtpd/smtpd_check_backup.ref
index e783ac25b42ff73f4103d0753856cd179d6303aa..3e0b643cc2f3fcecba1cf20c87afef4d607e100c 100644 (file)
@@ -21,13 +21,13 @@ OK
 >>> rcpt wietse@fist.porcupine.org
 OK
 >>> rcpt wietse@porcupine.org
-./smtpd_check: <queue id>: reject: RCPT from localhost[127.0.0.1]: 554 <wietse@porcupine.org>: Recipient address rejected: Access denied; to=<wietse@porcupine.org> proto=SMTP
-554 <wietse@porcupine.org>: Recipient address rejected: Access denied
+./smtpd_check: <queue id>: reject: RCPT from localhost[127.0.0.1]: 554 5.7.1 <wietse@porcupine.org>: Recipient address rejected: Access denied; to=<wietse@porcupine.org> proto=SMTP
+554 5.7.1 <wietse@porcupine.org>: Recipient address rejected: Access denied
 >>> permit_mx_backup_networks 168.100.189.5
 OK
 >>> rcpt wietse@fist.porcupine.org
-./smtpd_check: <queue id>: reject: RCPT from localhost[127.0.0.1]: 554 <wietse@fist.porcupine.org>: Recipient address rejected: Access denied; to=<wietse@fist.porcupine.org> proto=SMTP
-554 <wietse@fist.porcupine.org>: Recipient address rejected: Access denied
+./smtpd_check: <queue id>: reject: RCPT from localhost[127.0.0.1]: 554 5.7.1 <wietse@fist.porcupine.org>: Recipient address rejected: Access denied; to=<wietse@fist.porcupine.org> proto=SMTP
+554 5.7.1 <wietse@fist.porcupine.org>: Recipient address rejected: Access denied
 >>> permit_mx_backup_networks 168.100.189.4
 OK
 >>> rcpt wietse@fist.porcupine.org
index c04381ba8b5089f5cae821741474f725115fb4a4..75b6c84f388a341aa4aed66fa4127b2fbda82565 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@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
+./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
 >>> #
 >>> # Check MX access
 >>> #