source: server/mail/exim.xml@ d5404360

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 d5404360 was d5404360, checked in by Randy McMurchy <randy@…>, 17 years ago

Added new package GnuTLS-1.6.3

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

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