glfs/server/mail/exim/exim-inst.xml
Larry Lawrence 547df0bcb6 chapter 22
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1211 af4574ff-66df-0310-9fd7-8a98e5e911e0
2003-09-26 19:39:35 +00:00

23 lines
895 B
XML

<sect2>
<title>Installation of <application>Exim</application></title>
<para>Before building <application>Exim</application>, we need to
create the group and user exim which will run the exim daemon:</para>
<screen><userinput><command>groupadd exim &amp;&amp;
useradd -d /dev/null -g exim -s /bin/false exim</command></userinput></screen>
<para>Install <application>Exim</application> with the following commands:</para>
<screen><userinput><command>sed -e 's/^BIN_DIR.*$/BIN_DIRECTORY=\/usr\/sbin/' src/EDITME | \
sed -e 's/^CONF.*$/CONFIGURE_FILE=\/etc\/exim.conf/' | \
sed -e 's/^EXIM_USER.*$/EXIM_USER=exim/' | \
sed -e 's/^EXIM_MONITOR/#EXIM_MONITOR/' > Local/Makefile &amp;&amp;
make &amp;&amp;
make install &amp;&amp;
cp doc/exim.8 /usr/share/man/man8 &amp;&amp;
ln -s exim-4.24-1 /usr/sbin/exim &amp;&amp;
ln -s exim /usr/sbin/sendmail</command></userinput></screen>
</sect2>