r6342 - in trunk/BOOK: . introduction/welcome server/mail

dnicholson at linuxfromscratch.org dnicholson at linuxfromscratch.org
Sat Oct 14 13:54:42 PDT 2006


Author: dnicholson
Date: 2006-10-14 14:54:41 -0600 (Sat, 14 Oct 2006)
New Revision: 6342

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/server/mail/postfix.xml
Log:
Updated to Postfix-2.3.3


Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2006-10-12 20:21:39 UTC (rev 6341)
+++ trunk/BOOK/general.ent	2006-10-14 20:54:41 UTC (rev 6342)
@@ -1,4 +1,4 @@
-<!ENTITY day          "12">                   <!-- Always 2 digits -->
+<!ENTITY day          "14">                   <!-- Always 2 digits -->
 <!ENTITY month        "10">                   <!-- Always 2 digits -->
 <!ENTITY year         "2006">
 <!ENTITY version      "svn-&year;&month;&day;">
@@ -331,7 +331,7 @@
 <!-- Chapter 22 -->
 <!ENTITY courier-version              "0.47">
 <!ENTITY exim-version                 "4.61">
-<!ENTITY postfix-version              "2.2.9">
+<!ENTITY postfix-version              "2.3.3">
 <!ENTITY qpopper-version              "4.0.9">
 <!ENTITY sendmail-version             "8.13.6">
 

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2006-10-12 20:21:39 UTC (rev 6341)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2006-10-14 20:54:41 UTC (rev 6342)
@@ -42,6 +42,16 @@
 -->
 
     <listitem>
+      <para>October 14th, 2006</para>
+      <itemizedlist>
+        <listitem>
+          <para>[dnicholson] - Updated to Postfix-2.3.3. Added configuration
+          to automatically install html and README docs.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>October 12th, 2006</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/server/mail/postfix.xml
===================================================================
--- trunk/BOOK/server/mail/postfix.xml	2006-10-12 20:21:39 UTC (rev 6341)
+++ trunk/BOOK/server/mail/postfix.xml	2006-10-14 20:54:41 UTC (rev 6342)
@@ -6,10 +6,10 @@
 
   <!ENTITY postfix-download-http "http://www.mirrorspace.org/postfix/official/postfix-&postfix-version;.tar.gz">
   <!ENTITY postfix-download-ftp "ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-&postfix-version;.tar.gz">
-  <!ENTITY postfix-md5sum "./server/mail/postfix.xml">
-  <!ENTITY postfix-size "2.3 MB">
-  <!ENTITY postfix-buildsize "78 MB">
-  <!ENTITY postfix-time "0.4 SBU">
+  <!ENTITY postfix-md5sum "f957e9319428be81c724b606fe060cc7">
+  <!ENTITY postfix-size "2.6 MB">
+  <!ENTITY postfix-buildsize "85 MB">
+  <!ENTITY postfix-time "0.5 SBU">
 ]>
 
 <sect1 id="postfix" xreflabel="Postfix-&postfix-version;">
@@ -198,24 +198,24 @@
       <para>Install <application>Postfix</application> by running the
       following commands:</para>
 
-<screen><userinput>make makefiles CCARGS='-DDEF_DAEMON_DIR=\"/usr/lib/postfix\" \
-    -DDEF_MANPAGE_DIR=\"/usr/share/man\" <replaceable><additional args></replaceable>' \
+<screen><userinput>make makefiles \
+CCARGS='-DDEF_DAEMON_DIR=\"/usr/lib/postfix\" \
+    -DDEF_MANPAGE_DIR=\"/usr/share/man\" \
+    -DDEF_HTML_DIR=\"/usr/share/doc/postfix-&postfix-version;/html\" \
+    -DDEF_README_DIR=\"/usr/share/doc/postfix-&postfix-version;/README\" \
+    <replaceable><additional args></replaceable>' \
     <replaceable><AUXLIBS='additional args'></replaceable> &&
 make</userinput></screen>
 
+    <!-- There is a testsuite, but it fails a lot. It seems to need
+         the host to be specifically setup for the tests.
+         Run with `make tests' and `make root_tests' -->
     <para>This package does not come with a test suite.</para>
 
     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
 
 <screen role='root'><userinput>sh postfix-install -non-interactive</userinput></screen>
 
-      <para>The final installation step is to install the program's documentation
-      with the following commands (again, as the
-      <systemitem class="username">root</systemitem> user):</para>
-
-<screen role="root"><userinput>install -v -d /usr/share/doc/postfix &&
-cp -v -rf html/* /usr/share/doc/postfix</userinput></screen>
-
     </sect3>
 
   </sect2>
@@ -227,9 +227,9 @@
     makefiles throughout the source tree to use the options contained in the
     <envar>CCARGS</envar> and <envar>AUXLIBS</envar> variables.</para>
 
-    <para><command>sh postfix-install -non-interactive</command> : This
+    <para><command>sh postfix-install -non-interactive</command>: This
     keeps the install script from asking any questions, thereby accepting
-    default destination directories in all but the two cases mentioned in
+    default destination directories in all but the few cases mentioned in
     the 'make makefiles' command.</para>
 
   </sect2>
@@ -290,7 +290,22 @@
 <screen role="root"><userinput>sed -i "s/LOGIN/<replaceable><user></replaceable>/" /etc/aliases &&
 sed -i "s/#myhostname = host.domain.tld/myhostname = \
   <replaceable><localhost.localdomain></replaceable>/" /etc/postfix/main.cf &&
-/usr/bin/newaliases &&
+/usr/bin/newaliases</userinput></screen>
+
+      <para>If you have an existing configuration, you can run the
+      <command>postfix</command> utility to add any necessary definitions
+      to your existing files. As the
+      <systemitem class="username">root</systemitem> user:</para>
+
+<screen role="root"><userinput>/usr/sbin/postfix upgrade-configuration</userinput></screen>
+
+      <para>Before starting <application>Postfix</application>, you
+      should check that your configuration and file permissions will work
+      properly. Run the following commands as the
+      <systemitem class="username">root</systemitem> user to check and
+      start your <application>Postfix</application> server:</para>
+
+<screen role="root"><userinput>/usr/sbin/postfix check &&
 /usr/sbin/postfix start</userinput></screen>
 
     </sect3>
@@ -327,7 +342,8 @@
         postqueue, postsuper, proxymap, qmgr, qmqpd, sendmail, showq, smtp,
         smtpd, spawn, tlsmgr, trivial-rewrite, verify, and virtual</seg>
         <seg>None</seg>
-        <seg>/etc/postfix, /usr/lib/postfix and /usr/share/doc/postfix</seg>
+        <seg>/etc/postfix, /usr/lib/postfix and
+        /usr/share/doc/postfix-&postfix-version;</seg>
       </seglistitem>
     </segmentedlist>
 




More information about the blfs-book mailing list