source: server/mail/exim.xml@ 5cd0959d

10.0 10.1 11.0 6.0 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 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 5cd0959d was 5cd0959d, checked in by Archaic <archaic@…>, 17 years ago

Resetting keywords

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

  • Property mode set to 100644
File size: 6.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//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://gd.tuwien.ac.at/infosys/mail/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-size "1.2 MB">
10<!ENTITY exim-buildsize "11 MB">
11<!ENTITY exim-time "0.27 SBU">
12
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>Exim-&exim-version;</title>
22
23<sect2>
24<title>Introduction to <application>Exim</application></title>
25
26<para>The <application>Exim</application> package contains a Mail Transport Agent written by the
27University of Cambridge, released under the <acronym>GNU</acronym> Public License.</para>
28
29<sect3><title>Package information</title>
30<itemizedlist spacing='compact'>
31<listitem><para>Download (HTTP): <ulink url="&exim-download-http;"/></para></listitem>
32<listitem><para>Download (FTP): <ulink url="&exim-download-ftp;"/></para></listitem>
33<listitem><para>Download size: &exim-size;</para></listitem>
34<listitem><para>Estimated Disk space required: &exim-buildsize;</para></listitem>
35<listitem><para>Estimated build time: &exim-time;</para></listitem></itemizedlist>
36</sect3>
37
38<sect3><title><application>Exim</application> dependencies</title>
39<sect4><title>Required</title>
40<para><xref linkend="db"/>
41</para></sect4>
42<sect4><title>Optional</title>
43<para>
44X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
45<xref linkend="openldap"/>,
46<xref linkend="mysql"/>,
47<xref linkend="tcpwrappers"/> and
48<xref linkend="Linux_PAM"/>
49</para></sect4>
50</sect3>
51
52</sect2>
53
54<sect2>
55<title>Installation of <application>Exim</application></title>
56
57<para>Before building <application>Exim</application>, we need to
58create the group and user exim which will run the exim daemon:</para>
59
60<screen><userinput><command>groupadd exim &amp;&amp;
61useradd -d /dev/null -g exim -s /bin/false exim</command></userinput></screen>
62
63<para>Install <application>Exim</application> with the following commands:</para>
64
65<screen><userinput><command>sed -e 's/^BIN_DIR.*$/BIN_DIRECTORY=\/usr\/sbin/' src/EDITME | \
66 sed -e 's/^CONF.*$/CONFIGURE_FILE=\/etc\/exim.conf/' | \
67 sed -e 's/^EXIM_USER.*$/EXIM_USER=exim/' | \
68 sed -e 's/^EXIM_MONITOR/#EXIM_MONITOR/' > Local/Makefile &amp;&amp;
69make &amp;&amp;
70make install &amp;&amp;
71cp doc/exim.8 /usr/share/man/man8 &amp;&amp;
72ln -s exim-4.24-1 /usr/sbin/exim &amp;&amp;
73ln -s exim /usr/sbin/sendmail</command></userinput></screen>
74
75</sect2>
76
77<sect2>
78<title>Command explanations</title>
79
80<para><command>sed -e ... > Local/Makefile</command>: Many of
81<application>Exim</application>'s
82configuration options are compiled in. Here, we specify the minimum set
83of options, <parameter>BIN_DIRECTORY</parameter>,
84<parameter>CONFIGURE_FILE</parameter> and
85<parameter>EXIM_USER</parameter>. We also defer
86building the <application>Exim</application> monitor program, which
87requires the <application>X</application> Window System
88support, by commenting out the <parameter>EXIM_MONITOR</parameter> line
89in the <filename>Makefile</filename>.</para>
90
91<para><command>ln -s exim /usr/sbin/sendmail</command>:
92Create a link to <command>sendmail</command> for applications which need
93it. <application>Exim</application> will
94accept most <application>Sendmail</application> command-line options.</para>
95
96</sect2>
97
98<sect2>
99<title>Configuring Exim</title>
100
101<sect3><title>Config files</title>
102
103<para><filename>/etc/exim.conf</filename>, <filename>/etc/aliases</filename></para>
104
105</sect3>
106
107<sect3><title>Configuration Information</title>
108
109<para>Create the Exim configuration files with the following commands:</para>
110
111<screen><userinput><command>cat &gt;&gt; /etc/aliases &lt;&lt; "EOF"</command>
112postmaster: root
113MAILER-DAEMON: root
114<command>EOF
115exim -v -bi &amp;&amp;
116/usr/sbin/exim -bd -q1m</command></userinput></screen>
117
118<note><para>To protect an existing <filename>/etc/aliases</filename>
119file, we will append these aliases to it if it exists. This file
120should be checked and duplicate aliases removed, if
121present.</para></note>
122
123<para>To automate the running of exim at startup,
124install the <filename>/etc/rc.d/init.d/exim</filename>
125init script included in the <xref linkend="intro-important-bootscripts"/> package.</para>
126
127<screen><userinput><command>make install-exim</command></userinput></screen>
128
129</sect3>
130
131</sect2>
132
133<sect2>
134<title>Contents</title>
135
136<para>The <application>Exim</application> package contains
137<command>exim</command>,
138<command>exim_dumpdb</command>,
139<command>exim_fixdb</command>,
140<command>exim_tidydb</command>,
141<command>exinext</command>,
142<command>exiwhat</command>,
143<command>exim_dbmbuild</command>,
144<command>exicyclog</command>,
145<command>exigrep</command>,
146<command>eximstats</command>,
147<command>exiqsumm</command>,
148<command>exiqgrep</command>,
149<command>exim_lock</command> and
150<command>exim_checkaccess</command>.
151</para>
152
153</sect2>
154
155<sect2><title>Description</title>
156<sect3><title>exim</title>
157<para><command>exim</command> is the Mail Transport Agent daemon.</para></sect3>
158
159<sect3><title>exim_dumpdb</title>
160<para><command>exim_dumpdb</command> writes the contents of exim databases to the
161standard output.</para></sect3>
162
163<sect3><title>exim_fixdb</title>
164<para><command>exim_fixdb</command> modifies data in exim databases.</para></sect3>
165
166<sect3><title>exim_tidydb</title>
167<para><command>exim_tidydb</command> removes old records from exim databases.</para></sect3>
168
169<sect3><title>exinext</title>
170<para><command>exinext</command> queries remote host retry times.</para></sect3>
171
172<sect3><title>exiwhat</title>
173<para><command>exiwhat</command> queries running exim processes.</para></sect3>
174
175<sect3><title>exim_dbmbuild</title>
176<para><command>exim_dbmbuild</command> creates and rebuilds exim
177databases.</para></sect3>
178
179<sect3><title>exicyclog</title>
180<para><command>exicyclog</command> cycles exim log files.</para></sect3>
181
182<sect3><title>exigrep</title>
183<para><command>exigrep</command> searches exim log files.</para></sect3>
184
185<sect3><title>eximstats</title>
186<para><command>eximstats</command> generates mail statistics from exim log
187files.</para></sect3>
188
189<sect3><title>exiqsumm</title>
190<para><command>exiqsumm</command> produces a summary of the messages on the mail
191queue.</para></sect3>
192
193<sect3><title>exiqgrep</title>
194<para><command>exiqgrep</command> is an utility for selective queue
195listing.</para></sect3>
196
197<sect3><title>exim_lock</title>
198<para><command>exim_lock</command> locks a mailbox file.</para></sect3>
199
200<sect3><title>exim_checkaccess</title>
201<para><command>exim_checkaccess</command> states whether a given recipient address from a
202given host is acceptable or not.</para></sect3>
203
204</sect2>
205
206</sect1>
207
Note: See TracBrowser for help on using the repository browser.