]> git.ipfire.org Git - thirdparty/postfix.git/commitdiff
postfix-2.9-20111119
authorWietse Venema <wietse@porcupine.org>
Sat, 19 Nov 2011 05:00:00 +0000 (00:00 -0500)
committerViktor Dukhovni <viktor@dukhovni.org>
Tue, 5 Feb 2013 06:37:37 +0000 (06:37 +0000)
12 files changed:
postfix/HISTORY
postfix/README_FILES/SASL_README
postfix/html/SASL_README.html
postfix/html/master.5.html
postfix/html/postconf.1.html
postfix/man/man1/postconf.1
postfix/man/man5/master.5
postfix/postfix-install
postfix/proto/SASL_README.html
postfix/proto/master
postfix/src/global/mail_version.h
postfix/src/postconf/postconf.c

index 083a15081cb4e14837e93f1b6d73b4567068f904..5dcb4d224f3bb940a0590381d35cc24af12ba0a3 100644 (file)
@@ -17103,3 +17103,9 @@ Apologies for any names omitted.
        "postconf -M inet" shows only services that listen on the
        network, and "postconf -M smtp.unix" shows the SMTP delivery
        agent. File: postconf.c.
+
+20111119
+
+       Cleanup: "postconf" commands in postfix-install needed to
+       be updated before master.cf was installed.  Reported by
+       Sahil Tandon. File: postfix-install.
index 77dd9f2e21a00cf9a7745f7d5279151c7375d771..dd636007d7dc2464090d9e574a6ae5ac3813060c 100644 (file)
@@ -107,9 +107,9 @@ configure and operate the Dovecot authentication server.
 
 P\bPo\bos\bst\btf\bfi\bix\bx t\bto\bo D\bDo\bov\bve\bec\bco\bot\bt S\bSA\bAS\bSL\bL c\bco\bom\bmm\bmu\bun\bni\bic\bca\bat\bti\bio\bon\bn
 
-Communication between the Postfix SMTP server and Dovecot SASL happens via a
-UNIX-domain socket. Additionally, when using Dovecot version 2.0 and later,
-communication can take place over a TCP socket.
+Communication between the Postfix SMTP server and Dovecot SASL happens over a
+UNIX-domain socket or over a TCP socket. Dovecot 1 supports UNIX-domain socket
+communication only.
 
 U\bUN\bNI\bIX\bX-\b-d\bdo\bom\bma\bai\bin\bn s\bso\boc\bck\bke\bet\bt c\bco\bom\bmm\bmu\bun\bni\bic\bca\bat\bti\bio\bon\bn
 
@@ -694,12 +694,16 @@ the section "Postfix to Dovecot SASL communication".
     that it will work whether or not the Postfix SMTP server runs chrooted.
 
   * If you configured Dovecot for TCP socket communication, configure Postfix
-    as follows (if Dovecot runs on a different machine, replace 127.0.0.1 by
-    that machine's IP address):
+    as follows. If Dovecot runs on a different machine, replace 127.0.0.1 by
+    that machine's IP address.
 
     /etc/postfix/main.cf:
         smtpd_sasl_path = inet:127.0.0.1:12345
 
+    N\bNo\bot\bte\be
+    If you specify a remote IP address, information will be sent as plaintext
+    over the network.
+
 E\bEn\bna\bab\bbl\bli\bin\bng\bg S\bSA\bAS\bSL\bL a\bau\but\bth\bhe\ben\bnt\bti\bic\bca\bat\bti\bio\bon\bn i\bin\bn t\bth\bhe\be P\bPo\bos\bst\btf\bfi\bix\bx S\bSM\bMT\bTP\bP s\bse\ber\brv\bve\ber\br
 
 Regardless of the SASL implementation type, enabling SMTP authentication in the
index eac6449194862ac213462a3496d710a36c5ccddf..049a4a148e0ebac409febd6d826e8dea501f96b9 100644 (file)
@@ -184,10 +184,9 @@ to configure and operate the Dovecot authentication server.  </p>
 
 <h4><a name="server_dovecot_comm">Postfix to Dovecot SASL communication</a></h4>
 
-<p> Communication between the Postfix SMTP server
-and Dovecot SASL happens via a UNIX-domain socket.  Additionally,
-when using Dovecot version 2.0 and later, communication can take
-place over a TCP socket.
+<p> Communication between the Postfix SMTP server and Dovecot SASL
+happens over a UNIX-domain socket or over a TCP socket.  Dovecot 1
+supports UNIX-domain socket communication only. </p>
 
 <h5>UNIX-domain socket communication</h5>
 
@@ -1166,14 +1165,19 @@ directory, so that it will work whether or not the Postfix SMTP
 server runs chrooted. </p>
 
 <li> <p> If you configured Dovecot for TCP socket communication,
-configure Postfix as follows (if Dovecot runs on a different
-machine, replace 127.0.0.1 by that machine's IP address): </p>
+configure Postfix as follows. If Dovecot runs on a different machine,
+replace 127.0.0.1 by that machine's IP address. </p>
 
 <pre>
 /etc/postfix/<a href="postconf.5.html">main.cf</a>:
     <a href="postconf.5.html#smtpd_sasl_path">smtpd_sasl_path</a> = inet:127.0.0.1:12345
 </pre>
 
+<strong>Note</strong>
+
+<p> If you specify a remote IP address, information
+will be sent as plaintext over the network. </p>
+
 </ul>
 
 <h4><a name="server_sasl_authc">Enabling SASL authentication
index adfd46b6f5ea9d2741dc3f56ac2676480ab3408d..923a479a777d0ce464fb3c05c86e3e91200624a6 100644 (file)
@@ -119,47 +119,50 @@ MASTER(5)                                                            MASTER(5)
                      trolled with the <b><a href="postconf.5.html#queue_directory">queue_directory</a></b>  configura-
                      tion parameter in <a href="postconf.5.html">main.cf</a>).
 
+                     On  Solaris  systems the <b>pass</b> type is imple-
+                     mented with streams sockets.
+
                      This feature is available as of Postfix ver-
                      sion 2.5.
 
        <b>Private (default: y)</b>
-              Whether or not access is  restricted  to  the  mail
-              system.   Internet  (type  <b>inet</b>)  services can't be
+              Whether  or  not  access  is restricted to the mail
+              system.  Internet (type  <b>inet</b>)  services  can't  be
               private.
 
        <b>Unprivileged (default: y)</b>
               Whether the service runs with root privileges or as
-              the  owner of the Postfix system (the owner name is
+              the owner of the Postfix system (the owner name  is
               controlled by the <b><a href="postconf.5.html#mail_owner">mail_owner</a></b> configuration variable
               in the <a href="postconf.5.html">main.cf</a> file).
 
-              The  <a href="local.8.html"><b>local</b>(8)</a>,  <a href="pipe.8.html"><b>pipe</b>(8)</a>,  <a href="spawn.8.html"><b>spawn</b>(8)</a>,  and <a href="virtual.8.html"><b>virtual</b>(8)</a>
+              The <a href="local.8.html"><b>local</b>(8)</a>,  <a href="pipe.8.html"><b>pipe</b>(8)</a>,  <a href="spawn.8.html"><b>spawn</b>(8)</a>,  and  <a href="virtual.8.html"><b>virtual</b>(8)</a>
               daemons require privileges.
 
        <b>Chroot (default: y)</b>
-              Whether or not the service  runs  chrooted  to  the
+              Whether  or  not  the  service runs chrooted to the
               mail queue directory (pathname is controlled by the
-              <b><a href="postconf.5.html#queue_directory">queue_directory</a></b>  configuration  variable   in   the
+              <b><a href="postconf.5.html#queue_directory">queue_directory</a></b>   configuration   variable  in  the
               <a href="postconf.5.html">main.cf</a> file).
 
               Chroot  should  not  be  used  with  the  <a href="local.8.html"><b>local</b>(8)</a>,
-              <a href="pipe.8.html"><b>pipe</b>(8)</a>,   <a href="spawn.8.html"><b>spawn</b>(8)</a>,   and   <a href="virtual.8.html"><b>virtual</b>(8)</a>    daemons.
-              Although  the  <a href="proxymap.8.html"><b>proxymap</b>(8)</a> server can run chrooted,
+              <a href="pipe.8.html"><b>pipe</b>(8)</a>,    <a href="spawn.8.html"><b>spawn</b>(8)</a>,   and   <a href="virtual.8.html"><b>virtual</b>(8)</a>   daemons.
+              Although the <a href="proxymap.8.html"><b>proxymap</b>(8)</a> server can  run  chrooted,
               doing so defeats most of the purpose of having that
               service in the first place.
 
               The files in the examples/chroot-setup subdirectory
               of the Postfix source archive show set up a Postfix
-              chroot  environment  on  a  variety of systems. See
-              also <a href="BASIC_CONFIGURATION_README.html">BASIC_CONFIGURATION_README</a> for issues  related
+              chroot environment on a  variety  of  systems.  See
+              also  <a href="BASIC_CONFIGURATION_README.html">BASIC_CONFIGURATION_README</a> for issues related
               to running daemons chrooted.
 
        <b>Wake up time (default: 0)</b>
-              Automatically  wake  up the named service after the
-              specified number of seconds. The wake up is  imple-
-              mented  by  connecting to the service and sending a
-              wake up request.  A ? at the  end  of  the  wake-up
-              time  field requests that no wake up events be sent
+              Automatically wake up the named service  after  the
+              specified  number of seconds. The wake up is imple-
+              mented by connecting to the service and  sending  a
+              wake  up  request.   A  ? at the end of the wake-up
+              time field requests that no wake up events be  sent
               before the first time a service is used.  Specify 0
               for no automatic wake up.
 
@@ -167,59 +170,59 @@ MASTER(5)                                                            MASTER(5)
               a wake up timer.
 
        <b>Process limit (default: $<a href="postconf.5.html#default_process_limit">default_process_limit</a>)</b>
-              The maximum number of processes  that  may  execute
+              The  maximum  number  of processes that may execute
               this  service  simultaneously.  Specify  0  for  no
               process count limit.
 
               NOTE: Some Postfix services must be configured as a
-              single-process  service  (for example, <a href="qmgr.8.html"><b>qmgr</b>(8)</a>) and
-              some services must be configured  with  no  process
+              single-process service (for example,  <a href="qmgr.8.html"><b>qmgr</b>(8)</a>)  and
+              some  services  must  be configured with no process
               limit (for example, <a href="cleanup.8.html"><b>cleanup</b>(8)</a>).  These limits must
               not be changed.
 
        <b>Command name + arguments</b>
-              The command to be executed.   Characters  that  are
-              special  to  the  shell  such as "&gt;" or "|" have no
-              special meaning here, and quotes cannot be used  to
+              The  command  to  be executed.  Characters that are
+              special to the shell such as "&gt;"  or  "|"  have  no
+              special  meaning here, and quotes cannot be used to
               protect arguments containing whitespace.
 
-              The  command name is relative to the Postfix daemon
+              The command name is relative to the Postfix  daemon
               directory  (pathname  is  controlled  by  the  <b><a href="postconf.5.html#daemon_directory">dae</a>-</b>
               <b><a href="postconf.5.html#daemon_directory">mon_directory</a></b> configuration variable).
 
-              The  command  argument syntax for specific commands
-              is specified in the respective daemon manual  page.
+              The command argument syntax for  specific  commands
+              is  specified in the respective daemon manual page.
 
-              The  following  command-line  options have the same
+              The following command-line options  have  the  same
               effect for all daemon programs:
 
-              <b>-D</b>     Run the daemon under control by the  command
+              <b>-D</b>     Run  the daemon under control by the command
                      specified with the <b><a href="postconf.5.html#debugger_command">debugger_command</a></b> variable
                      in  the  <a href="postconf.5.html">main.cf</a>  configuration  file.   See
                      <a href="DEBUG_README.html">DEBUG_README</a> for hints and tips.
 
               <b>-o</b> <i>name</i>=<i>value</i>
                      Override  the  named  <a href="postconf.5.html">main.cf</a>  configuration
-                     parameter. The parameter value can refer  to
+                     parameter.  The parameter value can refer to
                      other parameters as <i>$name</i> etc., just like in
                      <a href="postconf.5.html">main.cf</a>.  See <a href="postconf.5.html"><b>postconf</b>(5)</a> for syntax.
 
                      NOTE 1: do not specify whitespace around the
-                     "=".   In  parameter  values,  either  avoid
+                     "=".  In  parameter  values,  either   avoid
                      whitespace altogether, use commas instead of
-                     spaces,   or  consider  overrides  like  "-o
-                     name=$override_parameter"    with     $over-
+                     spaces,  or  consider  overrides  like   "-o
+                     name=$override_parameter"     with    $over-
                      ride_parameter set in <a href="postconf.5.html">main.cf</a>.
 
-                     NOTE  2: Over-zealous use of parameter over-
-                     rides makes the Postfix  configuration  hard
-                     to  understand  and  maintain.  At a certain
-                     point, it might be easier to configure  mul-
-                     tiple  instances of Postfix, instead of con-
+                     NOTE 2: Over-zealous use of parameter  over-
+                     rides  makes  the Postfix configuration hard
+                     to understand and maintain.   At  a  certain
+                     point,  it might be easier to configure mul-
+                     tiple instances of Postfix, instead of  con-
                      figuring  multiple  personalities  via  mas-
                      ter.cf.
 
-              <b>-v</b>     Increase  the verbose logging level. Specify
+              <b>-v</b>     Increase the verbose logging level.  Specify
                      multiple <b>-v</b> options to make a Postfix daemon
                      process increasingly verbose.
 
@@ -232,7 +235,7 @@ MASTER(5)                                                            MASTER(5)
        <a href="DEBUG_README.html">DEBUG_README</a>, Postfix debugging
 
 <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 652a7becc02aad4966564c36f95466521570a6a3..0c4ed0a047496d9627d673f31ba9cb303cf153a4 100644 (file)
@@ -133,14 +133,14 @@ POSTCONF(1)                                                        POSTCONF(1)
               human readability.
 
               If <i>service ...</i> is specified, only the matching ser-
-              vices  will  be  output.  For example, a service of
+              vices  will  be  output.  For example, a <i>service</i> <b>of</b>
               <b>inet</b> will match all services  that  listen  on  the
               network.
 
-              Specify zero or more argument, each with a <i>service-</i>
-              <i>type</i> name (<b>inet</b>, <b>unix</b>, <b>fifo</b>, or  <b>pass</b>)  or  with  a
-              <i>service-name.service-type</i>  pair, where <i>service-name</i>
-              is the first field of a <a href="master.5.html">master.cf</a> entry.
+              Specify  zero  or  more arguments, each with a <i>ser-</i>
+              <i>vice-type</i> name (<b>inet</b>, <b>unix</b>, <b>fifo</b>, or <b>pass</b>) or  with
+              a  <i>service-name.service-type</i>  pair,  where <i>service-</i>
+              <i>name</i> is the first field of a <a href="master.5.html">master.cf</a> entry.
 
               This feature is  available  with  Postfix  2.9  and
               later.
index d9917185cbbe6d637d86edbc37710d154a3ab3b0..e572dd5a8a31063ba304eaf469195850b3e6d773 100644 (file)
@@ -124,10 +124,10 @@ file contents.  Use \fB-Mf\fR to fold long lines for human
 readability.
 
 If \fIservice ...\fR is specified, only the matching services
-will be output. For example, a service of \fBinet\fR will
-match all services that listen on the network.
+will be output. For example, a \fIservice\fB of \fBinet\fR
+will match all services that listen on the network.
 
-Specify zero or more argument, each with a \fIservice-type\fR
+Specify zero or more arguments, each with a \fIservice-type\fR
 name (\fBinet\fR, \fBunix\fR, \fBfifo\fR, or \fBpass\fR)
 or with a \fIservice-name.service-type\fR pair, where
 \fIservice-name\fR is the first field of a master.cf entry.
index 3df5cf9d1375c3c17a1e9bcc89f8eed71b1dd564..977b013cd8af22ddedd94c4a837224f49c3502d9 100644 (file)
@@ -109,6 +109,9 @@ descriptor passing) per connection request.
 The service name is a pathname relative to the Postfix
 queue directory (pathname controlled with the \fBqueue_directory\fR
 configuration parameter in main.cf).
+.sp
+On Solaris systems the \fBpass\fR type is implemented with
+streams sockets.
 
 This feature is available as of Postfix version 2.5.
 .RE
index 775b0acfe383f365ca55d37bb06093ea2b842ef6..49225ac88681cce732b1f647c9a683bbaf7a14a2 100644 (file)
@@ -363,7 +363,7 @@ HTML files. Specify \"no\" if you do not want to install these files."
 
 : ${install_root=/}
 : ${tempdir=`pwd`}
-: ${config_directory=`bin/postconf -h -d config_directory`}
+: ${config_directory=`bin/postconf -c conf -h -d config_directory`}
 
 # Find out the location of installed configuration files.
 
@@ -446,7 +446,7 @@ do
     case "$junk" in
     "") eval unset $name;;
     esac
-    eval : \${$name=\`bin/postconf -d -h $name\`} || exit 1
+    eval : \${$name=\`bin/postconf -c conf -d -h $name\`} || exit 1
 done
 
 # Override settings manually.
index 75af77747264d212dd365ee97c3806a71d955ee1..b39b54c47bda0b2533f05efd2ff6268e1ef8a02c 100644 (file)
@@ -184,10 +184,9 @@ to configure and operate the Dovecot authentication server.  </p>
 
 <h4><a name="server_dovecot_comm">Postfix to Dovecot SASL communication</a></h4>
 
-<p> Communication between the Postfix SMTP server
-and Dovecot SASL happens via a UNIX-domain socket.  Additionally,
-when using Dovecot version 2.0 and later, communication can take
-place over a TCP socket.
+<p> Communication between the Postfix SMTP server and Dovecot SASL
+happens over a UNIX-domain socket or over a TCP socket.  Dovecot 1
+supports UNIX-domain socket communication only. </p>
 
 <h5>UNIX-domain socket communication</h5>
 
@@ -1166,14 +1165,19 @@ directory, so that it will work whether or not the Postfix SMTP
 server runs chrooted. </p>
 
 <li> <p> If you configured Dovecot for TCP socket communication,
-configure Postfix as follows (if Dovecot runs on a different
-machine, replace 127.0.0.1 by that machine's IP address): </p>
+configure Postfix as follows. If Dovecot runs on a different machine,
+replace 127.0.0.1 by that machine's IP address. </p>
 
 <pre>
 /etc/postfix/main.cf:
     smtpd_sasl_path = inet:127.0.0.1:12345
 </pre>
 
+<strong>Note</strong>
+
+<p> If you specify a remote IP address, information
+will be sent as plaintext over the network. </p>
+
 </ul>
 
 <h4><a name="server_sasl_authc">Enabling SASL authentication
index 3d3f07bc96f48294ed1b4a2f3e019c6fb7ba90b6..82b183bcf38b9fd03f695ef2d70c85f55c0a3d84 100644 (file)
 #      The service name is a pathname relative to the Postfix
 #      queue directory (pathname controlled with the \fBqueue_directory\fR
 #      configuration parameter in main.cf).
+# .sp
+#      On Solaris systems the \fBpass\fR type is implemented with
+#      streams sockets.
 #
 #      This feature is available as of Postfix version 2.5.
 # .RE
index 524fbc480c54de8a4d1e3b4d8114aff083379198..f92a34a8271e6d6432bf72ab3a434fe528464c8c 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      "20111118"
+#define MAIL_RELEASE_DATE      "20111119"
 #define MAIL_VERSION_NUMBER    "2.9"
 
 #ifdef SNAPSHOT
index b6ca2da6358c7e4b39b17da3b4898112c186aae9..ac96720cafa71a53a5033e1aebcca3fe9280b8fd 100644 (file)
 /*     readability.
 /*
 /*     If \fIservice ...\fR is specified, only the matching services
-/*     will be output. For example, a service of \fBinet\fR will
-/*     match all services that listen on the network.
+/*     will be output. For example, a \fIservice\fB of \fBinet\fR
+/*     will match all services that listen on the network.
 /*
-/*     Specify zero or more argument, each with a \fIservice-type\fR
+/*     Specify zero or more arguments, each with a \fIservice-type\fR
 /*     name (\fBinet\fR, \fBunix\fR, \fBfifo\fR, or \fBpass\fR)
 /*     or with a \fIservice-name.service-type\fR pair, where
 /*     \fIservice-name\fR is the first field of a master.cf entry.