[0931098] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY exim-download-http "http://gd.tuwien.ac.at/infosys/mail/exim/exim4/exim-&exim-version;.tar.bz2">
|
---|
| 8 | <!ENTITY exim-download-ftp "ftp://ftp.exim.org/pub/exim/exim4/exim-&exim-version;.tar.bz2">
|
---|
| 9 | <!ENTITY exim-size "1.2 MB">
|
---|
| 10 | <!ENTITY exim-buildsize "11 MB">
|
---|
| 11 | <!ENTITY exim-time "0.27 SBU">
|
---|
| 12 | ]>
|
---|
| 13 |
|
---|
[547df0bc] | 14 | <sect1 id="exim" xreflabel="Exim-&exim-version;">
|
---|
[a0f03b0] | 15 | <sect1info>
|
---|
[5cd0959d] | 16 | <othername>$LastChangedBy$</othername>
|
---|
| 17 | <date>$Date$</date>
|
---|
[a0f03b0] | 18 | </sect1info>
|
---|
[00bb024c] | 19 | <?dbhtml filename="exim.html"?>
|
---|
[1586494] | 20 | <title><application>Exim</application>-&exim-version;</title>
|
---|
[f45b1953] | 21 |
|
---|
[0931098] | 22 | <sect2>
|
---|
| 23 | <title>Introduction to <application>Exim</application></title>
|
---|
| 24 |
|
---|
[1586494] | 25 | <para>The <application>Exim</application> package contains a Mail Transport
|
---|
| 26 | Agent written by the University of Cambridge, released under the
|
---|
| 27 | <acronym>GNU</acronym> Public License.</para>
|
---|
[0931098] | 28 |
|
---|
| 29 | <sect3><title>Package information</title>
|
---|
| 30 | <itemizedlist spacing='compact'>
|
---|
[1586494] | 31 | <listitem><para>Download (HTTP):
|
---|
| 32 | <ulink url="&exim-download-http;"/></para></listitem>
|
---|
| 33 | <listitem><para>Download (FTP):
|
---|
| 34 | <ulink url="&exim-download-ftp;"/></para></listitem>
|
---|
| 35 | <listitem><para>Download size:
|
---|
| 36 | &exim-size;</para></listitem>
|
---|
| 37 | <listitem><para>Estimated disk space required:
|
---|
| 38 | &exim-buildsize;</para></listitem>
|
---|
| 39 | <listitem><para>Estimated build time:
|
---|
| 40 | &exim-time;</para></listitem></itemizedlist>
|
---|
[0931098] | 41 | </sect3>
|
---|
| 42 |
|
---|
| 43 | <sect3><title><application>Exim</application> dependencies</title>
|
---|
| 44 | <sect4><title>Required</title>
|
---|
[1586494] | 45 | <para><xref linkend="db"/></para>
|
---|
| 46 | </sect4>
|
---|
| 47 |
|
---|
[0931098] | 48 | <sect4><title>Optional</title>
|
---|
[1586494] | 49 | <para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
|
---|
[0931098] | 50 | <xref linkend="openldap"/>,
|
---|
| 51 | <xref linkend="mysql"/>,
|
---|
| 52 | <xref linkend="tcpwrappers"/> and
|
---|
[1586494] | 53 | <xref linkend="Linux_PAM"/></para>
|
---|
| 54 | </sect4>
|
---|
[0931098] | 55 | </sect3>
|
---|
| 56 |
|
---|
| 57 | </sect2>
|
---|
| 58 |
|
---|
| 59 | <sect2>
|
---|
| 60 | <title>Installation of <application>Exim</application></title>
|
---|
| 61 |
|
---|
[1586494] | 62 | <para>Before building <application>Exim</application>, you should
|
---|
[0931098] | 63 | create the group and user exim which will run the exim daemon:</para>
|
---|
| 64 |
|
---|
| 65 | <screen><userinput><command>groupadd exim &&
|
---|
[1586494] | 66 | useradd -d /dev/null -c "Exim Daemon" -g exim -s /bin/false exim</command></userinput></screen>
|
---|
[0931098] | 67 |
|
---|
[1586494] | 68 | <para>Install <application>Exim</application> with the following
|
---|
| 69 | commands:</para>
|
---|
[0931098] | 70 |
|
---|
[1586494] | 71 | <screen><userinput><command>sed -e 's,^BIN_DIR.*$,BIN_DIRECTORY=/usr/sbin,' src/EDITME | \
|
---|
| 72 | sed -e 's,^CONF.*$,CONFIGURE_FILE=/etc/exim.conf,' | \
|
---|
| 73 | sed -e 's,^EXIM_USER.*$,EXIM_USER=exim,' | \
|
---|
| 74 | sed -e 's,^EXIM_MONITOR,#EXIM_MONITOR,' > Local/Makefile &&
|
---|
[0931098] | 75 | make &&
|
---|
| 76 | make install &&
|
---|
| 77 | cp doc/exim.8 /usr/share/man/man8 &&
|
---|
| 78 | ln -s exim-4.24-1 /usr/sbin/exim &&
|
---|
| 79 | ln -s exim /usr/sbin/sendmail</command></userinput></screen>
|
---|
| 80 |
|
---|
| 81 | </sect2>
|
---|
| 82 |
|
---|
| 83 | <sect2>
|
---|
| 84 | <title>Command explanations</title>
|
---|
| 85 |
|
---|
[1586494] | 86 | <para><command>sed -e ... > Local/Makefile</command>: Many of
|
---|
| 87 | <application>Exim</application>'s configuration options are compiled in.
|
---|
| 88 | This command specifies the minimum set of options,
|
---|
| 89 | <parameter>BIN_DIRECTORY</parameter>, <parameter>CONFIGURE_FILE</parameter>
|
---|
| 90 | and <parameter>EXIM_USER</parameter>. Additionally, building the
|
---|
| 91 | <application>Exim</application> monitor program is deferred, as it
|
---|
| 92 | requires <application>X</application> Window System support, by commenting
|
---|
| 93 | out the <parameter>EXIM_MONITOR</parameter> line in the
|
---|
| 94 | <filename>Makefile</filename>.</para>
|
---|
[0931098] | 95 |
|
---|
| 96 | <para><command>ln -s exim /usr/sbin/sendmail</command>:
|
---|
[1586494] | 97 | Creates a link to <command>sendmail</command> for applications which need
|
---|
[0931098] | 98 | it. <application>Exim</application> will
|
---|
| 99 | accept most <application>Sendmail</application> command-line options.</para>
|
---|
| 100 |
|
---|
| 101 | </sect2>
|
---|
| 102 |
|
---|
| 103 | <sect2>
|
---|
| 104 | <title>Configuring Exim</title>
|
---|
| 105 |
|
---|
| 106 | <sect3><title>Config files</title>
|
---|
| 107 |
|
---|
[1586494] | 108 | <para><filename>/etc/exim.conf</filename> and
|
---|
| 109 | <filename>/etc/aliases</filename></para>
|
---|
[0931098] | 110 |
|
---|
| 111 | </sect3>
|
---|
| 112 |
|
---|
| 113 | <sect3><title>Configuration Information</title>
|
---|
| 114 |
|
---|
[1586494] | 115 | <para>Create the Exim configuration files with the following commands:</para>
|
---|
[0931098] | 116 |
|
---|
| 117 | <screen><userinput><command>cat >> /etc/aliases << "EOF"</command>
|
---|
| 118 | postmaster: root
|
---|
| 119 | MAILER-DAEMON: root
|
---|
| 120 | <command>EOF
|
---|
| 121 | exim -v -bi &&
|
---|
| 122 | /usr/sbin/exim -bd -q1m</command></userinput></screen>
|
---|
| 123 |
|
---|
[1586494] | 124 | <note><para>To protect an existing <filename>/etc/aliases</filename> file,
|
---|
| 125 | append these aliases to it if it exists. This file should be checked and
|
---|
| 126 | duplicate aliases removed, if present.</para></note>
|
---|
[0931098] | 127 |
|
---|
[1586494] | 128 | <para>To automate the running of <command>exim</command> at startup, install
|
---|
| 129 | the <filename>/etc/rc.d/init.d/exim</filename> init script included in the
|
---|
| 130 | <xref linkend="intro-important-bootscripts"/> package.</para>
|
---|
[0931098] | 131 |
|
---|
| 132 | <screen><userinput><command>make install-exim</command></userinput></screen>
|
---|
| 133 |
|
---|
| 134 | </sect3>
|
---|
| 135 |
|
---|
| 136 | </sect2>
|
---|
| 137 |
|
---|
| 138 | <sect2>
|
---|
| 139 | <title>Contents</title>
|
---|
| 140 |
|
---|
| 141 | <para>The <application>Exim</application> package contains
|
---|
| 142 | <command>exim</command>,
|
---|
| 143 | <command>exim_dumpdb</command>,
|
---|
| 144 | <command>exim_fixdb</command>,
|
---|
| 145 | <command>exim_tidydb</command>,
|
---|
| 146 | <command>exinext</command>,
|
---|
| 147 | <command>exiwhat</command>,
|
---|
| 148 | <command>exim_dbmbuild</command>,
|
---|
| 149 | <command>exicyclog</command>,
|
---|
| 150 | <command>exigrep</command>,
|
---|
| 151 | <command>eximstats</command>,
|
---|
| 152 | <command>exiqsumm</command>,
|
---|
| 153 | <command>exiqgrep</command>,
|
---|
| 154 | <command>exim_lock</command> and
|
---|
[1586494] | 155 | <command>exim_checkaccess</command>.</para>
|
---|
[0931098] | 156 |
|
---|
| 157 | </sect2>
|
---|
| 158 |
|
---|
| 159 | <sect2><title>Description</title>
|
---|
| 160 | <sect3><title>exim</title>
|
---|
| 161 | <para><command>exim</command> is the Mail Transport Agent daemon.</para></sect3>
|
---|
| 162 |
|
---|
| 163 | <sect3><title>exim_dumpdb</title>
|
---|
[1586494] | 164 | <para><command>exim_dumpdb</command> writes the contents of
|
---|
| 165 | <application>Exim</application> databases to the standard output.</para></sect3>
|
---|
[0931098] | 166 |
|
---|
| 167 | <sect3><title>exim_fixdb</title>
|
---|
[1586494] | 168 | <para><command>exim_fixdb</command> modifies data in
|
---|
| 169 | <application>Exim</application> databases.</para></sect3>
|
---|
[0931098] | 170 |
|
---|
| 171 | <sect3><title>exim_tidydb</title>
|
---|
[1586494] | 172 | <para><command>exim_tidydb</command> removes old records from
|
---|
| 173 | <application>Exim</application> databases.</para></sect3>
|
---|
[0931098] | 174 |
|
---|
| 175 | <sect3><title>exinext</title>
|
---|
| 176 | <para><command>exinext</command> queries remote host retry times.</para></sect3>
|
---|
| 177 |
|
---|
| 178 | <sect3><title>exiwhat</title>
|
---|
[1586494] | 179 | <para><command>exiwhat</command> queries running
|
---|
| 180 | <application>Exim</application> processes.</para></sect3>
|
---|
[0931098] | 181 |
|
---|
| 182 | <sect3><title>exim_dbmbuild</title>
|
---|
[1586494] | 183 | <para><command>exim_dbmbuild</command> creates and rebuilds
|
---|
| 184 | <application>Exim</application> databases.</para></sect3>
|
---|
[0931098] | 185 |
|
---|
| 186 | <sect3><title>exicyclog</title>
|
---|
[1586494] | 187 | <para><command>exicyclog</command> cycles
|
---|
| 188 | <application>Exim</application> log files.</para></sect3>
|
---|
[0931098] | 189 |
|
---|
| 190 | <sect3><title>exigrep</title>
|
---|
[1586494] | 191 | <para><command>exigrep</command> searches
|
---|
| 192 | <application>Exim</application> log files.</para></sect3>
|
---|
[0931098] | 193 |
|
---|
| 194 | <sect3><title>eximstats</title>
|
---|
[1586494] | 195 | <para><command>eximstats</command> generates mail statistics from
|
---|
| 196 | <application>Exim</application> log files.</para></sect3>
|
---|
[0931098] | 197 |
|
---|
| 198 | <sect3><title>exiqsumm</title>
|
---|
[1586494] | 199 | <para><command>exiqsumm</command> produces a summary of the messages in the
|
---|
| 200 | mail queue.</para></sect3>
|
---|
[0931098] | 201 |
|
---|
| 202 | <sect3><title>exiqgrep</title>
|
---|
| 203 | <para><command>exiqgrep</command> is an utility for selective queue
|
---|
| 204 | listing.</para></sect3>
|
---|
| 205 |
|
---|
| 206 | <sect3><title>exim_lock</title>
|
---|
| 207 | <para><command>exim_lock</command> locks a mailbox file.</para></sect3>
|
---|
| 208 |
|
---|
| 209 | <sect3><title>exim_checkaccess</title>
|
---|
[1586494] | 210 | <para><command>exim_checkaccess</command> states whether a given recipient
|
---|
| 211 | address from a given host is acceptable or not.</para></sect3>
|
---|
[0931098] | 212 |
|
---|
| 213 | </sect2>
|
---|
[f45b1953] | 214 |
|
---|
| 215 | </sect1>
|
---|
| 216 |
|
---|