source: server/mail/exim.xml@ 11a83b18

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 11a83b18 was 11a83b18, checked in by Bruce Dubbs <bdubbs@…>, 11 years ago

Move goffice 0.8 to archive since nothing in the book uses it.
More tags.

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

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