2002-08-27 06:23:32 +08:00
|
|
|
<sect2>
|
2003-09-27 03:39:35 +08:00
|
|
|
<title>Configuring Exim</title>
|
2002-08-27 06:23:32 +08:00
|
|
|
|
|
|
|
<sect3><title>Config files</title>
|
2003-09-23 08:29:11 +08:00
|
|
|
|
2003-04-21 06:15:01 +08:00
|
|
|
<para><filename>/etc/exim.conf</filename>, <filename>/etc/aliases</filename></para>
|
2003-09-23 08:29:11 +08:00
|
|
|
|
2002-08-27 06:23:32 +08:00
|
|
|
</sect3>
|
|
|
|
|
2003-09-23 08:29:11 +08:00
|
|
|
<sect3><title>Configuration Information</title>
|
|
|
|
|
2003-09-27 03:39:35 +08:00
|
|
|
<para>Create the Exim configuration files with the following commands:</para>
|
2003-09-23 08:29:11 +08:00
|
|
|
|
2003-09-24 04:34:30 +08:00
|
|
|
<screen><userinput><command>cat >> /etc/aliases << "EOF"</command>
|
2002-08-27 06:23:32 +08:00
|
|
|
postmaster: root
|
|
|
|
MAILER-DAEMON: root
|
2003-09-24 04:34:30 +08:00
|
|
|
<command>EOF
|
2003-04-06 00:32:17 +08:00
|
|
|
exim -v -bi &&
|
2003-09-23 08:29:11 +08:00
|
|
|
/usr/sbin/exim -bd -q1m</command></userinput></screen>
|
2003-02-02 00:51:51 +08:00
|
|
|
|
2002-08-27 06:23:32 +08:00
|
|
|
<note><para>To protect an existing <filename>/etc/aliases</filename>
|
2003-09-23 08:29:11 +08:00
|
|
|
file, we will append these aliases to it if it exists. This file
|
2002-08-27 06:23:32 +08:00
|
|
|
should be checked and duplicate aliases removed, if
|
|
|
|
present.</para></note>
|
|
|
|
|
2004-03-27 15:16:16 +08:00
|
|
|
<para>To automate the running of exim at startup,
|
|
|
|
install <filename>/etc/rc.d/init.d/exim</filename>
|
|
|
|
init script included in the <xref linkend="intro-important-bootscripts"/> package.</para>
|
|
|
|
|
|
|
|
<screen><userinput><command>make install-exim</command></userinput></screen>
|
2003-09-23 08:29:11 +08:00
|
|
|
|
2002-08-27 06:23:32 +08:00
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|