source: server/mail/exim.xml@ 371ff30

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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 371ff30 was 371ff30, checked in by DJ Lucas <dj@…>, 18 years ago

several cleanups-Xorg7 related

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

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