Changeset ca120ee for server


Ignore:
Timestamp:
12/27/2004 10:47:47 PM (19 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
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
Children:
034b8c8
Parents:
b7028b7
Message:

Updated to Exim-4.43; changed Exim bootscript to dispatch a queue runner process every 15 minutes, instead of every minute

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/mail/exim.xml

    rb7028b7 rca120ee  
    55  %general-entities;
    66
    7 <!ENTITY exim-download-http "http://gd.tuwien.ac.at/infosys/mail/exim/exim4/exim-&exim-version;.tar.bz2">
     7<!ENTITY exim-download-http "http://www.exim.org/ftp/exim4/exim-&exim-version;.tar.bz2">
    88<!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">
     9<!ENTITY exim-size "1.4 MB">
     10<!ENTITY exim-buildsize "14.9 MB">
     11<!ENTITY exim-time "0.14 SBU">
    1212]>
    1313
     
    4343<sect3><title><application>Exim</application> dependencies</title>
    4444<sect4><title>Required</title>
    45 <para><xref linkend="db"/></para>
     45<para><xref linkend="db"/> or
     46<xref linkend="gdbm"/> or
     47<ulink url="http://sourceforge.net/projects/tdb">TDB</ulink></para>
    4648</sect4>
    4749
    4850<sect4><title>Optional</title>
    4951<para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
    50 <xref linkend="openldap"/>,
    51 <xref linkend="mysql"/>,
    52 <xref linkend="tcpwrappers"/> and
     52<xref linkend="openldap"/>,
     53<xref linkend="openssl"/> or
     54<ulink url="http://www.gnu.org/software/gnutls/">GnuTLS</ulink>,
     55<xref linkend="cyrus-sasl"/>,
     56<xref linkend="mysql"/>,
     57<xref linkend="postgresql"/>,
     58<xref linkend="tcpwrappers"/> and
    5359<xref linkend="Linux_PAM"/></para>
    5460</sect4>
     
    6167
    6268<para>Before building <application>Exim</application>, you should
    63 create the group and user exim which will run the exim daemon:</para>
     69create the group and user exim which will run the
     70<command>exim</command> daemon:</para>
    6471
    6572<screen><userinput><command>groupadd exim &amp;&amp;
     
    7582make &amp;&amp;
    7683make install &amp;&amp;
    77 cp doc/exim.8 /usr/share/man/man8 &amp;&amp;
    78 ln -s exim-4.24-1 /usr/sbin/exim &amp;&amp;
    79 ln -s exim /usr/sbin/sendmail</command></userinput></screen>
     84install -v -m644 doc/exim.8 /usr/share/man/man8 &amp;&amp;
     85install -v -d -m755 /usr/share/doc/exim-&exim-version; &amp;&amp;
     86install -v -m644 doc/* /usr/share/doc/exim-&exim-version; &amp;&amp;
     87ln -sv exim /usr/sbin/sendmail</command></userinput></screen>
    8088
    8189</sect2>
     
    8492<title>Command explanations</title>
    8593
    86 <para><command>sed -e ... > Local/Makefile</command>: Many of
    87 <application>Exim</application>'s configuration options are compiled in.
    88 This command specifies the minimum set of options,
    89 <parameter>BIN_DIRECTORY</parameter>, <parameter>CONFIGURE_FILE</parameter>
    90 and <parameter>EXIM_USER</parameter>. Additionally, building the
    91 <application>Exim</application> monitor program is deferred, as it
    92 requires <application>X</application> Window System support, by commenting
    93 out the <parameter>EXIM_MONITOR</parameter> line in the
    94 <filename>Makefile</filename>.</para>
    95 
    96 <para><command>ln -s exim /usr/sbin/sendmail</command>:
    97 Creates a link to <command>sendmail</command> for applications which need
    98 it. <application>Exim</application> will
    99 accept most <application>Sendmail</application> command-line options.</para>
     94<para><command>sed -e ... > Local/Makefile</command>: Most of
     95<application>Exim</application>'s configuration options are compiled in using
     96the directives in <filename>Local/Makefile</filename> which is created from
     97the <filename>src/EDITME</filename> file. This command specifies the minimum
     98set of options. Descriptions for the options are listed below.</para>
     99
     100<para><parameter>BIN_DIRECTORY=/usr/sbin</parameter>: This installs all of
     101<application>Exim</application>'s binaries and scripts in
     102<filename class='directory'>/usr/sbin</filename>.</para>
     103
     104<para><parameter>CONFIGURE_FILE=/etc/exim.conf</parameter>: This installs
     105<application>Exim</application>'s main configuration file in
     106<filename class='directory'>/etc</filename>.</para>
     107
     108<para><parameter>EXIM_USER=exim</parameter>: This tells
     109<application>Exim</application> that after the daemon no longer needs root
     110privileges, the process hands off the daemon to the exim user.</para>
     111
     112<para><parameter>#EXIM_MONITOR</parameter>: This defers building the
     113<application>Exim</application> monitor program, as it requires
     114<application>X</application> Window System support, by commenting out the
     115<parameter>EXIM_MONITOR</parameter> line in the <filename>Makefile</filename>.
     116If you wish to build the monitor program, omit this <command>sed</command>
     117command and issue the following command before building the package (modify
     118<filename>Local/eximon.conf</filename>, if necessary):
     119<command>cp exim_monitor/EDITME Local/eximon.conf</command>.</para>
     120
     121<para><command>ln -s exim /usr/sbin/sendmail</command>: Creates a link to
     122<command>sendmail</command> for applications which need it.
     123<application>Exim</application> will accept most
     124<application>Sendmail</application> command-line options.</para>
     125
     126</sect2>
     127
     128<sect2>
     129<title>Adding additional functionality</title>
     130
     131<para>To utilize some or all of the dependency packages, you'll need to modify
     132<filename>Local/Makefile</filename> to include the appropriate directives and
     133parameters to link additional libraries before you build
     134<application>Exim</application>. <filename>Local/Makefile</filename> is
     135heavily commented with instructions on how to do this. Listed below is
     136additional information to help you link these dependency packages.</para>
     137
     138<para>To use a backend database other than <application>Berkelely
     139DB</application>, see the instructions at <ulink
     140url="http://www.exim.org/exim-html-4.40/doc/html/spec_4.html#SECT4.3"/>.</para>
     141
     142<para>For <acronym>SSL</acronym> functionality, see the instructions at <ulink
     143url="http://www.exim.org/exim-html-4.40/doc/html/spec_4.html#SECT4.6"/> and
     144<ulink
     145url="http://www.exim.org/exim-html-4.40/doc/html/spec_37.html#CHAP37"/>.</para>
     146
     147<para>For <application>tcpwrappers</application> functionality, see the
     148instructions at <ulink
     149url="http://www.exim.org/exim-html-4.40/doc/html/spec_4.html#SECT4.7"/>.</para>
     150
     151<para>For information about adding authentication mechanisms to the
     152build, see the instructions at <ulink
     153url="http://www.exim.org/exim-html-4.40/doc/html/spec_34.html#SECT34.4"/> For
     154specific information about using <application>Cyrus-SASL</application>, see
     155section 10 of the <filename>doc/NewStuff</filename> file located in the source
     156tree.</para>
     157
     158<para>For information about linking <application>Linux-PAM</application>, see
     159the instuctions at <ulink
     160url="http://www.exim.org/exim-html-4.40/doc/html/spec_11.html#IX935"/>.</para>
     161
     162<para>For information about linking database engine libraries used for
     163<application>Exim</application> name lookups, see the instuctions at <ulink
     164url="http://www.exim.org/exim-html-4.40/doc/html/spec_9.html#CHAP9"/>.</para>
     165
     166<para>If you wish to add <application>Readline</application> support to
     167<application>Exim</application> when invoked in <quote>test expansion</quote>
     168(-bv) mode, see the information in section 8 of the
     169<filename>doc/NewStuff</filename> file located in the source tree.</para>
     170
     171<para>You may wish to modify the default configuration and send log files to
     172syslog instead of the default
     173<filename class='directory'>/var/spool/exim/log</filename> directory. See the
     174information at <ulink
     175url="http://www.exim.org/exim-html-4.40/doc/html/spec_45.html#CHAP45"/>.</para>
    100176
    101177</sect2>
     
    113189<sect3><title>Configuration Information</title>
    114190
    115 <para>Create the Exim configuration files with the following commands:</para>
     191<para>A default (nothing but comments) <filename>/etc/aliases</filename> file
     192is installed during the package installation if this file did not exist on
     193your system. Create the necessary aliases and start the
     194<application>Exim</application> daemon using the following commands:</para>
    116195
    117196<screen><userinput><command>cat &gt;&gt; /etc/aliases &lt;&lt; "EOF"</command>
     
    120199<command>EOF
    121200exim -v -bi &amp;&amp;
    122 /usr/sbin/exim -bd -q1m</command></userinput></screen>
     201/usr/sbin/exim -bd -q15m</command></userinput></screen>
    123202
    124203<note><para>To protect an existing <filename>/etc/aliases</filename> file,
    125 append these aliases to it if it exists. This file should be checked and
     204the command above appends these aliases to it. This file should be checked and
    126205duplicate aliases removed, if present.</para></note>
     206
     207<para>The <command>/usr/sbin/exim -bd -q15m</command> command starts the
     208<application>Exim</application> daemon with a 15 minute interval in processing
     209the mail queue. Adjust this parameter to suit your desires.</para>
    127210
    128211<para>To automate the running of <command>exim</command> at startup, install
     
    132215<screen><userinput><command>make install-exim</command></userinput></screen>
    133216
     217<para>The bootscript also starts the <application>Exim</application> daemon
     218and dispatches a queue runner process every 15 minutes. Modify the
     219<parameter>-q<replaceable>[time interval]</replaceable></parameter> parameter
     220in <filename>/etc/rc.d/init.d/exim</filename>, if necessary for your
     221installation.</para>
    134222</sect3>
    135223
     
    152240<command>exiqsumm</command>,
    153241<command>exiqgrep</command>,
    154 <command>exim_lock</command> and
    155 <command>exim_checkaccess</command>.</para>
     242<command>exim_lock</command>,
     243<command>exim_checkaccess</command> and optionally,
     244<command>eximon</command> and
     245<command>eximon.bin</command>.</para>
    156246
    157247</sect2>
Note: See TracChangeset for help on using the changeset viewer.