Ignore:
Timestamp:
05/01/2003 11:38:41 PM (21 years ago)
Author:
Larry Lawrence <larry@…>
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, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
176b211
Parents:
d3e69e6
Message:

update to postfix-2.0.9

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/mail/postfix/postfix-config.xml

    rd3e69e6 ra11e412  
    11<sect2>
    2 <title>Configuring postfix</title>
     2<title>Configuring <application>postfix</application></title>
    33
    44<sect3><title>Config files</title>
     
    1010<sect3><title>Configuration Information</title>
    1111
    12 <para><screen><userinput>cat &gt; /etc/aliases &lt;&lt; "EOF"</userinput>
     12<screen><userinput><command>cat &gt; /etc/aliases &lt;&lt; "EOF"</command>
    1313# Begin /etc/aliases
    1414
     
    1818root:             LOGIN
    1919# End /etc/aliases
    20 <userinput>EOF</userinput></screen></para>
     20<command>EOF</command></userinput></screen>
    2121
    2222<para>The <filename>/etc/aliases</filename> file that was just created,
    2323the <filename>main.cf</filename> and the <filename>master.cf</filename>
    24 must be personalized for your system. The <filename>aliases</filename> file needs your
    25 non-root login identity so mail addressed to root can be forwarded to
    26 you at the user level.  The <filename>main.cf</filename> file needs your fully qualified
    27 hostname.  All of these edits can be done
    28 with sed commands entered into the console with appropriate substitutions of
    29 your non-root login name for [user] and your fully qualified hostname for
    30 [localhost.localdomain]. You will find the <filename>main.cf</filename> file is self documenting, so load it into your editor to make the changes you need for your situation.</para>
     24must be personalized for your system. The <filename>aliases</filename> file
     25needs your non-root login identity so mail addressed to root can be forwarded
     26to you at the user level.  The <filename>main.cf</filename> file needs your
     27fully qualified hostname.  All of these edits can be done with sed commands
     28entered into the console with appropriate substitutions of your non-root
     29login name for <replaceable>[user]</replaceable> and your fully qualified
     30hostname for <replaceable>[localhost.localdomain]</replaceable>. You will
     31find the <filename>main.cf</filename> file
     32is self documenting, so load it into your editor to make the changes you need
     33for your situation.</para>
    3134
    32 <para><screen><userinput>cp /etc/aliases /etc/aliases.bak
     35<screen><userinput><command>cp /etc/aliases /etc/aliases.bak
    3336cp /etc/postfix/main.cf /etc/postfix/main.cf.bak
    3437cp /etc/postfix/master.cf /etc/postfix/master.cf.bak
    35 sed "s/LOGIN/[user]/" /etc/aliases.bak > /etc/aliases
     38sed "s/LOGIN/<replaceable>[user]</replaceable>/" /etc/aliases.bak > /etc/aliases
    3639sed "s/#myhostname = host.domain.tld/myhostname = \
    37         [localhost.localdomain]/" \
     40        <replaceable>[localhost.localdomain]</replaceable>/" \
    3841        /etc/postfix/main.cf.bak > /etc/postfix/main.cf
    3942/usr/bin/newaliases
    40 /usr/sbin/postfix start</userinput></screen></para></sect3>
     43/usr/sbin/postfix start</command></userinput></screen></sect3>
    4144
    4245<sect3><title>postfix init.d script</title>
     
    4447<para>To automate the running of postfix, use following command to create the init.d script:</para>
    4548
    46 <para><screen><userinput>cat &gt; /etc/rc.d/init.d/postfix &lt;&lt; "EOF"</userinput>
     49<screen><userinput><command>cat &gt; /etc/rc.d/init.d/postfix &lt;&lt; "EOF"</command>
    4750#!/bin/sh
    4851# Begin $rc_base/init.d/postfix
     
    8487
    8588# End $rc_base/init.d/postfix
    86 <userinput>EOF
    87 chmod 755 /etc/rc.d/init.d/postfix</userinput></screen></para>
     89<command>EOF
     90chmod 755 /etc/rc.d/init.d/postfix</command></userinput></screen>
    8891
    8992<para>Create the symbolic links to this file in the relevant
    9093<filename>rc.d</filename> directory with the following commands:
    9194
    92 <screen><userinput>cd /etc/rc.d/init.d &amp;&amp;
     95<screen><userinput><command>cd /etc/rc.d/init.d &amp;&amp;
    9396ln -sf ../init.d/postfix ../rc0.d/K25postfix &amp;&amp;
    9497ln -sf ../init.d/postfix ../rc1.d/K25postfix &amp;&amp;
     
    97100ln -sf ../init.d/postfix ../rc4.d/S35postfix &amp;&amp;
    98101ln -sf ../init.d/postfix ../rc5.d/S35postfix &amp;&amp;
    99 ln -sf ../init.d/postfix ../rc6.d/K25postfix</userinput></screen></para>
     102ln -sf ../init.d/postfix ../rc6.d/K25postfix</command></userinput></screen></para>
    100103</sect3>
    101104
Note: See TracChangeset for help on using the changeset viewer.