2004-06-13 13:38:30 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
|
|
|
<!ENTITY exim-download-http "http://gd.tuwien.ac.at/infosys/mail/exim/exim4/exim-&exim-version;.tar.bz2">
|
|
|
|
<!ENTITY exim-download-ftp "ftp://ftp.exim.org/pub/exim/exim4/exim-&exim-version;.tar.bz2">
|
|
|
|
<!ENTITY exim-size "1.2 MB">
|
|
|
|
<!ENTITY exim-buildsize "11 MB">
|
|
|
|
<!ENTITY exim-time "0.27 SBU">
|
|
|
|
]>
|
|
|
|
|
2003-09-27 03:39:35 +08:00
|
|
|
<sect1 id="exim" xreflabel="Exim-&exim-version;">
|
2004-08-10 12:23:09 +08:00
|
|
|
<sect1info>
|
2004-08-10 12:25:57 +08:00
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
2004-08-10 12:23:09 +08:00
|
|
|
</sect1info>
|
2004-05-07 10:32:10 +08:00
|
|
|
<?dbhtml filename="exim.html"?>
|
2004-12-22 09:00:40 +08:00
|
|
|
<title><application>Exim</application>-&exim-version;</title>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
2004-06-13 13:38:30 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Introduction to <application>Exim</application></title>
|
|
|
|
|
2004-12-22 09:00:40 +08:00
|
|
|
<para>The <application>Exim</application> package contains a Mail Transport
|
|
|
|
Agent written by the University of Cambridge, released under the
|
|
|
|
<acronym>GNU</acronym> Public License.</para>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
|
|
|
<sect3><title>Package information</title>
|
|
|
|
<itemizedlist spacing='compact'>
|
2004-12-22 09:00:40 +08:00
|
|
|
<listitem><para>Download (HTTP):
|
|
|
|
<ulink url="&exim-download-http;"/></para></listitem>
|
|
|
|
<listitem><para>Download (FTP):
|
|
|
|
<ulink url="&exim-download-ftp;"/></para></listitem>
|
|
|
|
<listitem><para>Download size:
|
|
|
|
&exim-size;</para></listitem>
|
|
|
|
<listitem><para>Estimated disk space required:
|
|
|
|
&exim-buildsize;</para></listitem>
|
|
|
|
<listitem><para>Estimated build time:
|
|
|
|
&exim-time;</para></listitem></itemizedlist>
|
2004-06-13 13:38:30 +08:00
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3><title><application>Exim</application> dependencies</title>
|
|
|
|
<sect4><title>Required</title>
|
2004-12-22 09:00:40 +08:00
|
|
|
<para><xref linkend="db"/></para>
|
|
|
|
</sect4>
|
|
|
|
|
2004-06-13 13:38:30 +08:00
|
|
|
<sect4><title>Optional</title>
|
2004-12-22 09:00:40 +08:00
|
|
|
<para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
|
2004-06-13 13:38:30 +08:00
|
|
|
<xref linkend="openldap"/>,
|
|
|
|
<xref linkend="mysql"/>,
|
|
|
|
<xref linkend="tcpwrappers"/> and
|
2004-12-22 09:00:40 +08:00
|
|
|
<xref linkend="Linux_PAM"/></para>
|
|
|
|
</sect4>
|
2004-06-13 13:38:30 +08:00
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Installation of <application>Exim</application></title>
|
|
|
|
|
2004-12-22 09:00:40 +08:00
|
|
|
<para>Before building <application>Exim</application>, you should
|
2004-06-13 13:38:30 +08:00
|
|
|
create the group and user exim which will run the exim daemon:</para>
|
|
|
|
|
|
|
|
<screen><userinput><command>groupadd exim &&
|
2004-12-22 09:00:40 +08:00
|
|
|
useradd -d /dev/null -c "Exim Daemon" -g exim -s /bin/false exim</command></userinput></screen>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
2004-12-22 09:00:40 +08:00
|
|
|
<para>Install <application>Exim</application> with the following
|
|
|
|
commands:</para>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
2004-12-22 09:00:40 +08:00
|
|
|
<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 &&
|
2004-06-13 13:38:30 +08:00
|
|
|
make &&
|
|
|
|
make install &&
|
|
|
|
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>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Command explanations</title>
|
|
|
|
|
2004-12-22 09:00:40 +08:00
|
|
|
<para><command>sed -e ... > Local/Makefile</command>: Many of
|
|
|
|
<application>Exim</application>'s configuration options are compiled in.
|
|
|
|
This command specifies the minimum set of options,
|
|
|
|
<parameter>BIN_DIRECTORY</parameter>, <parameter>CONFIGURE_FILE</parameter>
|
|
|
|
and <parameter>EXIM_USER</parameter>. Additionally, building the
|
|
|
|
<application>Exim</application> monitor program is deferred, as it
|
|
|
|
requires <application>X</application> Window System support, by commenting
|
|
|
|
out the <parameter>EXIM_MONITOR</parameter> line in the
|
|
|
|
<filename>Makefile</filename>.</para>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
|
|
|
<para><command>ln -s exim /usr/sbin/sendmail</command>:
|
2004-12-22 09:00:40 +08:00
|
|
|
Creates a link to <command>sendmail</command> for applications which need
|
2004-06-13 13:38:30 +08:00
|
|
|
it. <application>Exim</application> will
|
|
|
|
accept most <application>Sendmail</application> command-line options.</para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Configuring Exim</title>
|
|
|
|
|
|
|
|
<sect3><title>Config files</title>
|
|
|
|
|
2004-12-22 09:00:40 +08:00
|
|
|
<para><filename>/etc/exim.conf</filename> and
|
|
|
|
<filename>/etc/aliases</filename></para>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3><title>Configuration Information</title>
|
|
|
|
|
2004-12-22 09:00:40 +08:00
|
|
|
<para>Create the Exim configuration files with the following commands:</para>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
|
|
|
<screen><userinput><command>cat >> /etc/aliases << "EOF"</command>
|
|
|
|
postmaster: root
|
|
|
|
MAILER-DAEMON: root
|
|
|
|
<command>EOF
|
|
|
|
exim -v -bi &&
|
|
|
|
/usr/sbin/exim -bd -q1m</command></userinput></screen>
|
|
|
|
|
2004-12-22 09:00:40 +08:00
|
|
|
<note><para>To protect an existing <filename>/etc/aliases</filename> file,
|
|
|
|
append these aliases to it if it exists. This file should be checked and
|
|
|
|
duplicate aliases removed, if present.</para></note>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
2004-12-22 09:00:40 +08:00
|
|
|
<para>To automate the running of <command>exim</command> at startup, install
|
|
|
|
the <filename>/etc/rc.d/init.d/exim</filename> init script included in the
|
|
|
|
<xref linkend="intro-important-bootscripts"/> package.</para>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
|
|
|
<screen><userinput><command>make install-exim</command></userinput></screen>
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<para>The <application>Exim</application> package contains
|
|
|
|
<command>exim</command>,
|
|
|
|
<command>exim_dumpdb</command>,
|
|
|
|
<command>exim_fixdb</command>,
|
|
|
|
<command>exim_tidydb</command>,
|
|
|
|
<command>exinext</command>,
|
|
|
|
<command>exiwhat</command>,
|
|
|
|
<command>exim_dbmbuild</command>,
|
|
|
|
<command>exicyclog</command>,
|
|
|
|
<command>exigrep</command>,
|
|
|
|
<command>eximstats</command>,
|
|
|
|
<command>exiqsumm</command>,
|
|
|
|
<command>exiqgrep</command>,
|
|
|
|
<command>exim_lock</command> and
|
2004-12-22 09:00:40 +08:00
|
|
|
<command>exim_checkaccess</command>.</para>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2><title>Description</title>
|
|
|
|
<sect3><title>exim</title>
|
|
|
|
<para><command>exim</command> is the Mail Transport Agent daemon.</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>exim_dumpdb</title>
|
2004-12-22 09:00:40 +08:00
|
|
|
<para><command>exim_dumpdb</command> writes the contents of
|
|
|
|
<application>Exim</application> databases to the standard output.</para></sect3>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
|
|
|
<sect3><title>exim_fixdb</title>
|
2004-12-22 09:00:40 +08:00
|
|
|
<para><command>exim_fixdb</command> modifies data in
|
|
|
|
<application>Exim</application> databases.</para></sect3>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
|
|
|
<sect3><title>exim_tidydb</title>
|
2004-12-22 09:00:40 +08:00
|
|
|
<para><command>exim_tidydb</command> removes old records from
|
|
|
|
<application>Exim</application> databases.</para></sect3>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
|
|
|
<sect3><title>exinext</title>
|
|
|
|
<para><command>exinext</command> queries remote host retry times.</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>exiwhat</title>
|
2004-12-22 09:00:40 +08:00
|
|
|
<para><command>exiwhat</command> queries running
|
|
|
|
<application>Exim</application> processes.</para></sect3>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
|
|
|
<sect3><title>exim_dbmbuild</title>
|
2004-12-22 09:00:40 +08:00
|
|
|
<para><command>exim_dbmbuild</command> creates and rebuilds
|
|
|
|
<application>Exim</application> databases.</para></sect3>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
|
|
|
<sect3><title>exicyclog</title>
|
2004-12-22 09:00:40 +08:00
|
|
|
<para><command>exicyclog</command> cycles
|
|
|
|
<application>Exim</application> log files.</para></sect3>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
|
|
|
<sect3><title>exigrep</title>
|
2004-12-22 09:00:40 +08:00
|
|
|
<para><command>exigrep</command> searches
|
|
|
|
<application>Exim</application> log files.</para></sect3>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
|
|
|
<sect3><title>eximstats</title>
|
2004-12-22 09:00:40 +08:00
|
|
|
<para><command>eximstats</command> generates mail statistics from
|
|
|
|
<application>Exim</application> log files.</para></sect3>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
|
|
|
<sect3><title>exiqsumm</title>
|
2004-12-22 09:00:40 +08:00
|
|
|
<para><command>exiqsumm</command> produces a summary of the messages in the
|
|
|
|
mail queue.</para></sect3>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
|
|
|
<sect3><title>exiqgrep</title>
|
|
|
|
<para><command>exiqgrep</command> is an utility for selective queue
|
|
|
|
listing.</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>exim_lock</title>
|
|
|
|
<para><command>exim_lock</command> locks a mailbox file.</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>exim_checkaccess</title>
|
2004-12-22 09:00:40 +08:00
|
|
|
<para><command>exim_checkaccess</command> states whether a given recipient
|
|
|
|
address from a given host is acceptable or not.</para></sect3>
|
2004-06-13 13:38:30 +08:00
|
|
|
|
|
|
|
</sect2>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
|
|
|
</sect1>
|
|
|
|
|