[0931098] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[0931098] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[c6459486] | 7 | <!ENTITY exim-download-http "https://ftp.exim.org/pub/exim/exim4/exim-&exim-version;.tar.xz">
|
---|
[d0b1879] | 8 |
|
---|
[b2c18590] | 9 | <!ENTITY exim-download-ftp "ftp://ftp.exim.org/pub/exim/exim4/exim-&exim-version;.tar.xz">
|
---|
[e77532af] | 10 | <!-- if above don't work, please use one of the official mirrors at
|
---|
| 11 | http://www.exim.org/mirmon/ftp_mirrors.html -->
|
---|
[cee7c1c] | 12 | <!ENTITY exim-md5sum "4d4bfd56e2e9f25ceab23f623ed2f84a">
|
---|
[03da2154] | 13 | <!ENTITY exim-size "1.8 MB">
|
---|
[cee7c1c] | 14 | <!ENTITY exim-buildsize "20 MB">
|
---|
[23a38e60] | 15 | <!ENTITY exim-time "0.2 SBU">
|
---|
[c6bfee88] | 16 |
|
---|
[cee7c1c] | 17 | <!ENTITY exim-daemon-version "&exim-version;-2">
|
---|
[0931098] | 18 | ]>
|
---|
| 19 |
|
---|
[547df0bc] | 20 | <sect1 id="exim" xreflabel="Exim-&exim-version;">
|
---|
[0bf9baf] | 21 | <?dbhtml filename="exim.html"?>
|
---|
| 22 |
|
---|
| 23 | <sect1info>
|
---|
| 24 | <othername>$LastChangedBy$</othername>
|
---|
| 25 | <date>$Date$</date>
|
---|
| 26 | </sect1info>
|
---|
| 27 |
|
---|
| 28 | <title>Exim-&exim-version;</title>
|
---|
| 29 |
|
---|
| 30 | <indexterm zone="exim">
|
---|
| 31 | <primary sortas="a-Exim">Exim</primary>
|
---|
| 32 | </indexterm>
|
---|
| 33 |
|
---|
| 34 | <sect2 role="package">
|
---|
| 35 | <title>Introduction to Exim</title>
|
---|
| 36 |
|
---|
[27b601a] | 37 | <para>
|
---|
| 38 | The <application>Exim</application> package contains a Mail
|
---|
| 39 | Transport Agent written by the University of Cambridge, released
|
---|
| 40 | under the GNU Public License.
|
---|
| 41 | </para>
|
---|
[0bf9baf] | 42 |
|
---|
[111ea71] | 43 | &lfs91_checked;
|
---|
[033904eb] | 44 |
|
---|
[0bf9baf] | 45 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 46 | <itemizedlist spacing="compact">
|
---|
| 47 | <listitem>
|
---|
[27b601a] | 48 | <para>
|
---|
| 49 | Download (HTTP): <ulink url="&exim-download-http;"/>
|
---|
| 50 | </para>
|
---|
[0bf9baf] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[27b601a] | 53 | <para>
|
---|
| 54 | Download (FTP): <ulink url="&exim-download-ftp;"/>
|
---|
| 55 | </para>
|
---|
[0bf9baf] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[27b601a] | 58 | <para>
|
---|
| 59 | Download MD5 sum: &exim-md5sum;
|
---|
| 60 | </para>
|
---|
[0bf9baf] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[27b601a] | 63 | <para>
|
---|
| 64 | Download size: &exim-size;
|
---|
| 65 | </para>
|
---|
[0bf9baf] | 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
[27b601a] | 68 | <para>
|
---|
| 69 | Estimated disk space required: &exim-buildsize;
|
---|
| 70 | </para>
|
---|
[0bf9baf] | 71 | </listitem>
|
---|
| 72 | <listitem>
|
---|
[27b601a] | 73 | <para>
|
---|
| 74 | Estimated build time: &exim-time;
|
---|
| 75 | </para>
|
---|
[0bf9baf] | 76 | </listitem>
|
---|
| 77 | </itemizedlist>
|
---|
| 78 |
|
---|
| 79 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 80 | <itemizedlist spacing="compact">
|
---|
[e695e4a0] | 81 | <listitem>
|
---|
[27b601a] | 82 | <para>
|
---|
| 83 | Additional formats of the documentation (text-based docs are
|
---|
| 84 | shipped with the sources) can be downloaded by following the links
|
---|
| 85 | shown at <ulink url="http://exim.org/docs.html"/>.
|
---|
| 86 | </para>
|
---|
[0bf9baf] | 87 | </listitem>
|
---|
| 88 | </itemizedlist>
|
---|
| 89 |
|
---|
| 90 | <bridgehead renderas="sect3">Exim Dependencies</bridgehead>
|
---|
| 91 |
|
---|
| 92 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[033904eb] | 93 | <para role="required">
|
---|
[2c13ebe] | 94 | <xref linkend="libnsl"/> and
|
---|
[54707d33] | 95 | <xref linkend="pcre"/>
|
---|
[033904eb] | 96 | </para>
|
---|
[27b601a] | 97 |
|
---|
[0bf9baf] | 98 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[033904eb] | 99 | <para role="optional">
|
---|
[c7d631c] | 100 | <ulink url="http://sourceforge.net/projects/tdb">TDB</ulink>
|
---|
[d2ea631] | 101 | (alternative to GDBM, built in LFS),
|
---|
[c7d631c] | 102 | <xref linkend="cyrus-sasl"/>,
|
---|
| 103 | <xref linkend="libidn"/>,
|
---|
| 104 | <xref linkend="linux-pam"/>,
|
---|
| 105 | <xref linkend="mariadb"/> or
|
---|
| 106 | <ulink url="http://www.mysql.com/">MySQL</ulink>,
|
---|
[033904eb] | 107 | <xref linkend="openldap"/>,
|
---|
[88499366] | 108 | <xref linkend="gnutls"/>,
|
---|
[033904eb] | 109 | <xref linkend="postgresql"/>,
|
---|
[54707d33] | 110 | <xref linkend="sqlite"/>,
|
---|
[88499366] | 111 | <xref linkend="x-window-system"/>,
|
---|
[cbb3299] | 112 | <ulink url="http://www.h5l.org/">Heimdal GSSAPI</ulink>, and
|
---|
[54707d33] | 113 | <ulink url="http://www.trusteddomain.org/opendmarc/">OpenDMARC</ulink>
|
---|
[033904eb] | 114 | </para>
|
---|
[0bf9baf] | 115 |
|
---|
[3cb0c57] | 116 | <para condition="html" role="usernotes">User Notes:
|
---|
| 117 | <ulink url="&blfs-wiki;/exim"/></para>
|
---|
| 118 |
|
---|
[0bf9baf] | 119 | </sect2>
|
---|
| 120 |
|
---|
| 121 | <sect2 role="installation">
|
---|
| 122 | <title>Installation of Exim</title>
|
---|
| 123 |
|
---|
[27b601a] | 124 | <para>
|
---|
| 125 | Before building <application>Exim</application>, as the
|
---|
| 126 | <systemitem class="username">root</systemitem> user you should create
|
---|
| 127 | the group and user <systemitem class="username">exim</systemitem> which
|
---|
| 128 | will run the <command>exim</command> daemon:
|
---|
| 129 | </para>
|
---|
[0bf9baf] | 130 |
|
---|
[b785ab29] | 131 | <screen role="root"><userinput>groupadd -g 31 exim &&
|
---|
| 132 | useradd -d /dev/null -c "Exim Daemon" -g exim -s /bin/false -u 31 exim</userinput></screen>
|
---|
[0bf9baf] | 133 |
|
---|
[27b601a] | 134 | <para>
|
---|
| 135 | Install <application>Exim</application> with the following commands:
|
---|
| 136 | </para>
|
---|
[0bf9baf] | 137 |
|
---|
[4801ff50] | 138 | <screen><userinput>sed -e 's,^BIN_DIR.*$,BIN_DIRECTORY=/usr/sbin,' \
|
---|
[cf3ca4b5] | 139 | -e 's,^CONF.*$,CONFIGURE_FILE=/etc/exim.conf,' \
|
---|
[88499366] | 140 | -e 's,^EXIM_USER.*$,EXIM_USER=exim,' \
|
---|
[03da2154] | 141 | -e '/# SUPPORT_TLS=yes/s,^#,,' \
|
---|
| 142 | -e '/# USE_OPENSSL/s,^#,,' \
|
---|
[cf3ca4b5] | 143 | -e 's,^EXIM_MONITOR,#EXIM_MONITOR,' src/EDITME > Local/Makefile &&
|
---|
[4801ff50] | 144 |
|
---|
[5c5081f] | 145 | printf "USE_GDBM = yes\nDBMLIB = -lgdbm\n" >> Local/Makefile &&
|
---|
[0bf9baf] | 146 | make</userinput></screen>
|
---|
[b77ebfad] | 147 |
|
---|
[27b601a] | 148 | <para>
|
---|
| 149 | This package does not come with a test suite.
|
---|
| 150 | </para>
|
---|
[e695e4a0] | 151 |
|
---|
[27b601a] | 152 | <para>
|
---|
| 153 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 154 | </para>
|
---|
[b77ebfad] | 155 |
|
---|
[54707d33] | 156 | <!-- dev note: make INSTALL_ARG=-no_chown DESTDIR=<DESTDIR> install -->
|
---|
| 157 |
|
---|
[4801ff50] | 158 | <screen role="root"><userinput>make install &&
|
---|
| 159 | install -v -m644 doc/exim.8 /usr/share/man/man8 &&
|
---|
| 160 |
|
---|
| 161 | install -v -d -m755 /usr/share/doc/exim-&exim-version; &&
|
---|
[ca120ee] | 162 | install -v -m644 doc/* /usr/share/doc/exim-&exim-version; &&
|
---|
[4801ff50] | 163 |
|
---|
| 164 | ln -sfv exim /usr/sbin/sendmail &&
|
---|
[0d60593] | 165 | install -v -d -m750 -o exim -g exim /var/spool/exim</userinput></screen>
|
---|
[0bf9baf] | 166 |
|
---|
| 167 | </sect2>
|
---|
| 168 |
|
---|
| 169 | <sect2 role="commands">
|
---|
| 170 | <title>Command Explanations</title>
|
---|
| 171 |
|
---|
[27b601a] | 172 | <para>
|
---|
| 173 | <command>sed -e ... > Local/Makefile</command>: Most of
|
---|
| 174 | <application>Exim</application>'s configuration options are defined
|
---|
| 175 | in <filename>Local/Makefile</filename>, which is created from
|
---|
| 176 | the <filename>src/EDITME</filename> file. This command specifies the
|
---|
| 177 | minimum set of options. Descriptions for the options are listed below.
|
---|
[88499366] | 178 | </para>
|
---|
| 179 |
|
---|
[27b601a] | 180 | <para>
|
---|
| 181 | <command>printf ... > Local/Makefile</command>: Setting those
|
---|
| 182 | variables allows to use GDBM instead of the default Berkeley DB. Remove
|
---|
| 183 | this command if you have installed <xref linkend="db"/>.
|
---|
| 184 | </para>
|
---|
| 185 |
|
---|
| 186 | <para>
|
---|
| 187 | <parameter>BIN_DIRECTORY=/usr/sbin</parameter>: This installs all of
|
---|
| 188 | <application>Exim</application>'s binaries and scripts in
|
---|
| 189 | <filename class='directory'>/usr/sbin</filename>.
|
---|
| 190 | </para>
|
---|
| 191 |
|
---|
| 192 | <para>
|
---|
| 193 | <parameter>CONFIGURE_FILE=/etc/exim.conf</parameter>: This installs
|
---|
| 194 | <application>Exim</application>'s main configuration file in
|
---|
| 195 | <filename class='directory'>/etc</filename>.
|
---|
| 196 | </para>
|
---|
| 197 |
|
---|
| 198 | <para>
|
---|
| 199 | <parameter>EXIM_USER=exim</parameter>: This tells
|
---|
| 200 | <application>Exim</application> that after the daemon no longer needs
|
---|
| 201 | <systemitem class="username">root</systemitem> privileges, the process
|
---|
| 202 | hands off the daemon to the <systemitem
|
---|
| 203 | class="username">exim</systemitem> user.
|
---|
| 204 | </para>
|
---|
| 205 |
|
---|
| 206 | <para>
|
---|
| 207 | <parameter>SUPPORT_TLS=yes</parameter>: This allows to support
|
---|
| 208 | STARTTLS connections. If you use this option, you need to select
|
---|
| 209 | whether <application>OpenSSL</application> or
|
---|
| 210 | <application>GnuTLS</application> is used (see
|
---|
| 211 | <filename>src/EDITME</filename>).
|
---|
| 212 | </para>
|
---|
| 213 |
|
---|
| 214 | <para>
|
---|
| 215 | <parameter>USE_OPENSSL_PC=openssl</parameter>: This tells the
|
---|
| 216 | build system to use <application>OpenSSL</application>, and to
|
---|
| 217 | find the needed libraries with <application>pkg-config</application>.
|
---|
| 218 | </para>
|
---|
| 219 |
|
---|
| 220 | <para>
|
---|
| 221 | <parameter>#EXIM_MONITOR</parameter>: This defers building the
|
---|
| 222 | <application>Exim</application> monitor program, as it requires
|
---|
| 223 | <application>X Window System</application> support, by commenting out the
|
---|
| 224 | <parameter>EXIM_MONITOR</parameter> line in the
|
---|
| 225 | <filename>Makefile</filename>. If you wish to build the monitor program,
|
---|
| 226 | omit this <command>sed</command> command and issue the following command
|
---|
| 227 | before building the package (modify
|
---|
| 228 | <filename>Local/eximon.conf</filename>, if necessary):
|
---|
| 229 | <command>cp exim_monitor/EDITME Local/eximon.conf</command>.
|
---|
| 230 | </para>
|
---|
| 231 |
|
---|
| 232 | <para>
|
---|
| 233 | <command>ln -sfv exim /usr/sbin/sendmail</command>: Creates a link to
|
---|
| 234 | <command>sendmail</command> for applications which need it.
|
---|
| 235 | <application>Exim</application> will accept most
|
---|
| 236 | <application>Sendmail</application> command-line options.
|
---|
| 237 | </para>
|
---|
| 238 |
|
---|
| 239 | <para>
|
---|
| 240 | <command>install -v -m750 -o exim -g exim /var/spool/exim</command>:
|
---|
| 241 | Since /var/spool is owned by root and this version of
|
---|
| 242 | <command>exim</command> drops
|
---|
| 243 | <systemitem class="username">root</systemitem> privileges early, to run
|
---|
| 244 | as user <systemitem class="username">exim</systemitem>, it cannot create
|
---|
| 245 | the <filename class="directory">/var/spool/exim</filename> directory. As
|
---|
| 246 | a work around, it is created manually.
|
---|
| 247 | </para>
|
---|
[2086c34e] | 248 |
|
---|
[0bf9baf] | 249 | </sect2>
|
---|
| 250 |
|
---|
| 251 | <sect2 role="commands">
|
---|
| 252 | <title>Adding Additional Functionality</title>
|
---|
| 253 |
|
---|
[27b601a] | 254 | <para>
|
---|
| 255 | To utilize some or all of the dependency packages, you'll need to
|
---|
| 256 | modify <filename>Local/Makefile</filename> to include the appropriate
|
---|
| 257 | directives and parameters to link additional libraries before you build
|
---|
| 258 | <application>Exim</application>. <filename>Local/Makefile</filename> is
|
---|
| 259 | heavily commented with instructions on how to do this. Listed below is
|
---|
| 260 | additional information to help you link these dependency packages or
|
---|
| 261 | add additional functionality.
|
---|
| 262 | </para>
|
---|
| 263 |
|
---|
| 264 | <para>
|
---|
| 265 | If you wish to build and install the
|
---|
| 266 | <filename class='extension'>.info</filename> documentation, refer to
|
---|
| 267 | <ulink url=
|
---|
| 268 | "http://exim.org/exim-html-&exim-version;/doc/html/spec_html/ch04.html#SECTinsinfdoc"/>.
|
---|
| 269 | </para>
|
---|
| 270 |
|
---|
| 271 | <para>
|
---|
| 272 | If you wish to build in Exim's interfaces for calling virus and spam
|
---|
| 273 | scanning software directly from access control lists, uncomment the
|
---|
| 274 | <option>WITH_CONTENT_SCAN=yes</option> parameter and review the
|
---|
| 275 | information found at <ulink url=
|
---|
| 276 | "http://exim.org/exim-html-&exim-version;/doc/html/spec_html/ch45.html"/>.
|
---|
| 277 | </para>
|
---|
| 278 |
|
---|
| 279 | <para>
|
---|
| 280 | To use a backend database other than <application>Berkeley
|
---|
| 281 | DB</application>, see the instructions at <ulink url=
|
---|
| 282 | "http://exim.org/exim-html-&exim-version;/doc/html/spec_html/ch04.html#SECTdb"/>.
|
---|
| 283 | </para>
|
---|
| 284 |
|
---|
| 285 | <para>
|
---|
| 286 | For SSL functionality, see the instructions at <ulink url=
|
---|
| 287 | "http://exim.org/exim-html-&exim-version;/doc/html/spec_html/ch04.html#SECTinctlsssl"/>
|
---|
| 288 | and <ulink url="
|
---|
| 289 | http://exim.org/exim-html-&exim-version;/doc/html/spec_html/ch42.html"/>.
|
---|
| 290 | </para>
|
---|
| 291 |
|
---|
| 292 | <para>
|
---|
| 293 | For <application>tcpwrappers</application> functionality, see the
|
---|
| 294 | instructions at <ulink url=
|
---|
| 295 | "http://exim.org/exim-html-&exim-version;/doc/html/spec_html/ch04.html#SECID27"/>.
|
---|
| 296 | </para>
|
---|
| 297 |
|
---|
| 298 | <para>
|
---|
| 299 | For information about adding authentication mechanisms to the
|
---|
| 300 | build, see chapters 33—41 of <ulink url=
|
---|
| 301 | "http://exim.org/exim-html-&exim-version;/doc/html/spec_html/index.html"/>.
|
---|
| 302 | </para>
|
---|
| 303 |
|
---|
| 304 | <para>
|
---|
| 305 | For information about linking <application>Linux-PAM</application>,
|
---|
| 306 | refer to the instructions <ulink url=
|
---|
| 307 | "http://exim.org/exim-html-&exim-version;/doc/html/spec_html/ch11.html#SECTexpcond"/>.
|
---|
| 308 | </para>
|
---|
| 309 |
|
---|
| 310 | <para>
|
---|
| 311 | For information about linking database engine libraries used for
|
---|
| 312 | <application>Exim</application> name lookups, see the instructions at
|
---|
| 313 | <ulink url=
|
---|
| 314 | "http://exim.org/exim-html-&exim-version;/doc/html/spec_html/ch09.html"/>.
|
---|
| 315 | </para>
|
---|
| 316 |
|
---|
| 317 | <para>
|
---|
| 318 | If you wish to add <application>Readline</application> support to
|
---|
| 319 | <application>Exim</application> when invoked in <quote>test
|
---|
| 320 | expansion</quote> (<option>-be</option>) mode, see the information in
|
---|
| 321 | the <option>-be</option> section of <ulink url=
|
---|
| 322 | "http://exim.org/exim-html-&exim-version;/doc/html/spec_html/ch05.html#id2525974"/>.
|
---|
| 323 | </para>
|
---|
| 324 |
|
---|
| 325 | <para>
|
---|
| 326 | You may wish to modify the default configuration and send log files to
|
---|
| 327 | syslog instead of the default
|
---|
| 328 | <filename class='directory'>/var/spool/exim/log</filename> directory. See
|
---|
| 329 | the information at <ulink url=
|
---|
| 330 | "http://exim.org/exim-html-&exim-version;/doc/html/spec_html/ch52.html"/>.
|
---|
| 331 | </para>
|
---|
| 332 |
|
---|
| 333 | <para>
|
---|
| 334 | A wealth of information can be also found at the <ulink url=
|
---|
| 335 | "https://github.com/Exim/exim/wiki">Exim Wiki</ulink>.
|
---|
| 336 | </para>
|
---|
[0bf9baf] | 337 |
|
---|
| 338 | </sect2>
|
---|
| 339 |
|
---|
| 340 | <sect2 role="configuration">
|
---|
| 341 | <title>Configuring Exim</title>
|
---|
| 342 |
|
---|
| 343 | <sect3 id="exim-config">
|
---|
| 344 | <title>Config Files</title>
|
---|
| 345 |
|
---|
[27b601a] | 346 | <para>
|
---|
| 347 | <filename>/etc/exim.conf</filename> and
|
---|
| 348 | <filename>/etc/aliases</filename>
|
---|
| 349 | </para>
|
---|
[0bf9baf] | 350 |
|
---|
| 351 | <indexterm zone="exim exim-config">
|
---|
| 352 | <primary sortas="e-etc-exim.conf">/etc/exim.conf</primary>
|
---|
| 353 | </indexterm>
|
---|
| 354 |
|
---|
| 355 | <indexterm zone="exim exim-config">
|
---|
| 356 | <primary sortas="e-etc-aliases">/etc/aliases</primary>
|
---|
| 357 | </indexterm>
|
---|
| 358 |
|
---|
| 359 | </sect3>
|
---|
| 360 |
|
---|
| 361 | <sect3>
|
---|
| 362 | <title>Configuration Information</title>
|
---|
| 363 |
|
---|
[3a49c0b] | 364 | <para>
|
---|
| 365 | Review the file <filename>/etc/exim.conf</filename>, and modify any
|
---|
| 366 | settings to suit your needs. Note that the default configuration
|
---|
| 367 | assumes that the <filename class="directory">/var/mail</filename>
|
---|
[af8a78d] | 368 | directory is world writable, but has the sticky bit set. If you want
|
---|
[3a49c0b] | 369 | to use the default configuration, issue as the <systemitem
|
---|
| 370 | class="username">root</systemitem> user:
|
---|
| 371 | </para>
|
---|
| 372 |
|
---|
| 373 | <screen role="root"><userinput>chmod -v a+wt /var/mail</userinput></screen>
|
---|
| 374 |
|
---|
| 375 | <para>
|
---|
| 376 | A default (nothing but comments) <filename>/etc/aliases</filename>
|
---|
| 377 | file is installed during the package installation if this file did not
|
---|
| 378 | exist on your system. Create the necessary aliases and start the
|
---|
| 379 | <application>Exim</application> daemon using the following commands:
|
---|
| 380 | </para>
|
---|
[0bf9baf] | 381 |
|
---|
| 382 | <screen role="root"><userinput>cat >> /etc/aliases << "EOF"
|
---|
| 383 | <literal>postmaster: root
|
---|
| 384 | MAILER-DAEMON: root</literal>
|
---|
| 385 | EOF
|
---|
| 386 | /usr/sbin/exim -bd -q15m</userinput></screen>
|
---|
| 387 |
|
---|
| 388 | <note>
|
---|
[27b601a] | 389 | <para>
|
---|
| 390 | To protect an existing <filename>/etc/aliases</filename> file,
|
---|
| 391 | the command above appends these aliases to it. This file should be
|
---|
| 392 | checked and duplicate aliases removed, if present.
|
---|
| 393 | </para>
|
---|
[0bf9baf] | 394 | </note>
|
---|
| 395 |
|
---|
[27b601a] | 396 | <para>
|
---|
| 397 | The <command>/usr/sbin/exim -bd -q15m</command> command starts
|
---|
| 398 | the <application>Exim</application> daemon with a 15 minute interval
|
---|
| 399 | in processing the mail queue. Adjust this parameter to suit your
|
---|
| 400 | desires.
|
---|
| 401 | </para>
|
---|
[0bf9baf] | 402 |
|
---|
| 403 | </sect3>
|
---|
| 404 |
|
---|
| 405 | <sect3 id="exim-init">
|
---|
[1258125] | 406 | <title><phrase revision="sysv">Boot Script</phrase>
|
---|
| 407 | <phrase revision="systemd">Systemd Unit</phrase></title>
|
---|
| 408 |
|
---|
[27b601a] | 409 | <para>
|
---|
| 410 | To automatically start <command>exim</command> at boot, install the
|
---|
| 411 | <phrase revision="sysv"><filename>/etc/rc.d/init.d/exim</filename>
|
---|
| 412 | init script</phrase>
|
---|
| 413 | <phrase revision="systemd"><filename>exim.service</filename>
|
---|
| 414 | unit</phrase>
|
---|
| 415 | included in the <xref linkend="bootscripts" revision="sysv"/>
|
---|
[4472e923] | 416 | <xref linkend="systemd-units" revision="systemd"/> package:
|
---|
[27b601a] | 417 | </para>
|
---|
[0bf9baf] | 418 |
|
---|
| 419 | <indexterm zone="exim exim-init">
|
---|
| 420 | <primary sortas="f-exim">exim</primary>
|
---|
| 421 | </indexterm>
|
---|
| 422 |
|
---|
| 423 | <screen role="root"><userinput>make install-exim</userinput></screen>
|
---|
| 424 |
|
---|
[27b601a] | 425 | <para revision="sysv">
|
---|
| 426 | The bootscript also starts the <application>Exim</application> daemon
|
---|
| 427 | and dispatches a queue runner process every 15 minutes. Modify the
|
---|
| 428 | <option>-q<replaceable><time interval></replaceable></option>
|
---|
| 429 | parameter in <filename>/etc/rc.d/init.d/exim</filename>, if necessary
|
---|
| 430 | for your installation.
|
---|
| 431 | </para>
|
---|
[0bf9baf] | 432 |
|
---|
| 433 | </sect3>
|
---|
| 434 |
|
---|
| 435 | </sect2>
|
---|
| 436 |
|
---|
| 437 | <sect2 role="content">
|
---|
| 438 | <title>Contents</title>
|
---|
| 439 |
|
---|
| 440 | <segmentedlist>
|
---|
| 441 | <segtitle>Installed Programs</segtitle>
|
---|
| 442 | <segtitle>Installed Libraries</segtitle>
|
---|
| 443 | <segtitle>Installed Directories</segtitle>
|
---|
| 444 |
|
---|
| 445 | <seglistitem>
|
---|
[c6bfee88] | 446 | <seg>exicyclog, exigrep, exim, exim-&exim-daemon-version;, exim_checkaccess,
|
---|
[80454f5] | 447 | exim_dbmbuild, exim_dumpdb, exim_fixdb, exim_lock, exim_tidydb,
|
---|
| 448 | eximstats, exinext, exipick, exiqgrep, exiqsumm, exiwhat, and
|
---|
| 449 | optionally, eximon, eximon.bin, and sendmail (symlink)</seg>
|
---|
[0bf9baf] | 450 | <seg>None</seg>
|
---|
| 451 | <seg>/usr/share/doc/exim-&exim-version; and /var/spool/exim</seg>
|
---|
| 452 | </seglistitem>
|
---|
| 453 | </segmentedlist>
|
---|
| 454 |
|
---|
| 455 | <variablelist>
|
---|
| 456 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 457 | <?dbfo list-presentation="list"?>
|
---|
| 458 | <?dbhtml list-presentation="table"?>
|
---|
| 459 |
|
---|
| 460 | <varlistentry id="exicyclog">
|
---|
| 461 | <term><command>exicyclog</command></term>
|
---|
| 462 | <listitem>
|
---|
[27b601a] | 463 | <para>
|
---|
| 464 | cycles <application>Exim</application> log files.
|
---|
| 465 | </para>
|
---|
[0bf9baf] | 466 | <indexterm zone="exim exicyclog">
|
---|
| 467 | <primary sortas="b-exicyclog">exicyclog</primary>
|
---|
| 468 | </indexterm>
|
---|
| 469 | </listitem>
|
---|
| 470 | </varlistentry>
|
---|
| 471 |
|
---|
| 472 | <varlistentry id="exigrep">
|
---|
| 473 | <term><command>exigrep</command></term>
|
---|
| 474 | <listitem>
|
---|
[27b601a] | 475 | <para>
|
---|
| 476 | searches <application>Exim</application> log files.
|
---|
| 477 | </para>
|
---|
[0bf9baf] | 478 | <indexterm zone="exim exigrep">
|
---|
| 479 | <primary sortas="b-exigrep">exigrep</primary>
|
---|
| 480 | </indexterm>
|
---|
| 481 | </listitem>
|
---|
| 482 | </varlistentry>
|
---|
| 483 |
|
---|
| 484 | <varlistentry id="exim-prog">
|
---|
| 485 | <term><command>exim</command></term>
|
---|
| 486 | <listitem>
|
---|
[27b601a] | 487 | <para>
|
---|
| 488 | is a symlink to the <command>exim-&exim-daemon-version;</command>
|
---|
| 489 | MTA daemon.
|
---|
| 490 | </para>
|
---|
[0bf9baf] | 491 | <indexterm zone="exim exim-prog">
|
---|
[b960e3ec] | 492 | <primary sortas="b-exim">exim</primary>
|
---|
[0bf9baf] | 493 | </indexterm>
|
---|
| 494 | </listitem>
|
---|
| 495 | </varlistentry>
|
---|
| 496 |
|
---|
[3d8851e] | 497 | <varlistentry id="exim-current_version">
|
---|
[c6bfee88] | 498 | <term><command>exim-&exim-daemon-version;</command></term>
|
---|
[0bf9baf] | 499 | <listitem>
|
---|
[27b601a] | 500 | <para>
|
---|
| 501 | is the <application>Exim</application> mail transport agent daemon.
|
---|
| 502 | </para>
|
---|
[3d8851e] | 503 | <indexterm zone="exim exim-current_version">
|
---|
[c6bfee88] | 504 | <primary sortas="b-exim-&exim-daemon-version;">exim-&exim-daemon-version;</primary>
|
---|
[0bf9baf] | 505 | </indexterm>
|
---|
| 506 | </listitem>
|
---|
| 507 | </varlistentry>
|
---|
| 508 |
|
---|
| 509 | <varlistentry id="exim_checkaccess">
|
---|
| 510 | <term><command>exim_checkaccess</command></term>
|
---|
| 511 | <listitem>
|
---|
[27b601a] | 512 | <para>
|
---|
| 513 | states whether a given recipient address from a given host is
|
---|
| 514 | acceptable or not.
|
---|
| 515 | </para>
|
---|
[0bf9baf] | 516 | <indexterm zone="exim exim_checkaccess">
|
---|
| 517 | <primary sortas="b-exim_checkaccess">exim_checkaccess</primary>
|
---|
| 518 | </indexterm>
|
---|
| 519 | </listitem>
|
---|
| 520 | </varlistentry>
|
---|
| 521 |
|
---|
| 522 | <varlistentry id="exim_dbmbuild">
|
---|
| 523 | <term><command>exim_dbmbuild</command></term>
|
---|
| 524 | <listitem>
|
---|
[27b601a] | 525 | <para>
|
---|
| 526 | creates and rebuilds <application>Exim</application> databases.
|
---|
| 527 | </para>
|
---|
[0bf9baf] | 528 | <indexterm zone="exim exim_dbmbuild">
|
---|
| 529 | <primary sortas="b-exim_dbmbuild">exim_dbmbuild</primary>
|
---|
| 530 | </indexterm>
|
---|
| 531 | </listitem>
|
---|
| 532 | </varlistentry>
|
---|
| 533 |
|
---|
| 534 | <varlistentry id="exim_dumpdb">
|
---|
| 535 | <term><command>exim_dumpdb</command></term>
|
---|
| 536 | <listitem>
|
---|
[27b601a] | 537 | <para>
|
---|
| 538 | writes the contents of <application>Exim</application>
|
---|
| 539 | databases to the standard output.
|
---|
| 540 | </para>
|
---|
[0bf9baf] | 541 | <indexterm zone="exim exim_dumpdb">
|
---|
| 542 | <primary sortas="b-exim_dumpdb">exim_dumpdb</primary>
|
---|
| 543 | </indexterm>
|
---|
| 544 | </listitem>
|
---|
| 545 | </varlistentry>
|
---|
| 546 |
|
---|
| 547 | <varlistentry id="exim_fixdb">
|
---|
| 548 | <term><command>exim_fixdb</command></term>
|
---|
| 549 | <listitem>
|
---|
[27b601a] | 550 | <para>
|
---|
| 551 | modifies data in <application>Exim</application> databases.
|
---|
| 552 | </para>
|
---|
[0bf9baf] | 553 | <indexterm zone="exim exim_fixdb">
|
---|
| 554 | <primary sortas="b-exim_fixdb">exim_fixdb</primary>
|
---|
| 555 | </indexterm>
|
---|
| 556 | </listitem>
|
---|
| 557 | </varlistentry>
|
---|
| 558 |
|
---|
| 559 | <varlistentry id="exim_lock">
|
---|
| 560 | <term><command>exim_lock</command></term>
|
---|
| 561 | <listitem>
|
---|
[27b601a] | 562 | <para>
|
---|
| 563 | locks a mailbox file.
|
---|
| 564 | </para>
|
---|
[0bf9baf] | 565 | <indexterm zone="exim exim_lock">
|
---|
| 566 | <primary sortas="b-exim_lock">exim_lock</primary>
|
---|
| 567 | </indexterm>
|
---|
| 568 | </listitem>
|
---|
| 569 | </varlistentry>
|
---|
| 570 |
|
---|
| 571 | <varlistentry id="exim_tidydb">
|
---|
| 572 | <term><command>exim_tidydb</command></term>
|
---|
| 573 | <listitem>
|
---|
[27b601a] | 574 | <para>
|
---|
| 575 | removes old records from <application>Exim</application>
|
---|
| 576 | databases.
|
---|
| 577 | </para>
|
---|
[0bf9baf] | 578 | <indexterm zone="exim exim_tidydb">
|
---|
| 579 | <primary sortas="b-exim_tidydb">exim_tidydb</primary>
|
---|
| 580 | </indexterm>
|
---|
| 581 | </listitem>
|
---|
| 582 | </varlistentry>
|
---|
| 583 |
|
---|
| 584 | <varlistentry id="eximstats">
|
---|
| 585 | <term><command>eximstats</command></term>
|
---|
| 586 | <listitem>
|
---|
[27b601a] | 587 | <para>
|
---|
| 588 | generates mail statistics from <application>Exim</application>
|
---|
| 589 | log files.
|
---|
| 590 | </para>
|
---|
[0bf9baf] | 591 | <indexterm zone="exim eximstats">
|
---|
| 592 | <primary sortas="b-eximstats">eximstats</primary>
|
---|
| 593 | </indexterm>
|
---|
| 594 | </listitem>
|
---|
| 595 | </varlistentry>
|
---|
| 596 |
|
---|
| 597 | <varlistentry id="exinext">
|
---|
| 598 | <term><command>exinext</command></term>
|
---|
| 599 | <listitem>
|
---|
[27b601a] | 600 | <para>
|
---|
| 601 | queries remote host retry times.
|
---|
| 602 | </para>
|
---|
[0bf9baf] | 603 | <indexterm zone="exim exinext">
|
---|
| 604 | <primary sortas="b-exinext">exinext</primary>
|
---|
| 605 | </indexterm>
|
---|
| 606 | </listitem>
|
---|
| 607 | </varlistentry>
|
---|
| 608 |
|
---|
| 609 | <varlistentry id="exipick">
|
---|
| 610 | <term><command>exipick</command></term>
|
---|
| 611 | <listitem>
|
---|
[27b601a] | 612 | <para>
|
---|
| 613 | selects messages based on various criteria.
|
---|
| 614 | </para>
|
---|
[0bf9baf] | 615 | <indexterm zone="exim exipick">
|
---|
| 616 | <primary sortas="b-exipick">exipick</primary>
|
---|
| 617 | </indexterm>
|
---|
| 618 | </listitem>
|
---|
| 619 | </varlistentry>
|
---|
| 620 |
|
---|
| 621 | <varlistentry id="exiqgrep">
|
---|
| 622 | <term><command>exiqgrep</command></term>
|
---|
| 623 | <listitem>
|
---|
[27b601a] | 624 | <para>
|
---|
| 625 | is a utility for selective queue listing.
|
---|
| 626 | </para>
|
---|
[0bf9baf] | 627 | <indexterm zone="exim exiqgrep">
|
---|
| 628 | <primary sortas="b-exiqgrep">exiqgrep</primary>
|
---|
| 629 | </indexterm>
|
---|
| 630 | </listitem>
|
---|
| 631 | </varlistentry>
|
---|
| 632 |
|
---|
| 633 | <varlistentry id="exiqsumm">
|
---|
| 634 | <term><command>exiqsumm</command></term>
|
---|
| 635 | <listitem>
|
---|
[27b601a] | 636 | <para>
|
---|
| 637 | produces a summary of the messages in the mail queue.
|
---|
| 638 | </para>
|
---|
[0bf9baf] | 639 | <indexterm zone="exim exiqsumm">
|
---|
| 640 | <primary sortas="b-exiqsumm">exiqsumm</primary>
|
---|
| 641 | </indexterm>
|
---|
| 642 | </listitem>
|
---|
| 643 | </varlistentry>
|
---|
| 644 |
|
---|
| 645 | <varlistentry id="exiwhat">
|
---|
| 646 | <term><command>exiwhat</command></term>
|
---|
| 647 | <listitem>
|
---|
[27b601a] | 648 | <para>
|
---|
| 649 | queries running <application>Exim</application>
|
---|
| 650 | processes.
|
---|
| 651 | </para>
|
---|
[0bf9baf] | 652 | <indexterm zone="exim exiwhat">
|
---|
| 653 | <primary sortas="b-exiwhat">exiwhat</primary>
|
---|
| 654 | </indexterm>
|
---|
| 655 | </listitem>
|
---|
| 656 | </varlistentry>
|
---|
| 657 |
|
---|
| 658 | <varlistentry id="eximon">
|
---|
| 659 | <term><command>eximon</command></term>
|
---|
| 660 | <listitem>
|
---|
[27b601a] | 661 | <para>
|
---|
| 662 | is a start-up shell script for <command>eximon.bin</command>
|
---|
| 663 | used to set the required environment variables before running the
|
---|
| 664 | program.
|
---|
| 665 | </para>
|
---|
[0bf9baf] | 666 | <indexterm zone="exim eximon">
|
---|
| 667 | <primary sortas="b-eximon">eximon</primary>
|
---|
| 668 | </indexterm>
|
---|
| 669 | </listitem>
|
---|
| 670 | </varlistentry>
|
---|
| 671 |
|
---|
| 672 | <varlistentry id="eximon.bin">
|
---|
| 673 | <term><command>eximon.bin</command></term>
|
---|
| 674 | <listitem>
|
---|
[27b601a] | 675 | <para>
|
---|
| 676 | is a monitor program which displays current information in an
|
---|
| 677 | <application>X</application> window, and also contains a menu
|
---|
| 678 | interface to <application>Exim</application>'s command line
|
---|
| 679 | administration options.
|
---|
| 680 | </para>
|
---|
[0bf9baf] | 681 | <indexterm zone="exim eximon.bin">
|
---|
| 682 | <primary sortas="b-eximon.bin">eximon.bin</primary>
|
---|
| 683 | </indexterm>
|
---|
| 684 | </listitem>
|
---|
| 685 | </varlistentry>
|
---|
| 686 |
|
---|
| 687 | </variablelist>
|
---|
| 688 |
|
---|
| 689 | </sect2>
|
---|
[f45b1953] | 690 |
|
---|
| 691 | </sect1>
|
---|