source: server/mail/exim.xml@ 86af98a

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 86af98a was 86af98a, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Updated trunk sources to use DocBook DTD XML 4.4

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3629 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 15.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//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://www.exim.org/ftp/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-md5sum "f8f646d4920660cb5579becd9265a3bf">
10<!ENTITY exim-size "1.4 MB">
11<!ENTITY exim-buildsize "14.9 MB">
12<!ENTITY exim-time "0.14 SBU">
13]>
14
15<sect1 id="exim" xreflabel="Exim-&exim-version;">
16<sect1info>
17<othername>$LastChangedBy$</othername>
18<date>$Date$</date>
19</sect1info>
20<?dbhtml filename="exim.html"?>
21<title><application>Exim</application>-&exim-version;</title>
22<indexterm zone="exim">
23<primary sortas="a-Exim">Exim</primary></indexterm>
24
25<sect2>
26<title>Introduction to <application>Exim</application></title>
27
28<para>The <application>Exim</application> package contains a Mail Transport
29Agent written by the University of Cambridge, released under the
30<acronym>GNU</acronym> Public License.</para>
31
32<sect3><title>Package information</title>
33<itemizedlist spacing='compact'>
34<listitem><para>Download (HTTP):
35<ulink url="&exim-download-http;"/></para></listitem>
36<listitem><para>Download (FTP):
37<ulink url="&exim-download-ftp;"/></para></listitem>
38<listitem><para>Download MD5 sum:
39&exim-md5sum;</para></listitem>
40<listitem><para>Download size:
41&exim-size;</para></listitem>
42<listitem><para>Estimated disk space required:
43&exim-buildsize;</para></listitem>
44<listitem><para>Estimated build time:
45&exim-time;</para></listitem></itemizedlist>
46</sect3>
47
48<sect3><title>Additional downloads</title>
49<itemizedlist spacing="compact">
50<listitem><para>Required patch for Berkeley DB: <ulink
51url="&patch-root;/exim-&exim-version;-db43-1.patch"/></para>
52</listitem></itemizedlist>
53</sect3>
54
55<sect3><title><application>Exim</application> dependencies</title>
56<sect4><title>Required</title>
57<para><xref linkend="db"/> or
58<xref linkend="gdbm"/> or
59<ulink url="http://sourceforge.net/projects/tdb">TDB</ulink></para>
60</sect4>
61
62<sect4><title>Optional</title>
63<para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
64<xref linkend="openldap"/>,
65<xref linkend="openssl"/> or
66<ulink url="http://www.gnu.org/software/gnutls/">GnuTLS</ulink>,
67<xref linkend="cyrus-sasl"/>,
68<xref linkend="mysql"/>,
69<xref linkend="postgresql"/>,
70<xref linkend="tcpwrappers"/> and
71<xref linkend="Linux_PAM"/></para>
72</sect4>
73</sect3>
74
75</sect2>
76
77<sect2>
78<title>Installation of <application>Exim</application></title>
79
80<para>Before building <application>Exim</application>, as the root user you
81should create the group and user exim which will run the
82<command>exim</command> daemon:</para>
83
84<screen><userinput><command>groupadd exim &amp;&amp;
85useradd -d /dev/null -c "Exim Daemon" -g exim -s /bin/false exim</command></userinput></screen>
86
87<para>If you have <application>Berkeley <acronym>DB</acronym></application>
88installed, apply the following patch:</para>
89
90<screen><userinput><command>patch -Np1 -i ../exim-&exim-version;-db43-1.patch</command></userinput></screen>
91
92<para>Install <application>Exim</application> with the following
93commands:</para>
94
95<screen><userinput><command>sed -e 's,^BIN_DIR.*$,BIN_DIRECTORY=/usr/sbin,' src/EDITME | \
96 sed -e 's,^CONF.*$,CONFIGURE_FILE=/etc/exim.conf,' | \
97 sed -e 's,^EXIM_USER.*$,EXIM_USER=exim,' | \
98 sed -e 's,^EXIM_MONITOR,#EXIM_MONITOR,' > Local/Makefile &amp;&amp;
99make</command></userinput></screen>
100
101<para>Now, as the root user:</para>
102
103<screen><userinput role='root'><command>make install &amp;&amp;
104install -v -m644 doc/exim.8 /usr/share/man/man8 &amp;&amp;
105install -v -d -m755 /usr/share/doc/exim-&exim-version; &amp;&amp;
106install -v -m644 doc/* /usr/share/doc/exim-&exim-version; &amp;&amp;
107ln -sv exim /usr/sbin/sendmail</command></userinput></screen>
108
109</sect2>
110
111<sect2>
112<title>Command explanations</title>
113
114<para><command>sed -e ... > Local/Makefile</command>: Most of
115<application>Exim</application>'s configuration options are compiled in using
116the directives in <filename>Local/Makefile</filename> which is created from
117the <filename>src/EDITME</filename> file. This command specifies the minimum
118set of options. Descriptions for the options are listed below.</para>
119
120<para><parameter>BIN_DIRECTORY=/usr/sbin</parameter>: This installs all of
121<application>Exim</application>'s binaries and scripts in
122<filename class='directory'>/usr/sbin</filename>.</para>
123
124<para><parameter>CONFIGURE_FILE=/etc/exim.conf</parameter>: This installs
125<application>Exim</application>'s main configuration file in
126<filename class='directory'>/etc</filename>.</para>
127
128<para><parameter>EXIM_USER=exim</parameter>: This tells
129<application>Exim</application> that after the daemon no longer needs root
130privileges, the process hands off the daemon to the exim user.</para>
131
132<para><parameter>#EXIM_MONITOR</parameter>: This defers building the
133<application>Exim</application> monitor program, as it requires
134<application>X</application> Window System support, by commenting out the
135<parameter>EXIM_MONITOR</parameter> line in the <filename>Makefile</filename>.
136If you wish to build the monitor program, omit this <command>sed</command>
137command and issue the following command before building the package (modify
138<filename>Local/eximon.conf</filename>, if necessary):
139<command>cp exim_monitor/EDITME Local/eximon.conf</command>.</para>
140
141<para><command>ln -s exim /usr/sbin/sendmail</command>: Creates a link to
142<command>sendmail</command> for applications which need it.
143<application>Exim</application> will accept most
144<application>Sendmail</application> command-line options.</para>
145
146</sect2>
147
148<sect2>
149<title>Adding additional functionality</title>
150
151<para>To utilize some or all of the dependency packages, you'll need to modify
152<filename>Local/Makefile</filename> to include the appropriate directives and
153parameters to link additional libraries before you build
154<application>Exim</application>. <filename>Local/Makefile</filename> is
155heavily commented with instructions on how to do this. Listed below is
156additional information to help you link these dependency packages.</para>
157
158<para>To use a backend database other than <application>Berkelely
159DB</application>, see the instructions at <ulink
160url="http://www.exim.org/exim-html-4.40/doc/html/spec_4.html#SECT4.3"/>.</para>
161
162<para>For <acronym>SSL</acronym> functionality, see the instructions at <ulink
163url="http://www.exim.org/exim-html-4.40/doc/html/spec_4.html#SECT4.6"/> and
164<ulink
165url="http://www.exim.org/exim-html-4.40/doc/html/spec_37.html#CHAP37"/>.</para>
166
167<para>For <application>tcpwrappers</application> functionality, see the
168instructions at <ulink
169url="http://www.exim.org/exim-html-4.40/doc/html/spec_4.html#SECT4.7"/>.</para>
170
171<para>For information about adding authentication mechanisms to the
172build, see the instructions at <ulink
173url="http://www.exim.org/exim-html-4.40/doc/html/spec_34.html#SECT34.4"/> For
174specific information about using <application>Cyrus-SASL</application>, see
175section 10 of the <filename>doc/NewStuff</filename> file located in the source
176tree.</para>
177
178<para>For information about linking <application>Linux-PAM</application>, see
179the instuctions at <ulink
180url="http://www.exim.org/exim-html-4.40/doc/html/spec_11.html#IX935"/>.</para>
181
182<para>For information about linking database engine libraries used for
183<application>Exim</application> name lookups, see the instuctions at <ulink
184url="http://www.exim.org/exim-html-4.40/doc/html/spec_9.html#CHAP9"/>.</para>
185
186<para>If you wish to add <application>Readline</application> support to
187<application>Exim</application> when invoked in <quote>test expansion</quote>
188(-bv) mode, see the information in section 8 of the
189<filename>doc/NewStuff</filename> file located in the source tree.</para>
190
191<para>You may wish to modify the default configuration and send log files to
192syslog instead of the default
193<filename class='directory'>/var/spool/exim/log</filename> directory. See the
194information at <ulink
195url="http://www.exim.org/exim-html-4.40/doc/html/spec_45.html#CHAP45"/>.</para>
196
197</sect2>
198
199<sect2>
200<title>Configuring Exim</title>
201
202<sect3 id="exim-config"><title>Config files</title>
203
204<para><filename>/etc/exim.conf</filename> and
205<filename>/etc/aliases</filename></para>
206<indexterm zone="exim exim-config">
207<primary sortas="e-etc-exim.conf">/etc/exim.conf</primary></indexterm>
208<indexterm zone="exim exim-config">
209<primary sortas="e-etc-aliases">/etc/aliases</primary></indexterm>
210
211</sect3>
212
213<sect3><title>Configuration Information</title>
214
215<para>A default (nothing but comments) <filename>/etc/aliases</filename> file
216is installed during the package installation if this file did not exist on
217your system. Create the necessary aliases and start the
218<application>Exim</application> daemon using the following commands:</para>
219
220<screen><userinput><command>cat &gt;&gt; /etc/aliases &lt;&lt; "EOF"</command>
221postmaster: root
222MAILER-DAEMON: root
223<command>EOF
224exim -v -bi &amp;&amp;
225/usr/sbin/exim -bd -q15m</command></userinput></screen>
226
227<note><para>To protect an existing <filename>/etc/aliases</filename> file,
228the command above appends these aliases to it. This file should be checked and
229duplicate aliases removed, if present.</para></note>
230
231<para>The <command>/usr/sbin/exim -bd -q15m</command> command starts the
232<application>Exim</application> daemon with a 15 minute interval in processing
233the mail queue. Adjust this parameter to suit your desires.</para>
234
235<para id="exim-init">To automate the running of <command>exim</command> at
236startup, install the <filename>/etc/rc.d/init.d/exim</filename> init script
237included in the <xref linkend="intro-important-bootscripts"/> package.</para>
238<indexterm zone="exim exim-init">
239<primary sortas="f-exim">exim</primary></indexterm>
240
241<screen><userinput><command>make install-exim</command></userinput></screen>
242
243<para>The bootscript also starts the <application>Exim</application> daemon
244and dispatches a queue runner process every 15 minutes. Modify the
245<parameter>-q<replaceable>[time interval]</replaceable></parameter> parameter
246in <filename>/etc/rc.d/init.d/exim</filename>, if necessary for your
247installation.</para>
248</sect3>
249
250</sect2>
251
252<sect2>
253<title>Contents</title>
254
255<segmentedlist>
256<segtitle>Installed Programs</segtitle>
257<segtitle>Installed Libraries</segtitle>
258<segtitle>Installed Directories</segtitle>
259
260<seglistitem>
261<seg>exicyclog, exigrep, exim, exim-4.43-2, exim_checkaccess, exim_dbmbuild,
262exim_dumpdb, exim_fixdb, exim_lock, exim_tidydb, eximstats, exinext, exipick,
263exiqgrep, exiqsumm, exiwhat and optionally, eximon and eximon.bin</seg>
264<seg>None</seg>
265<seg>/usr/share/doc/exim-&exim-version; and /var/spool/exim</seg>
266</seglistitem>
267</segmentedlist>
268
269<variablelist>
270<bridgehead renderas="sect3">Short Descriptions</bridgehead>
271<?dbfo list-presentation="list"?>
272
273<varlistentry id="exicyclog">
274<term><command>exicyclog</command></term>
275<listitem><para>cycles <application>Exim</application> log files.</para>
276<indexterm zone="exim exicyclog">
277<primary sortas="b-exicyclog">exicyclog</primary>
278</indexterm></listitem>
279</varlistentry>
280
281<varlistentry id="exigrep">
282<term><command>exigrep</command></term>
283<listitem><para>searches <application>Exim</application> log files.</para>
284<indexterm zone="exim exigrep">
285<primary sortas="b-exigrep">exigrep</primary>
286</indexterm></listitem>
287</varlistentry>
288
289<varlistentry id="exim-prog">
290<term><command>exim</command></term>
291<listitem><para>is a symlink to the <command>exim-4.43-2</command>
292<acronym>MTA</acronym> daemon.</para>
293<indexterm zone="exim exim-prog">
294<primary sortas="g-exim">exim</primary>
295</indexterm></listitem>
296</varlistentry>
297
298<varlistentry id="exim-4.43-2">
299<term><command>exim-4.43-2</command></term>
300<listitem><para>is the <application>Exim</application> mail transport
301agent daemon.</para>
302<indexterm zone="exim exim-4.43-2">
303<primary sortas="b-exim-4.43-2">exim-4.43-2</primary>
304</indexterm></listitem>
305</varlistentry>
306
307<varlistentry id="exim_checkaccess">
308<term><command>exim_checkaccess</command></term>
309<listitem><para>states whether a given recipient address from a given host is
310acceptable or not.</para>
311<indexterm zone="exim exim_checkaccess">
312<primary sortas="b-exim_checkaccess">exim_checkaccess</primary>
313</indexterm></listitem>
314</varlistentry>
315
316<varlistentry id="exim_dbmbuild">
317<term><command>exim_dbmbuild</command></term>
318<listitem><para> creates and rebuilds <application>Exim</application>
319databases.</para>
320<indexterm zone="exim exim_dbmbuild">
321<primary sortas="b-exim_dbmbuild">exim_dbmbuild</primary>
322</indexterm></listitem>
323</varlistentry>
324
325<varlistentry id="exim_dumpdb">
326<term><command>exim_dumpdb</command></term>
327<listitem><para> writes the contents of <application>Exim</application>
328databases to the standard output.</para>
329<indexterm zone="exim exim_dumpdb">
330<primary sortas="b-exim_dumpdb">exim_dumpdb</primary>
331</indexterm></listitem>
332</varlistentry>
333
334<varlistentry id="exim_fixdb">
335<term><command>exim_fixdb</command></term>
336<listitem><para>modifies data in <application>Exim</application>
337databases.</para>
338<indexterm zone="exim exim_fixdb">
339<primary sortas="b-exim_fixdb">exim_fixdb</primary>
340</indexterm></listitem>
341</varlistentry>
342
343<varlistentry id="exim_lock">
344<term><command>exim_lock</command></term>
345<listitem><para>locks a mailbox file.</para>
346<indexterm zone="exim exim_lock">
347<primary sortas="b-exim_lock">exim_lock</primary>
348</indexterm></listitem>
349</varlistentry>
350
351<varlistentry id="exim_tidydb">
352<term><command>exim_tidydb</command></term>
353<listitem><para>removes old records from <application>Exim</application>
354databases.</para>
355<indexterm zone="exim exim_tidydb">
356<primary sortas="b-exim_tidydb">exim_tidydb</primary>
357</indexterm></listitem>
358</varlistentry>
359
360<varlistentry id="eximstats">
361<term><command>eximstats</command></term>
362<listitem><para>generates mail statistics from <application>Exim</application>
363log files.</para>
364<indexterm zone="exim eximstats">
365<primary sortas="b-eximstats">eximstats</primary>
366</indexterm></listitem>
367</varlistentry>
368
369<varlistentry id="exinext">
370<term><command>exinext</command></term>
371<listitem><para>queries remote host retry times.</para>
372<indexterm zone="exim exinext">
373<primary sortas="b-exinext">exinext</primary>
374</indexterm></listitem>
375</varlistentry>
376
377<varlistentry id="exipick">
378<term><command>exipick</command></term>
379<listitem><para>selects messages based on various criteria.</para>
380<indexterm zone="exim exipick">
381<primary sortas="b-exipick">exipick</primary>
382</indexterm></listitem>
383</varlistentry>
384
385<varlistentry id="exiqgrep">
386<term><command>exiqgrep</command></term>
387<listitem><para>is a utility for selective queue listing.</para>
388<indexterm zone="exim exiqgrep">
389<primary sortas="b-exiqgrep">exiqgrep</primary>
390</indexterm></listitem>
391</varlistentry>
392
393<varlistentry id="exiqsumm">
394<term><command>exiqsumm</command></term>
395<listitem><para>produces a summary of the messages in the mail queue.</para>
396<indexterm zone="exim exiqsumm">
397<primary sortas="b-exiqsumm">exiqsumm</primary>
398</indexterm></listitem>
399</varlistentry>
400
401<varlistentry id="exiwhat">
402<term><command>exiwhat</command></term>
403<listitem><para>queries running <application>Exim</application>
404processes.</para>
405<indexterm zone="exim exiwhat">
406<primary sortas="b-exiwhat">exiwhat</primary>
407</indexterm></listitem>
408</varlistentry>
409
410<varlistentry id="eximon">
411<term><command>eximon</command></term>
412<listitem><para>is a start-up shell script for <command>eximon.bin</command>
413used to set the required environment variables before running the
414program.</para>
415<indexterm zone="exim eximon">
416<primary sortas="b-eximon">eximon</primary>
417</indexterm></listitem>
418</varlistentry>
419
420<varlistentry id="eximon.bin">
421<term><command>eximon.bin</command></term>
422<listitem><para>is a monitor program which displays current information in an
423<application>X</application> window, and also contains a menu interface to
424<application>Exim</application>'s command line administration options.</para>
425<indexterm zone="exim eximon.bin">
426<primary sortas="b-eximon.bin">eximon.bin</primary>
427</indexterm></listitem>
428</varlistentry>
429</variablelist>
430
431</sect2>
432
433</sect1>
434
Note: See TracBrowser for help on using the repository browser.