source: server/mail/exim.xml@ 54707d33

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 54707d33 was 54707d33, checked in by Igor Živković <igor@…>, 10 years ago

update to exim-4.82

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

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