glfs/server/mail/postfix/postfix-inst.xml
Larry Lawrence a11e412d48 update to postfix-2.0.9
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@898 af4574ff-66df-0310-9fd7-8a98e5e911e0
2003-05-01 23:38:41 +00:00

34 lines
1.5 KiB
XML

<sect2>
<title>Installation of <application>postfix</application></title>
<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>
<screen><userinput><command>groupadd postfix &amp;&amp;
groupadd postdrop &amp;&amp;
groupadd -g 65534 nogroup &amp;&amp;
useradd -c postfix -d /dev/null -g postfix -s /bin/false postfix &amp;&amp;
useradd -c nobody -d /home -g nogroup -s /bin/bash -u 65534 nobody &amp;&amp;
chown postfix:postfix /var/mail</command></userinput></screen>
<para>Install <application>postfix</application> by running the following commands:</para>
<screen><userinput><command>make &amp;&amp;
make install</command></userinput></screen>
<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>
<screen><prompt>daemon_directory:[/usr/libexec/postfix]</prompt><userinput>/usr/sbin</userinput>
<prompt>manpage_directory:[/usr/local/man]</prompt><userinput>/usr/share/man</userinput>
<prompt>sample_directory:[/etc/postfix]</prompt><userinput>/usr/share/doc/postfix</userinput></screen>
<para>The final installation step is to install the program's documentation with this command:</para>
<screen><userinput><command>cp -rf html/* /usr/share/doc/postfix</command></userinput></screen>
</sect2>