2002-08-27 06:23:32 +08:00
|
|
|
<sect2>
|
2003-09-27 03:39:35 +08:00
|
|
|
<title>Installation of <application>Exim</application></title>
|
2002-08-27 06:23:32 +08:00
|
|
|
|
2003-09-27 03:39:35 +08:00
|
|
|
<para>Before building <application>Exim</application>, we need to
|
2003-09-23 08:29:11 +08:00
|
|
|
create the group and user exim which will run the exim daemon:</para>
|
2002-08-27 06:23:32 +08:00
|
|
|
|
2003-09-23 08:29:11 +08:00
|
|
|
<screen><userinput><command>groupadd exim &&
|
|
|
|
useradd -d /dev/null -g exim -s /bin/false exim</command></userinput></screen>
|
2002-08-27 06:23:32 +08:00
|
|
|
|
2003-09-27 03:39:35 +08:00
|
|
|
<para>Install <application>Exim</application> with the following commands:</para>
|
2003-09-23 08:29:11 +08:00
|
|
|
|
|
|
|
<screen><userinput><command>sed -e 's/^BIN_DIR.*$/BIN_DIRECTORY=\/usr\/sbin/' src/EDITME | \
|
2002-08-27 06:23:32 +08:00
|
|
|
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 &&
|
|
|
|
make &&
|
|
|
|
make install &&
|
2003-09-23 08:29:11 +08:00
|
|
|
cp doc/exim.8 /usr/share/man/man8 &&
|
|
|
|
ln -s exim-4.24-1 /usr/sbin/exim &&
|
|
|
|
ln -s exim /usr/sbin/sendmail</command></userinput></screen>
|
2002-08-27 06:23:32 +08:00
|
|
|
|
2003-09-23 08:29:11 +08:00
|
|
|
</sect2>
|