glfs/server/mail/exim/exim-inst.xml

23 lines
895 B
XML
Raw Normal View History

<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>