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

Location:
server/mail/postfix
Files:
5 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
  • server/mail/postfix/postfix-desc.xml

    rd3e69e6 ra11e412  
    22<title>Contents</title>
    33
    4 <para>The postfix package contains <userinput>bounce</userinput>,
    5 <userinput>cleanup</userinput>, <userinput>error</userinput>,
    6 <userinput>flush</userinput>, <userinput>lmtp</userinput>,
    7 <userinput>local</userinput>, <userinput>mailq</userinput>,
    8 <userinput>master</userinput>, <userinput>newaliases</userinput>,
    9 <userinput>nqmgr</userinput>, <userinput>pickup</userinput>,
    10 <userinput>pipe</userinput>, <userinput>postalias</userinput>,
    11 <userinput>postcat</userinput>, <userinput>postconf</userinput>,
    12 <userinput>postdrop</userinput>, <userinput>postfix</userinput>,
    13 <userinput>postkick</userinput>, <userinput>postlock</userinput>,
    14 <userinput>postlog</userinput>, <userinput>postmap</userinput>,
    15 <userinput>postqueue</userinput>, <userinput>postsuper</userinput>,
    16 <userinput>qmgr</userinput>, <userinput>qmqpd</userinput>,
    17 <userinput>sendmail</userinput>, <userinput>showq</userinput>,
    18 <userinput>smtp</userinput>, <userinput>smtpd</userinput>,
    19 <userinput>spawn</userinput>, <userinput>trivial-rewrite</userinput>,
    20 and <userinput>virtual</userinput>.</para>
     4<para>The <application>postfix</application> package contains <filename>bounce
     5</filename>, <filename>cleanup</filename>, <filename>error</filename>,
     6<filename>flush</filename>, <filename>lmtp</filename>,
     7<filename>local</filename>, <filename class="symlink">mailq</filename>,
     8<filename>master</filename>, <filename class="symlink">newaliases</filename>,
     9<filename>nqmgr</filename>, <filename>pickup</filename>,
     10<filename>pipe</filename>, <command>postalias</command>,
     11<command>postcat</command>, <command>postconf</command>,
     12<command>postdrop</command>, <command>postfix</command>,
     13<command>postkick</command>, <command>postlock</command>,
     14<command>postlog</command>, <command>postmap</command>,
     15<command>postqueue</command>, <command>postsuper</command>,
     16<filename>qmgr</filename>, <filename>qmqpd</filename>,
     17<command>sendmail</command>, <command>showq</command>,
     18<filename>smtp</filename>, <filename>smtpd</filename>,
     19<filename>spawn</filename>, <filename>trivial-rewrite</filename>,
     20and <filename>virtual</filename>.</para>
    2121
    2222</sect2>
     
    2525
    2626<sect3><title>postfix</title>
    27 <para>postfix is the program that starts and stops the mail delivery system.</para></sect3>
     27<para><command>postfix</command> is the program that starts and stops the mail delivery system.</para></sect3>
    2828
    2929<sect3><title>master</title>
    30 <para>master is the resident process that runs bounce, cleanup, error, flush,
    31 lmtp, local, nqmgr, pickup, pipe, qmgr, qmqpd, showq, smtp, smtpd, spawn,
    32 trivial-rewrite and virtual on demand. These programs are not designed to
     30<para><filename>master</filename> is the resident process that runs
     31<filename>bounce</filename>, <filename>cleanup</filename>,
     32<filename>error</filename>, <filename>flush</filename>,
     33<filename>lmtp</filename>, <filename>local</filename>,
     34<filename>nqmgr</filename>, <filename>pickup</filename>,
     35<filename>pipe</filename>, <filename>qmgr</filename>,
     36<filename>qmqpd</filename>, <filename>showq</filename>,
     37<filename>smtp</filename>, <filename>smtpd</filename>,
     38<filename>spawn</filename>, <filename>trivial-rewrite</filename> and
     39<filename>virtual</filename> on demand. These programs are not designed to
    3340work as user commands.</para></sect3>
    3441
    3542<sect3><title>postqueue</title>
    36 <para>postqueue implements the Postfix user interface for queue management. 
    37 It implements all the operations that are traditionally available via the
    38 sendmail command.</para></sect3>
     43<para><command>postqueue</command> implements the
     44<application>Postfix</application> user interface for
     45queue management.  It implements all the operations that are traditionally
     46available via the <command>sendmail</command> command.</para></sect3>
    3947
    4048<sect3><title>sendmail</title>
    41 <para>sendmail implements the Postfix to Sendmail compatibility interface. 
    42 mailq and newaliases are symlinks to sendmail.</para></sect3>
     49<para><command>sendmail</command> implements the
     50<application>Postfix</application> to
     51<application>Sendmail</application> compatibility interface. 
     52<filename class="symlink">mailq</filename> and <filename
     53class="symlink">newaliases</filename> are symlinks to
     54<command>sendmail</command>.</para></sect3>
    4355
    4456<sect3><title>showq</title>
    45 <para>showq will emulate the mailq command when the Postfix mail system is
     57<para><command>showq</command> will emulate the <filename
     58class="symlink">mailq</filename> command when the
     59<application>Postfix</application> mail system is
    4660not running.</para></sect3>
    4761
    4862<sect3><title>postsuper</title>
    49 <para>postsuper does maintenance jobs on the Postfix queue.</para></sect3>
     63<para><command>postsuper</command> does maintenance jobs on the
     64<application>Postfix</application> queue.</para></sect3>
    5065
    5166<sect3><title>postalias</title>
    52 <para>postalias creates, queries or updates Postfix alias
     67<para><command>postalias</command> creates, queries or updates
     68<application>Postfix</application> alias
    5369databases.</para></sect3>
    5470
    5571<sect3><title>postcat</title>
    56 <para>postcat prints the contents of a Postfix queue file in human-readable
     72<para><command>postcat</command> prints the contents of a
     73<application>Postfix</application> queue file in human-readable
    5774form.</para></sect3>
    5875
    5976<sect3><title>postconf</title>
    60 <para>postconf prints or changes the value of configuration
     77<para><command>postconf</command> prints or changes the value of configuration
    6178parameters.</para></sect3>
    6279
    6380<sect3><title>postdrop</title>
    64 <para>postdrop creates a file in the maildrop directory and copies its standard input to the file.</para></sect3>
     81<para><command>postdrop</command> creates a file in the maildrop directory and
     82copies its standard input to the file.</para></sect3>
    6583
    6684<sect3><title>postkick</title>
    67 <para>postkick makes the mail system private IPC accessible for use in shell
     85<para><command>postkick</command> makes the mail system private
     86<acronym>IPC</acronym> accessible for use in shell
    6887scripts.</para></sect3>
    6988
    7089<sect3><title>postlock</title>
    71 <para>postlock locks a file for exclusive access and executes a command
    72 on that file.</para></sect3>
     90<para><command>postlock</command> locks a file for exclusive access and
     91executes a command on that file.</para></sect3>
    7392
    7493<sect3><title>postlog</title>
    75 <para>postlog implements a logging interface for use in shell
    76 scripts.</para></sect3>
     94<para><command>postlog</command> implements a logging interface for use in
     95shell scripts.</para></sect3>
    7796
    7897<sect3><title>postmap</title>
    79 <para>postmap creates, queries or updates Postfix lookup tables.</para></sect3>
     98<para><command>postmap</command> creates, queries or updates
     99<application>Postfix</application> lookup tables.</para></sect3>
    80100
    81101</sect2>
  • server/mail/postfix/postfix-inst.xml

    rd3e69e6 ra11e412  
    11<sect2>
    2 <title>Installation of postfix</title>
     2<title>Installation of <application>postfix</application></title>
    33
    4 <para>Before you compile the program, you need to create users and groups that will be expected to be in place when the install script executes.  Add the users and groups with the following commands:</para>
     4<para>Before you compile the program, you need to create users and groups that
     5will be expected to be in place when the install script executes.  Add the
     6users and groups with the following commands:</para>
    57
    6 <para><screen><userinput>groupadd postfix &amp;&amp;
     8<screen><userinput><command>groupadd postfix &amp;&amp;
    79groupadd postdrop &amp;&amp;
    810groupadd -g 65534 nogroup &amp;&amp;
    911useradd -c postfix -d /dev/null -g postfix -s /bin/false postfix &amp;&amp;
    1012useradd -c nobody -d /home -g nogroup -s /bin/bash -u 65534 nobody &amp;&amp;
    11 chown postfix:postfix /var/mail</userinput></screen></para>
     13chown postfix:postfix /var/mail</command></userinput></screen>
    1214
    13 <para>Install postfix by running the following commands:</para>
     15<para>Install <application>postfix</application> by running the following commands:</para>
    1416
    15 <para><screen><userinput>make &amp;&amp;
    16 make install</userinput></screen></para>
     17<screen><userinput><command>make &amp;&amp;
     18make install</command></userinput></screen>
    1719
    18 <para>The install script will enter an interactive stage with questions in the form of '*_directory:[default]input'.  Defaults can be accepted in all but three cases.  The following shows the three cases and the modified response.</para>
     20<para>The install script will enter an interactive stage with questions in the
     21form of '*_directory:[default]input'.  Defaults can be accepted in all but
     22three cases.  The following shows the three cases and the modified response.</para>
    1923
    20 <para><screen><userinput>daemon_directory:[/usr/libexec/postfix]/usr/sbin
    21 manpage_directory:[/usr/local/man]/usr/share/man
    22 sample_directory:[/etc/postfix]/usr/share/doc/postfix</userinput></screen></para>
     24<screen><prompt>daemon_directory:[/usr/libexec/postfix]</prompt><userinput>/usr/sbin</userinput>
     25<prompt>manpage_directory:[/usr/local/man]</prompt><userinput>/usr/share/man</userinput>
     26<prompt>sample_directory:[/etc/postfix]</prompt><userinput>/usr/share/doc/postfix</userinput></screen>
    2327
    2428<para>The final installation step is to install the program's documentation with this command:</para>
    2529
    26 <para><screen><userinput>cp -rf html/* /usr/share/doc/postfix</userinput></screen></para>
     30<screen><userinput><command>cp -rf html/* /usr/share/doc/postfix</command></userinput></screen>
    2731
    2832</sect2>
  • server/mail/postfix/postfix-intro.xml

    rd3e69e6 ra11e412  
    22<title>Introduction to postfix</title>
    33
    4 <screen>Download location (HTTP):       <ulink url="&postfix-download-http;"/>
    5 Download location (FTP):        <ulink url="&postfix-download-ftp;"/>
    6 Version used:                   &postfix-version;
    7 Package size:                   &postfix-size;
    8 Estimated Disk space required:  &postfix-buildsize;
    9 Estimated build time:           &postfix-time;</screen>
     4<para>The <application>postfix</application> package contains a Mail
     5Transport Agent (<acronym>MTA</acronym>). This is useful for sending email
     6to other users of your host machine.  It can also be configured to be a
     7central mail server for your domain, a mail relay agent or simply a mail
     8delivery agent to your local Internet Service Provider
     9(<acronym>ISP</acronym>).</para>
    1010
    11 <para>The postfix package contains a Mail Transport Agent (MTA). This
    12 is useful for sending email to other users of your host machine.  It can
    13 also be configured to be a central mail server for your domain, a mail
    14 relay agent or simply a mail delivery agent to your local Internet
    15 Service Provider (ISP).</para>
     11<sect3><title>Package information</title>
     12<itemizedlist spacing='compact'>
     13<listitem><para>Download (HTTP): <ulink
     14url="&postfix-download-http;"/></para></listitem>
     15<listitem><para>Download (FTP): <ulink
     16url="&postfix-download-ftp;"/></para></listitem>
     17<listitem><para>Download size: &postfix-size;</para></listitem>
     18<listitem><para>Estimated Disk space required:
     19&postfix-buildsize;</para></listitem>
     20<listitem><para>Estimated build time:
     21&postfix-time;</para></listitem></itemizedlist>
     22</sect3>
    1623
    17 <screen>postfix depends on:
    18 <xref linkend="db"/></screen>
     24<sect3><title><application>postfix</application> dependencies</title>
     25<sect4><title>Required</title>
     26<para><xref linkend="db"/></para></sect4>
     27</sect3>
    1928
    2029</sect2>
  • server/mail/postfix/postfix.ent

    rd3e69e6 ra11e412  
    44<!ENTITY postfix-desc SYSTEM "postfix-desc.xml">
    55<!ENTITY postfix-config SYSTEM "postfix-config.xml">
    6 <!ENTITY postfix-buildsize "71.9 MB">
    7 <!ENTITY postfix-version "2.0.7">
     6<!ENTITY postfix-buildsize "71 MB">
     7<!ENTITY postfix-version "2.0.9">
    88<!ENTITY postfix-download-http "">
    99<!ENTITY postfix-download-ftp "ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-&postfix-version;.tar.gz">
Note: See TracChangeset for help on using the changeset viewer.