source: server/mail/exim.xml@ 0931098

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 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 0931098 was 0931098, checked in by DJ Lucas <dj@…>, 20 years ago

Part VI xml update + bz815

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

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