Changeset 8568fa6 for server


Ignore:
Timestamp:
08/05/2004 02:44:40 AM (20 years ago)
Author:
Archaic <archaic@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
a8c9494
Parents:
fa052cc7
Message:

Many textual changes to postfix and addition of mysql as opt. dep for postfix.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2561 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/mail/postfix.xml

    rfa052cc7 r8568fa6  
    4444<para><xref linkend="db"/></para></sect4>
    4545<sect4><title>Optional</title>
    46 <para><ulink url="http://asg.web.cmu.edu/sasl/">Cyrus SASL</ulink></para></sect4>
     46<para><xref linkend="cyrus-sasl"/> and <xref linkend="mysql"/></para></sect4>
    4747</sect3>
    4848
     
    7171                   -non-interactive</command></userinput></screen>
    7272
    73 <para>The final installation step is to install the program's documentation with this command:</para>
     73<para>The final installation step is to install the program's documentation with
     74the following commands:</para>
    7475
    7576<screen><userinput><command>install -d /usr/share/doc/postfix &amp;&amp;
     
    8182<title>Command explanations</title>
    8283
    83 <para><command>sh postfix-install ... -non-interactive</command> :
    84 We don't want the install script to ask any questions so we call it with
    85 a non-interactive switch and accept default destination directories in
    86 all but three cases.</para>
     84<para><command>sh postfix-install ... -non-interactive</command> : This keeps
     85the install script from asking any questions, thereby accepting default
     86destination directories in all but the three cases explicitly mention.</para>
     87
     88<para><command>make CCARGS=<quote>$CCARGS -DHAS_MYSQL
     89-I/usr/include/mysql</quote> \</command></para>
     90<para><command>AUXLIBS=<quote>$AUXLIBS -L/usr/lib/mysql -lmysqlclient -lz
     91-lm</quote></command> : This will allow you to build postfix with MySQL
     92support.</para>
    8793
    8894</sect2>
     
    109115<command>EOF</command></userinput></screen>
    110116
    111 <note><para>To protect an existing <filename>/etc/aliases</filename>
    112 file, we will append these aliases to it if it exists. This file
    113 should be checked and duplicate aliases removed, if
    114 present.</para></note>
    115 
    116 <para>The <filename>/etc/aliases</filename> file that was just created
    117 or appended, the <filename>main.cf</filename> and the
    118 <filename>master.cf</filename>
    119 must be personalized for your system. The <filename>aliases</filename> file
    120 needs your non-root login identity so mail addressed to root can be forwarded
    121 to you at the user level.  The <filename>main.cf</filename> file needs your
    122 fully qualified hostname.  All of these edits can be done with sed commands
    123 entered into the console with appropriate substitutions of your non-root
    124 login name for <replaceable>[user]</replaceable> and your fully qualified
    125 hostname for <replaceable>[localhost.localdomain]</replaceable>. You will
    126 find the <filename>main.cf</filename> file
    127 is self documenting, so load it into your editor to make the changes you need
    128 for your situation.</para>
    129 
    130 <screen><userinput><command>cp /etc/aliases /etc/aliases.bak &amp;&amp;
    131 cp /etc/postfix/main.cf /etc/postfix/main.cf.bak &amp;&amp;
    132 sed "s/LOGIN/<replaceable>[user]</replaceable>/" /etc/aliases.bak > /etc/aliases &amp;&amp;
    133 sed "s/#myhostname = host.domain.tld/myhostname = \
    134         <replaceable>[localhost.localdomain]</replaceable>/" \
    135         /etc/postfix/main.cf.bak > /etc/postfix/main.cf &amp;&amp;
     117<note><para>To protect an existing <filename>/etc/aliases</filename> file, the
     118above command appends these aliases to it if it exists. This file should be
     119checked and duplicate aliases removed, if present.</para></note>
     120
     121<para>The <filename>/etc/aliases</filename> file that was just created or
     122appended, the <filename>main.cf</filename> and the
     123<filename>master.cf</filename> must be personalized for your system. The
     124<filename>aliases</filename> file needs your non-root login identity so mail
     125addressed to root can be forwarded to you at the user level. The
     126<filename>main.cf</filename> file needs your fully qualified hostname. All of
     127these edits can be done with sed commands entered into the console with
     128appropriate substitutions of your non-root login name for
     129<replaceable>[user]</replaceable> and your fully qualified hostname for
     130<replaceable>[localhost.localdomain]</replaceable>. You will find the
     131<filename>main.cf</filename> file is self documenting, so load it into your
     132editor to make the changes you need for your situation.</para>
     133
     134<screen><userinput><command>sed -i <quote>s/LOGIN/<replaceable>[user]</replaceable>/</quote> /etc/aliases &amp;&amp;
     135sed -i <quote>s/#myhostname = host.domain.tld/myhostname = \
     136        <replaceable>[localhost.localdomain]</replaceable>/</quote> /etc/postfix/main.cf &amp;&amp;
    136137/usr/bin/newaliases &amp;&amp;
    137138/usr/sbin/postfix start</command></userinput></screen></sect3>
     
    151152<title>Contents</title>
    152153
    153 <para>The <application>Postfix</application> package contains <filename>bounce
    154 </filename>, <filename>cleanup</filename>, <filename>error</filename>,
    155 <filename>flush</filename>, <filename>lmtp</filename>,
    156 <filename>local</filename>, <filename class="symlink">mailq</filename>,
    157 <filename>master</filename>, <filename class="symlink">newaliases</filename>,
    158 <filename>nqmgr</filename>, <filename>pickup</filename>,
    159 <filename>pipe</filename>, <command>postalias</command>,
    160 <command>postcat</command>, <command>postconf</command>,
    161 <command>postdrop</command>, <command>postfix</command>,
    162 <command>postkick</command>, <command>postlock</command>,
    163 <command>postlog</command>, <command>postmap</command>,
    164 <command>postqueue</command>, <command>postsuper</command>,
    165 <filename>qmgr</filename>, <filename>qmqpd</filename>,
    166 <command>sendmail</command>, <command>showq</command>,
    167 <filename>smtp</filename>, <filename>smtpd</filename>,
    168 <filename>spawn</filename>, <filename>trivial-rewrite</filename>,
    169 and <filename>virtual</filename>.</para>
     154<para>The <application>Postfix</application> package contains
     155<command>bounce</command>, <command>cleanup</command>,
     156<command>error</command>, <command>flush</command>,
     157<command>lmtp</command>, <command>local</command>,
     158<command>mailq</command>, <command>master</command>,
     159<command>newaliases</command>, <command>nqmgr</command>,
     160<command>pickup</command>, <command>pipe</command>,
     161<command>postalias</command>, <command>postcat</command>,
     162<command>postconf</command>, <command>postdrop</command>,
     163<command>postfix</command>, <command>postkick</command>,
     164<command>postlock</command>, <command>postlog</command>,
     165<command>postmap</command>, <command>postqueue</command>,
     166<command>postsuper</command>, <command>qmgr</command>,
     167<command>qmqpd</command>, <command>sendmail</command>,
     168<command>showq</command>, <command>smtp</command>,
     169<command>smtpd</command>, <command>spawn</command>,
     170<command>trivial-rewrite</command>, and <command>virtual</command>.</para>
    170171
    171172</sect2>
     
    177178
    178179<sect3><title>master</title>
    179 <para><filename>master</filename> is the resident process that runs
     180<para><command>master</command> is the resident process that runs
    180181<filename>bounce</filename>, <filename>cleanup</filename>,
    181182<filename>error</filename>, <filename>flush</filename>,
Note: See TracChangeset for help on using the changeset viewer.