source: server/mail/courier.xml@ ebe1291

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 ebe1291 was ebe1291, checked in by DJ Lucas <dj@…>, 19 years ago

Updated to courier 0.47

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

  • Property mode set to 100644
File size: 36.7 KB
RevLine 
[0931098]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 courier-download-http "http://prdownloads.sourceforge.net/courier/courier-&courier-version;.tar.bz2">
8<!ENTITY courier-download-ftp " ">
[ebe1291]9<!ENTITY courier-size "4.3 MB">
10<!ENTITY courier-buildsize "102 MB">
11<!ENTITY courier-time "2.62 SBU">
[0931098]12
13]>
14
[ebe1291]15<sect1 id="courier-package" xreflabel="Courier-&courier-version;">
[a0f03b0]16<sect1info>
[5cd0959d]17<othername>$LastChangedBy$</othername>
18<date>$Date$</date>
[a0f03b0]19</sect1info>
[00bb024c]20<?dbhtml filename="courier.html"?>
[1a1da48]21<title>Courier-&courier-version;</title>
[ebe1291]22<indexterm zone="courier-package">
23<primary sortas="a-courier-package">Courier MTA</primary></indexterm>
[f45b1953]24
[0931098]25<sect2>
26<title>Introduction to <application>Courier</application></title>
27
28<para>The <application>Courier</application> package contains a Mail Transport
29Agent (<acronym>MTA</acronym>). This is useful for sending email to other users
30of your host machine. It can also be configured to be a central mail server for
31your domain or a mail relay agent. The <application>Courier</application>
32packages also includes a web-based email interface, <acronym>IMAP</acronym>,
33<acronym>IMAP</acronym>-<acronym>SSL</acronym>, <acronym>POP</acronym>3, and
34<acronym>POP</acronym>3-<acronym>SSL</acronym>.</para>
35
36<sect3><title>Package information</title>
37<itemizedlist spacing='compact'>
[7ee9849]38<listitem><para>Download (HTTP):
39<ulink url="&courier-download-http;"/></para></listitem>
40<listitem><para>Download (FTP):
41<ulink url="&courier-download-ftp;"/></para></listitem>
[0931098]42<listitem><para>Download size: &courier-size;</para></listitem>
[7ee9849]43<listitem><para>Estimated disk space required:
44&courier-buildsize;</para></listitem>
45<listitem><para>Estimated build time:
46&courier-time;</para></listitem></itemizedlist>
[0931098]47</sect3>
48
49<sect3><title><application>Courier</application> dependencies</title>
50<sect4><title>Required</title>
[ebe1291]51<para><xref linkend="gdbm"/></para>
[7ee9849]52</sect4>
[0931098]53<sect4><title>Optional</title>
[7ee9849]54<para><xref linkend="mysql"/> or <xref linkend="postgresql"/>,
[0931098]55<xref linkend="Linux_PAM"/>,
[939cf0da]56<xref linkend="openssl-package"/>,
[0931098]57<xref linkend="fam"/>,
58<xref linkend="openldap"/>,
59<xref linkend="apache"/>,
60<xref linkend="ispell"/> or <xref linkend="aspell"/>,
61<xref linkend="gnupg"/>,
[216ef4f]62<xref linkend="expect"/>,
[ebe1291]63<xref linkend="gs"/> or <xref linkend="espgs"/>,
[0931098]64<ulink url="http://netpbm.sourceforge.net/">Netpbm</ulink> and
65<ulink url="http://alpha.greenie.net/mgetty/">Mgetty+Sendfax</ulink>
66</para></sect4>
67</sect3>
68
69</sect2>
70
71<sect2>
72<title>Installation of <application>Courier</application></title>
[ebe1291]73<note><para><application>Courier's</application> tarball must be extacted as an
74unpriveleged user or configure will fail.</para></note>
[0931098]75
[ebe1291]76<para>After extracting the tarball, you'll need to <command>su</command> to
77user 'root' in order to perform the next few steps.</para>
78
79<para> Before you compile the program, you need to create the courier user
80and group that is expected to be in place when the install script executes.
81Add the courier user and group with the following commands:</para>
[0931098]82
83<screen><userinput><command>groupadd courier &amp;&amp;
[7ee9849]84useradd -c 'Courier Mail Server' -d /dev/null \
85 -g courier -s /bin/false courier</command></userinput></screen>
[0931098]86
[ebe1291]87<para>The install script also expects a bin user. If you already have a user
[0931098]88named bin, this step can be safely ignored.</para>
89
90<screen><userinput><command>useradd -c 'bin' -d /dev/null -g bin -u 1 bin</command></userinput></screen>
91
[ebe1291]92<para><application>Courierfilter</application> requires the directory
93<filename class="directory">/var/run/courier</filename> to store
94all the <application>Courier</application> pid and lockfiles.
95<filename class="directory">/var/lock/subsys</filename> also must exist
96for the master lock file for <application>Courier</application>. Issue
97the following commands to create these directories:</para>
[0931098]98
[ebe1291]99<screen><userinput><command>install -d /var/run/courier -o courier -g courier -m755 &amp;&amp;
100install -d /var/lock/subsys -o root -g root -m755</command></userinput></screen>
[0931098]101
[ebe1291]102<para>Build <application>courier</application> as an unpriveledged user
103with the following commands:</para>
[0931098]104
105<screen><userinput><command>./configure --prefix=/usr --libexecdir=/usr/lib/courier \
106 --datadir=/usr/share/courier --sysconfdir=/etc/courier \
107 --localstatedir=/var/lib/courier --with-piddir=/var/run/courier \
[7ee9849]108 --disable-root-check --with-mailuser=courier \
109 --with-mailgroup=courier \
[0931098]110 --with-paranoid-smtpext --disable-autorenamesent \
111 --enable-workarounds-for-imap-client-bugs --with-db=gdbm &amp;&amp;
[ebe1291]112make</command></userinput></screen>
113
114<para><command>su</command> once again to user 'root' and install
115<application>courier</application> with the following commands:</para>
116
117<screen><userinput><command>make install &amp;&amp;
[0931098]118make install-configure</command></userinput></screen>
119
120</sect2>
121
122<sect2>
123<title>Command explanations</title>
124
125<para><parameter>--libexecdir=/usr/lib/courier</parameter>: Specifies
126the directory which contains programs and libraries that cannot be
127directly executed from the command-line.</para>
128
129<para><parameter>--datadir=/usr/share/courier</parameter>: Specifies the
130directory where miscellaneous shell scripts,
131<application>Perl</application> scripts, and data files will be
132installed.</para>
133
134<para><parameter>--localstatedir=/var/spool/courier</parameter>:
135Specifies the directory that will hold the mail queue, and other
136temporary data.</para>
137
138<para><parameter>--with-piddir=/var/run/courier</parameter>: Specifies
139the directory where <application>Courier</application>'s
140<filename>PID</filename> files are stored when
141<application>Courier</application> is active.</para>
142
143<para><option>--disable-root-check</option>: Allows
144<application>Courier</application> to be built as the root user.</para>
145
146<para><parameter>--with-mailuser=courier</parameter>: All except two
147<application>Courier</application> daemons run as a non-privileged user.
148This option specifies the userid that <application>Courier</application>
149will install and run as.</para>
150
151<para><parameter>--with-mailgroup=courier</parameter>: like
152<option>--with-mailuser</option>, but specifies the group
153<acronym>ID</acronym>.</para>
154
155<para><option>--with-paranoid-smtpext</option>: Be paranoid when
156negotiating Courier-specific <acronym>ESMTP</acronym> extensions with
157remote servers. The <application>Courier</application> mail server
158defines and implements certain experimental <acronym>ESMTP</acronym>
159extensions: XVERP and XEXDATA. Problems may result in the event that
160someone else uses the same name to implement some other extension. If
161this option is specified, <application>Courier's</application>
162<acronym>ESMTP</acronym> server will also advertise a dummy
163<acronym>ESMTP</acronym> capability called XCOURIEREXTENSIONS, and will
164not recognize any Courier-specific extensions unless the remote mail
165server also advertises this dummy <acronym>ESMTP</acronym>
166capability.</para>
167
168<para><option>--disable-autorenamesent</option>: Do not rename the Sent
169folder every month. This option can also be controlled by the
170<envar>SQWEBMAIL_AUTORENAMESENT</envar> environment variable.</para>
171
172<para><option>--enable-workarounds-for-imap-client-bugs</option>: There
173are several confirmed bugs in some <acronym>IMAP</acronym> clients that
174do not properly implement the <acronym>IMAP</acronym>4rev1 protocol.
175This option enables some workarounds for those buggy
176<acronym>IMAP</acronym> clients. NOTE: <command>make check</command>
177will fail if this option is used. You should first configure without
178this option, and if all post-configuration tests succeed, rerun
179configure with this option and recompile.</para>
180
181<para><parameter>--with-db=gdbm</parameter>:
182<application>Courier</application> requires either the
183<application><acronym>GDBM</acronym></application> or the
184<application>DB</application> database library.
185<application><acronym>GDBM</acronym></application> is used if both are
[ebe1291]186present. This option forces the selection of
187<application>GDBM</application> as courier is currently broken when used
188with <application>DB</application>.</para>
[0931098]189
190<!-- # Note - Courier will build fine with <xref linkend="db"/>, but all
191the database files will not be created correctly -->
192
193<para><parameter>--with-ispell=/usr/bin/aspell</parameter>:
194<application>Courier</application>'s webmail server can use spell
195checking, if <command>configure</command> finds
196<application>ispell</application> or if you explicitly set the location
197of <application>aspell</application>.</para>
198
[7ee9849]199<para><parameter>--enable-mimetypes=<replaceable>[location of mime.types
200file]</replaceable></parameter>: Use this switch if you receive an error
201saying that the <filename>mime.types</filename> file could not be found.</para>
[0931098]202
203</sect2>
204
[ebe1291]205<sect2 id="courier-config">
[0931098]206<title>Configuring <application>Courier</application></title>
[ebe1291]207<indexterm zone="courier-package courier-config">
208<primary sortas="e-courier-config">/etc/courier/*</primary></indexterm>
[0931098]209
210<sect3><title>Configuration Information</title>
211
[ebe1291]212<para>You will need to <command>su</command> to user 'root' for the
213remainder of the configuration.</para>
[0931098]214
215<para>You will need to create the following files with the contents
216specified.</para>
217
218<para><filename>/etc/courier/defaultdomain</filename></para>
219
220<screen><userinput><command>cat &gt; /etc/courier/defaultdomain &lt;&lt; "EOF"</command>
221<replaceable>[yourdomain]</replaceable>
222<command>EOF</command></userinput></screen>
223
224<para><filename>/etc/courier/me</filename></para>
225
226<screen><userinput><command>cat &gt; /etc/courier/me &lt;&lt; "EOF"</command>
227<replaceable>[servername.yourdomain]</replaceable>
228<command>EOF</command></userinput></screen>
229
230<para><filename>/etc/courier/locals</filename></para>
231
232<screen><userinput><command>cat &gt; /etc/courier/locals &lt;&lt; "EOF"</command>
233localhost
234<replaceable>[yourdomain]</replaceable>
235<command>EOF</command></userinput></screen>
236
237<para><filename>/etc/courier/esmtpacceptmailfor.dir/system</filename></para>
238
[ebe1291]239<screen><userinput><command>cat
240&gt;/etc/courier/esmtpacceptmailfor.dir/system &lt;&lt; "EOF"</command>
[0931098]241localhost
242<replaceable>[yourdomain]</replaceable>
243<command>EOF</command></userinput></screen>
244
245<para>You will also need to edit the aliases file and change the
246following entry.</para>
247
248<para><filename>/etc/courier/aliases/system</filename></para>
249
250<screen><userinput>postmaster: <replaceable>[your administrator email]</replaceable></userinput></screen>
251
252<para>If you want to deny access from some hosts from sending mail, you
253will need to edit the
254<filename>/etc/courier/smtpaccess/default</filename> file.</para>
255
[ebe1291]256<para>If you wish to host mail for non local domains including virtual
257domains,
258you must add them to <filename>/etc/courier/hosteddomains</filename>.
259This
260file should exist wether you need a hosted domain list or not:</para>
261
262<para><screen><userinput>touch
263/etc/courier/hosteddomains</userinput></screen></para>
264
[0931098]265<para>After the above steps are completed you will need to run the
266following commands:</para>
267
268<screen><userinput><command>makesmtpaccess &amp;&amp;
269makehosteddomains &amp;&amp;
270makealiases</command></userinput></screen>
271
[ebe1291]272<para>For each user, you will need to create a
273<filename class="directory">Maildir</filename> directory:</para>
[0931098]274
[ebe1291]275<screen><userinput><command>cd /home/<replaceable>[username]</replaceable> &amp;&amp;
276maildirmake Maildir &amp;&amp;
277chown <replaceable>[username]</replaceable>.<replaceable>[username]</replaceable> Maildir -R</command></userinput></screen>
[0931098]278
[ebe1291]279<para>If you wish to use <acronym>SSL</acronym> with
280<application>Courier</application>, you should obtain certificates and
281store them in <filename>/usr/share/courier</filename>. You can
282optionally create self-signed, test certificates with the following
283commands:</para>
[0931098]284
[ebe1291]285<screen><userinput><command>mkesmtpdcert &amp;&amp;
286mkimapdcert &amp;&amp;
287mkpop3dcert</command></userinput></screen>
[0931098]288
[ebe1291]289<para>All of courier's configuration files reside in the directory
290<filename class="directory">/etc/courier/</filename>. For each service
291<acronym>SMTP</acronym>, <acronym>POP3</acronym> and
292<acronym>IMAP</acronym>, you will have a standard config file, and an
293<acronym>SSL</acronym> config file. For each service that you
294wish to utilize, you will need to edit the configuration file, and
295change the <replaceable>[DAEMON]</replaceable>START variable from 'NO' to
296'YES'. For example, to use <acronym>SMTP</acronym> with
297<acronym>SSL</acronym>, you'll need to edit
298<filename>/etc/courier/esmtpd-ssl</filename> and change the value of
299'ESMTPDSSLSTART' to 'YES'. Make the same change for each service
300configuration that you wish to use with
301<application>courier</application>.</para>
[0931098]302
[ebe1291]303<para>If you wish to use <acronym>LDAP</acronym>, an
304<acronym>LDAP</acronym> configuration file should be created:</para>
[0931098]305
[ebe1291]306<screen><userinput><command>echo "LDAPALIASDSTART=YES" > /etc/courier/ldapaliasd</command></userinput></screen>
[0931098]307
[ebe1291]308<para>Similarly, if you wish to use webmail, you should create the webmail
309configuration file:</para>
[0931098]310
[ebe1291]311<screen><userinput><command>echo "WEBMAILDSTART=YES" > /etc/courier/webmaild</command></userinput></screen>
[0931098]312
[ebe1291]313<para>You will also need to copy the <filename>webmail</filename> file from
314<filename>/usr/lib/courier/courier/webmail</filename> to your <filename>cgi-bin
315</filename> directory of your <application>Apache</application>
316server.</para>
[0931098]317
[ebe1291]318<screen><userinput><command>cp -a /usr/lib/courier/courier/webmail/webmail /srv/www/cgi-bin</command></userinput></screen>
[0931098]319
[ebe1291]320<para>You will then need to copy the images to a directory under your
321<filename>htdocs</filename> directory of your
322<application>Apache</application> server. The directory needs to be named
323<filename>webmail</filename> or you need to specify it during the configure
324phase with <parameter>--enable-imageurl=<replaceable>[URL]</replaceable></parameter>.</para>
[0931098]325
[ebe1291]326<screen><userinput><command>cp -a /usr/share/courier/sqwebmail/images /srv/www/htdocs/webmail</command></userinput></screen>
327<para><emphasis>Setup for Web-based Email</emphasis></para>
[0931098]328
[ebe1291]329<para>If you wish to utilze the webadmin utility, you will need to copy the
330<filename>webadmin</filename> file from
331<filename class="directory">/usr/lib/courier/courier/webmail</filename>
332to your <filename class="directory">cgi-bin</filename> directory of your
333<application>Apache</application> server.</para>
[0931098]334
[ebe1291]335<screen><userinput><command>cp -a /usr/lib/courier/courier/webmail/webadmin /srv/www/cgi-bin</command></userinput></screen>
[0931098]336
[ebe1291]337<para><filename>/etc/courier/webadmin/password</filename></para>
[0931098]338
[ebe1291]339<screen><userinput><command>cat &gt; /etc/courier/webadmin/password &lt;&lt; "EOF"</command>
340<replaceable>[password]</replaceable>
341<command>EOF</command></userinput></screen>
[0931098]342
[ebe1291]343<para>If you are not using <acronym>SSL</acronym> on your <application>Apache
344</application> server, you will also need to add
345<filename>/etc/courier/webadmin/unsecureok</filename>, so you will be able
346to use your web based administration tool.</para>
[0931098]347
[ebe1291]348<screen><userinput><command>touch /etc/courier/webadmin/unsecureok</command></userinput></screen>
[0931098]349
[ebe1291]350<para>If you use <application>LinuxPAM</application> on your system,
351you will need to create the <acronym>PAM</acronym> configuration files:</para>
[0931098]352
[ebe1291]353<screen><userinput><command>cat &gt; /etc/pam.d/esmtp &lt;&lt;
354"EOF"</command>
355# Begin /etc/pam.d/esmtp
[0931098]356
[ebe1291]357auth required pam_unix.so try_first_pass
358account required pam_unix.so
359session required pam_unix.so
[0931098]360
[ebe1291]361# End /etc/pam.d/esmtp
362<command>EOF
363cat &gt; /etc/pam.d/pop3 &lt;&lt; "EOF"</command>
364# Begin /etc/pam.d/pop3
[0931098]365
[ebe1291]366auth required pam_unix.so try_first_pass
367account required pam_unix.so
368session required pam_unix.so
369
370# End /etc/pam.d/pop3
371<command>EOF
372cat &gt; /etc/pam.d/imap &lt;&lt; "EOF"</command>
373# Begin /etc/pam.d/imap
374
375auth required pam_unix.so try_first_pass
376account required pam_unix.so
377session required pam_unix.so
378
379# End /etc/pam.d/imap
380<command>EOF
381cat &gt; /etc/pam.d/webmail &lt;&lt; "EOF"</command>
382# Begin /etc/pam.d/webmail
383
384auth required pam_unix.so try_first_pass
385account required pam_unix.so
386session required pam_unix.so
387
388# End /etc/pam.d/webmail
389<command>EOF</command></userinput></screen>
390
391<para id="courier-init">Finaly, if you wish to start courier at boot, install
392the <filename>/etc/rc.d/init.d/courier</filename> bootscript included in the
393<xref linkend="intro-important-bootscripts"/> package.</para>
394<indexterm zone="courier-package courier-init">
395<primary sortas="f-courier-init">courier</primary></indexterm>
396
397<screen><userinput><command>make install-courier</command></userinput></screen>
398
399</sect3>
400
401<!-- Begin virtual user setup * To be removed once added to the hint. -->
402
403<sect3>
404
405<title>Configuring for virtual users</title>
406
407<para>These instructions will configure <application>courier</application>
408to lookup virtual users in a <application>MySQL</application> database.
409Begin by making the following changes to
410<filename>/etc/courier/authmysqlrc</filename>:</para>
411
412<screen><userinput>MYSQL_SERVER localhost
413MYSQL_USERNAME courier
414MYSQL_PASSWORD <replaceable>[your choice]</replaceable>
415MYSQL_SOCKET /tmp/mysql.sock
416MYSQL_PORT 3306
417MYSQL_DATABASE courier_mail
418MYSQL_USER_TABLE users
419MYSQL_CLEAR_PWFIELD clear
420DEFAULT DOMAIN <replaceable>[your domain]</replaceable>
421MYSQL_QUOTA_FIELD quota</userinput></screen>
422
423<para>Connect to <application>MySQL</application>:</para>
424
425<screen><userinput><command>mysql -p</command></userinput></screen>
426
427<para>Create the <filename>courier_mail</filename> database and setup
428the users table:</para>
429
430<screen><userinput><command>CREATE DATABASE courier_mail;
431USE courier_mail
432CREATE TABLE users (
433id char(128) DEFAULT '' NOT NULL,
434crypt char(128) DEFAULT '' NOT NULL,
435clear char(128) DEFAULT '' NOT NULL,
436name char(128) DEFAULT '' NOT NULL,
437uid int(10) unsigned DEFAULT '65534' NOT NULL,
438gid int(10) unsigned DEFAULT '65534' NOT NULL,
439home char(255) DEFAULT '' NOT NULL,
440quota char(255) DEFAULT '' NOT NULL,
441KEY id (id(128))
442);</command></userinput></screen>
[0931098]443
[ebe1291]444<para>Grant all priveledges to the courier user created earlier:</para>
[0931098]445
[ebe1291]446<screen><userinput><command>GRANT ALL PRIVILEGES ON *.* TO courier@localhost \
447 IDENTIFIED BY '<replaceable>[password]</replaceable>' WITH GRANT OPTION;
448QUIT</command></userinput></screen>
[0931098]449
[ebe1291]450<para>Create a virtual mailman user and group:</para>
[0931098]451<screen><userinput><command>groupadd -g 9000 vmailman &amp;&amp;
452useradd -c 'Virtual Mailman' -g vmailman -m -k /dev/null -u 9000 vmailman</command></userinput></screen>
453
[ebe1291]454<para>Create a mail directory for a new virtual user:</para>
[0931098]455
456<screen><userinput><command>cd /home/vmailman &amp;&amp;
457mkdir <replaceable>[virtual_user]</replaceable> &amp;&amp;
458cd <replaceable>[virtual_user]</replaceable> &amp;&amp;
459maildirmake Maildir &amp;&amp;
460chown vmailman.vmailman Maildir -R</command></userinput></screen>
461
[ebe1291]462<para>Now, connect the the <application>MySQL</application> database as
463the courier user:</para>
[0931098]464
465<screen><userinput><command>mysql -u courier -p</command></userinput></screen>
[ebe1291]466
467<para>To add the virtual user you need to enter at least one version of the
468password either clear text or encrypted.</para>
469
470<para>Add the first virtual user with the following commands:</para>
[0931098]471
472<screen><userinput><command>USE courier_mail
473INSERT INTO users VALUES (
474'<replaceable>[virtual_users]</replaceable>@<replaceable>[domain.com]</replaceable>,
475'<replaceable>[encrypted password or blank]</replaceable>',
476'<replaceable>[clear text password or blank]</replaceable>',
477'<replaceable>[User's Name]</replaceable>',
4789000,
4799000,
480'<replaceable>[location of Maildir]</replaceable>',
481'<replaceable>[Quota in Bytes']</replaceable>
482);
483QUIT</command></userinput></screen>
484
485<para>For example:</para>
486
487<screen><userinput><command>INSERT INTO users VALUES (
488'blfsuser@linuxfromscratch.org',
489'',
490'password',
491'BLFS User',
4929000,
4939000,
494'/home/vmailman/blfsuser',
495''
496);</command></userinput></screen>
497
498</sect3>
499
[ebe1291]500<!-- End of Virtual user setup -->
[0931098]501
502</sect2>
503
504<sect2>
505<title>Contents</title>
506
[ebe1291]507<segmentedlist>
508<segtitle>Installed Programs</segtitle>
509<segtitle>Installed Scripts</segtitle>
510<segtitle>Installed Directories</segtitle>
511<segtitle>Configuration Files</segtitle>
512<seglistitem>
513<seg>addcr, aliascreate, aliascombine, aliasexp, authenumerate, cancelmsg,
514courier, courier-config, courierd, courierfax, courierfilter,
515courierldapaliasd, courierlogger, couriermlm, courierpop3d, courierpop3login,
516couriertcpd, couriertls, deliverquota, dotforward, dupfilter, imapd,
517imaplogin, lockmail, mailbot, maildiracl, maildirkw, maildirmake, maildrop,
518mailq, makedat, makedatprog, makemime, mimegpg, pcpd, perlfilter, preline,
519reformail, reformime, rmail, sendmail, showmodules, sqwebmaild, submit,
520submitmkdir, testmxlookup, userdbpw, webadmin and webmail</seg>
521
522<seg>admin-*.pl, application-pdf.filter, application-postscript.filter,
523authsystem.passwd, cleancache.pl, courierctl.start, couriermlm,
524courierwebadmin, coverpage, dumpenv.pl, esmtpd, esmtpd-ssl, faxmail,
525filterctl, htmldoc, image-gif.filter, image-jpeg.filter, image-png.filter,
526imapd, imapd-ssl, init, ldapsearch, makeacceptmailfor, makealiases, makedat,
527makehosteddomains, makepercentrelay, makesmtpaccess, makeuserdb,
528makeuucpneighbors, mkesmtpdcert, mkimapdcert, mkpop3dcert, new_fax,
529perlfilter-example.pl, perlfilter-wrapper.pl, pop3d, pop3d-ssl, pw2userdb,
530rootcerts, sendit.sh, sharedindexsplit, sharedindexinstall, sqwebmail,
531text-plain.filter, userdb, vchkpw2userdb, webadmin.pl, webgpg and
532webmaild</seg>
533
534<seg>/etc/courier, /usr/lib/courier, /usr/share/courier and
535/var/lib/courier</seg>
536
537<seg>/etc/courier/</seg>
538
539</seglistitem>
540</segmentedlist>
541
542<variablelist>
543<bridgehead renderas="sect3">Short Descriptions</bridgehead>
544<?dbfo list-presentation="list"?>
545
546<varlistentry id="cancelmsg">
547<term><command>cancelmsg</command></term>
548<listitem><para>removes a message from the mail queue.</para>
549<indexterm zone="courier-package cancelmsg">
550<primary sortas="b-cancelmsg">cancelmsg</primary></indexterm>
551</listitem>
552</varlistentry>
553
554<varlistentry id="courier">
555<term><command>courier</command></term>
556<listitem><para>administrative command used to control the courier
557scheduling engine.</para>
558<indexterm zone="courier-package courier">
559<primary sortas="b-courier">courier</primary></indexterm>
560</listitem>
561</varlistentry>
562
563<varlistentry id="courierfax">
564<term><command>courierfax</command></term>
565<listitem><para>sends email messages by fax.</para>
566<indexterm zone="courier-package courierfax">
567<primary sortas="b-courierfax">courierfax</primary></indexterm>
568</listitem>
569</varlistentry>
570
571<varlistentry id="courierfilter">
572<term><command>courierfilter</command></term>
573<listitem><para>starts and stops all mail filters installed by
574<command>filterctl</command>.</para>
575<indexterm zone="courier-package courierfilter">
576<primary sortas="b-courierfilter">courierfilter</primary></indexterm>
577</listitem>
578</varlistentry>
579
580<varlistentry id="courierldapaliasd">
581<term><command>courierldapaliasd</command></term>
582<listitem><para>supports mail address aliasing using an LDAP directory.</para>
583<indexterm zone="courier-package courierldapaliasd">
584<primary sortas="b-courierldapaliasd">courierldapaliasd</primary></indexterm>
585</listitem>
586</varlistentry>
587
588<varlistentry id="courierlogger">
589<term><command>courierlogger</command></term>
590<listitem><para>captures error messages from other
591<application>courier</application> applications and forwards them to
592the system logger.</para>
593<indexterm zone="courier-package courierlogger">
594<primary sortas="b-courierlogger">courierlogger</primary></indexterm>
595</listitem>
596</varlistentry>
597
598<varlistentry id="couriermlm">
599<term><command>couriermlm</command></term>
600<listitem><para>sets up, maintains, and manages mailing lists.</para>
601<indexterm zone="courier-package couriermlm">
602<primary sortas="b-couriermlm">couriermlm</primary></indexterm>
603</listitem>
604</varlistentry>
605
606<varlistentry id="courierperlfilter">
607<term><command>courierperlfilter</command></term>
608<listitem><para>a sample filter written in perl.</para>
609<indexterm zone="courier-package courierperlfilter">
610<primary sortas="b-courierperlfilter">courierperlfilter</primary></indexterm>
611</listitem>
612</varlistentry>
613
614<varlistentry id="courierpop3d">
615<term><command>courierpop3d</command></term>
616<listitem><para>courier pop3 server.</para>
617<indexterm zone="courier-package courierpop3d">
618<primary sortas="b-courierpop3d">courierpop3d</primary></indexterm>
619</listitem>
620</varlistentry>
621
622<varlistentry id="courierpop3login">
623<term><command>courierpop3login</command></term>
624<listitem><para>reads the POP3 userid and password and passes them to the
625authentication modules.</para>
626<indexterm zone="courier-package courierpop3login">
627<primary sortas="b-courierpop3login">courierpop3login</primary></indexterm>
628</listitem>
629</varlistentry>
630
631<varlistentry id="couriertcpd">
632<term><command>couriertcpd</command></term>
633<listitem><para>accepts incoming network connections, and runs other
634courier programs after establishing each network connection.</para>
635<indexterm zone="courier-package couriertcpd">
636<primary sortas="b-couriertcpd">couriertcpd</primary></indexterm>
637</listitem>
638</varlistentry>
639
640<varlistentry id="couriertls">
641<term><command>couriertls</command></term>
642<listitem><para>used by applications to encrypt a network connection
643using SSL/TLS</para>
644<indexterm zone="courier-package couriertls">
645<primary sortas="b-couriertls">couriertls</primary></indexterm>
646</listitem>
647</varlistentry>
648
649<varlistentry id="dotforward">
650<term><command>dotforward</command></term>
651<listitem><para>a compatibility module that reads forwarding
652instructions in $HOME/.forward.</para>
653<indexterm zone="courier-package dotforward">
654<primary sortas="b-dotforward">dotforward</primary></indexterm>
655</listitem>
656</varlistentry>
657
658<varlistentry id="dupfilter">
659<term><command>dupfilter</command></term>
660<listitem><para>a threaded filter that tries to block junk E-mail by
661attempting to detect multiple copies of the same message, which are
662rejected.</para>
663<indexterm zone="courier-package dupfilter">
664<primary sortas="b-dupfilter">dupfilter</primary></indexterm>
665</listitem>
666</varlistentry>
667
668<varlistentry id="esmtpd">
669<term><command>esmtpd</command></term>
670<listitem><para>a control script for courieresmtpd.</para>
671<indexterm zone="courier-package esmtpd">
672<primary sortas="b-esmtpd">esmtpd</primary></indexterm>
673</listitem>
674</varlistentry>
675
676<varlistentry id="esmtpd-msa">
677<term><command>esmtpd-msa</command></term>
678<listitem><para>a control script for courieresmtpd, but adds message
679submission port 587 for the <acronym>MSA</acronym> protocol.</para>
680<indexterm zone="courier-package esmtpd-msa">
681<primary sortas="b-esmtpd-msa">esmtpd-msa</primary></indexterm>
682</listitem>
683</varlistentry>
684
685<varlistentry id="filterctl">
686<term><command>filterctl</command></term>
687<listitem><para>installs or uninstalls global mail filters.</para>
688<indexterm zone="courier-package filterctl">
689<primary sortas="b-filterctl">filterctl</primary></indexterm>
690</listitem>
691</varlistentry>
692
693<varlistentry id="imapd">
694<term><command>imapd</command></term>
695<listitem><para>the Courier-IMAP server.</para>
696<indexterm zone="courier-package imapd">
697<primary sortas="b-imapd">imapd</primary></indexterm>
698</listitem>
699</varlistentry>
700
701<varlistentry id="lockmail">
702<term><command>lockmail</command></term>
703<listitem><para>a helper utility for locking mailbox files.</para>
704<indexterm zone="courier-package lockmail">
705<primary sortas="b-lockmail">lockmail</primary></indexterm>
706</listitem>
707</varlistentry>
708
709<varlistentry id="mailbot">
710<term><command>mailbot</command></term>
711<listitem><para>a <acronym>MIME</acronym>-aware autoresponder utility.</para>
712<indexterm zone="courier-package mailbot">
713<primary sortas="b-mailbot">mailbot</primary></indexterm>
714</listitem>
715</varlistentry>
716
717<varlistentry id="maildiracl">
718<term><command>maildiracl</command></term>
719<listitem><para>manages access control lists.</para>
720<indexterm zone="courier-package maildiracl">
721<primary sortas="b-maildiracl">maildiracl</primary></indexterm>
722</listitem>
723</varlistentry>
724
725<varlistentry id="maildirkw">
726<term><command>maildirkw</command></term>
727<listitem><para>modifies Courier-IMAP compatible maildir message
728keywords.</para>
729<indexterm zone="courier-package maildirkw">
730<primary sortas="b-maildirkw">maildirkw</primary></indexterm>
731</listitem>
732</varlistentry>
733
734<varlistentry id="maildirmake">
735<term><command>maildirmake</command></term>
736<listitem><para>creates maildirs, and maildir folders.</para>
737<indexterm zone="courier-package maildirmake">
738<primary sortas="b-maildirmake">maildirmake</primary></indexterm>
739</listitem>
740</varlistentry>
741
742<varlistentry id="maildrop">
743<term><command>maildrop</command></term>
744<listitem><para>a replacement local mail delivery agent that includes a
745mail filtering language.</para>
746<indexterm zone="courier-package maildrop">
747<primary sortas="b-maildrop">maildrop</primary></indexterm>
748</listitem>
749</varlistentry>
750
751<varlistentry id="mailq-courier">
752<term><command>mailq</command></term>
753<listitem><para>displays a list of all messages that have not been
754delivered yet.</para>
755<indexterm zone="courier-package mailq-courier">
756<primary sortas="b-mailq">mailq</primary></indexterm>
757</listitem>
758</varlistentry>
759
760<varlistentry id="makeacceptmailfor">
761<term><command>makeacceptmailfor</command></term>
762<listitem><para>builds a list of domains to accept mail for, from the
763<filename class="directory">/etc/courier/esmtpacceptmailfor.dir</filename>
764directory.</para>
765<indexterm zone="courier-package makeacceptmailfor">
766<primary sortas="b-makeacceptmailfor">makeacceptmailfor</primary></indexterm>
767</listitem>
768</varlistentry>
769
770<varlistentry id="makealiases">
771<term><command>makealiases</command></term>
772<listitem><para>builds an alias database from one or more plain text
773source files.</para>
774<indexterm zone="courier-package makealiases">
775<primary sortas="b-makealiases">makealiases</primary></indexterm>
776</listitem>
777</varlistentry>
778
779<varlistentry id="makedat">
780<term><command>makedat</command></term>
781<listitem><para>a utility to create GDBM or DB files from plain text
782files.</para>
783<indexterm zone="courier-package makedat">
784<primary sortas="b-makedat">makedat</primary></indexterm>
785</listitem>
786</varlistentry>
787
788<varlistentry id="makehosteddomains">
789<term><command>makehosteddomains</command></term>
790<listitem><para>rebuilds the contents of the hosteddomains database from the
791contents of <filename>/tools/etc/courier/hosteddomains</filename>.</para>
792<indexterm zone="courier-package makehosteddomains">
793<primary sortas="b-makehosteddomains">makehosteddomains</primary></indexterm>
794</listitem>
795</varlistentry>
796
797<varlistentry id="makemime">
798<term><command>makemime</command></term>
799<listitem><para>creates <acronym>MIME</acronym>-formatted messages from one
800or more files.</para>
801<indexterm zone="courier-package makemime">
802<primary sortas="b-makemime">makemime</primary></indexterm>
803</listitem>
804</varlistentry>
805
806<varlistentry id="makepercentrelay">
807<term><command>makepercentrelay</command></term>
808<listitem><para>builds a list of %-relayed domains from the
809<filename class="directory">percentrelay.dir</filename> directory.</para>
810<indexterm zone="courier-package makepercentrelay">
811<primary sortas="b-makepercentrelay">makepercentrelay</primary></indexterm>
812</listitem>
813</varlistentry>
814
815<varlistentry id="makesmtpaccess">
816<term><command>makesmtpaccess</command></term>
817<listitem><para>builds <acronym>ESMTP</acronym> server access file from the
818<filename class="directory">/etc/courier/smtpaccess</filename>
819directory.</para>
820<indexterm zone="courier-package makesmtpaccess">
821<primary sortas="b-makesmtpaccess">makesmtpaccess</primary></indexterm>
822</listitem>
823</varlistentry>
824
825<varlistentry id="makesmtpaccess-msa">
826<term><command>makesmtpaccess-msa</command></term>
827<listitem><para>builds <acronym>ESMTP</acronym> server access file from the
828<filename class="directory">/etc/courier/smtpaccess</filename> directory.
829This esmtp list is for the <acronym>MSA</acronym> protocol.</para>
830<indexterm zone="courier-package makesmtpaccess-msa">
831<primary sortas="b-makesmtpaccess-msa">makesmtpaccess-msa</primary></indexterm>
832</listitem>
833</varlistentry>
834
835<varlistentry id="makeuserdb">
836<term><command>makeuserdb</command></term>
837<listitem><para>builds user/password db from the contents
838of <filename class="directory">/tools/etc/courier/userdb</filename>.</para>
839<indexterm zone="courier-package makeuserdb">
840<primary sortas="b-makeuserdb">makeuserdb</primary></indexterm>
841</listitem>
842</varlistentry>
843
844<varlistentry id="mimegpg">
845<term><command>mimegpg</command></term>
846<listitem><para>signs, encrypts, or decrypts <acronym>MIME</acronym>-formatted
847email messages using <application>GnuPG</application>.</para>
848<indexterm zone="courier-package mimegpg">
849<primary sortas="b-mimegpg">mimegpg</primary></indexterm>
850</listitem>
851</varlistentry>
852
853<varlistentry id="mkesmtpdcert">
854<term><command>mkesmtpdcert</command></term>
855<listitem><para>creates a secure <acronym>SMTP</acronym> test
856certificate.</para>
857<indexterm zone="courier-package mkesmtpdcert">
858<primary sortas="b-mkesmtpdcert">mkesmtpdcert</primary></indexterm>
859</listitem>
860</varlistentry>
861
862<varlistentry id="mkimapdcert">
863<term><command>mkimapdcert</command></term>
864<listitem><para>creates a secure <acronym>IMAP</acronym> test
865certificate.</para>
866<indexterm zone="courier-package mkimapdcert">
867<primary sortas="b-mkimapdcert">mkimapdcert</primary></indexterm>
868</listitem>
869</varlistentry>
870
871<varlistentry id="mkpop3dcert">
872<term><command>mkpop3dcert</command></term>
873<listitem><para>creates a secure <acronym>POP3</acronym> test
874certificate.</para>
875<indexterm zone="courier-package mkpop3dcert">
876<primary sortas="b-mkpop3dcert">mkpop3dcert</primary></indexterm>
877</listitem>
878</varlistentry>
879
880<varlistentry id="pop3d">
881<term><command>pop3d</command></term>
882<listitem><para>a wrapper script for <command>couriertcpd</command> to
883start and stop the <acronym>POP3</acronym> service.</para>
884<indexterm zone="courier-package pop3d">
885<primary sortas="b-pop3d">pop3d</primary></indexterm>
886</listitem>
887</varlistentry>
888
889<varlistentry id="pop3d-ssl">
890<term><command>pop3d-ssl</command></term>
891<listitem><para>a wrapper script for <command>couriertcpd</command> to
892start and stop the <acronym>POP3</acronym> over <acronym>SSL</acronym>
893service.</para>
894<indexterm zone="courier-package pop3d-ssl">
895<primary sortas="b-pop3d-ssl">pop3d-ssl</primary></indexterm>
896</listitem>
897</varlistentry>
898
899<varlistentry id="preline">
900<term><command>preline</command></term>
901<listitem><para>prepends legacy mbox headers to mail messages.</para>
902<indexterm zone="courier-package preline">
903<primary sortas="b-preline">preline</primary></indexterm>
904</listitem>
905</varlistentry>
906
907<varlistentry id="reformail">
908<term><command>reformail</command></term>
909<listitem><para>reads a message on standard input, reformats it in some
910way, and writes the message to standard output.</para>
911<indexterm zone="courier-package reformail">
912<primary sortas="b-reformail">reformail</primary></indexterm>
913</listitem>
914</varlistentry>
915
916<varlistentry id="reformime">
917<term><command>reformime</command></term>
918<listitem><para>a utility for reformatting MIME messages.</para>
919<indexterm zone="courier-package reformime">
920<primary sortas="b-reformime">reformime</primary></indexterm>
921</listitem>
922</varlistentry>
923
924<varlistentry id="sendmail-courier">
925<term><command>sendmail</command></term>
926<listitem><para>reads an email message and delivers the message to it's
927recipients.</para>
928<indexterm zone="courier-package sendmail-courier">
929<primary sortas="b-sendmail">sendmail</primary></indexterm>
930</listitem>
931</varlistentry>
932
933<varlistentry id="submit">
934<term><command>submit</command></term>
935<listitem><para>submits messages to <application>Courier</application>for
936processing.</para>
937<indexterm zone="courier-package submit">
938<primary sortas="b-submit">submit</primary></indexterm>
939</listitem>
940</varlistentry>
941
942<varlistentry id="testmxlookup">
943<term><command>testmxlookup</command></term>
944<listitem><para>lists the names and <acronym>IP</acronym> addresses of mail
945relays that receive mail for the domain.</para>
946<indexterm zone="courier-package testmxlookup">
947<primary sortas="b-testmxlookup">testmxlookup</primary></indexterm>
948</listitem>
949</varlistentry>
950
951<varlistentry id="userdb">
952<term><command>userdb</command></term>
953<listitem><para>a script to individually manipulate entries in
954<filename>/tools/etc/courier/userdb.</filename></para>
955<indexterm zone="courier-package userdb">
956<primary sortas="b-userdb">userdb</primary></indexterm>
957</listitem>
958</varlistentry>
959
960<varlistentry id="userdbpw">
961<term><command>userdbpw</command></term>
962<listitem><para>reads a single line of text on standard input, encrypts
963it, and prints the encrypted result to standard output.</para>
964<indexterm zone="courier-package userdbpw">
965<primary sortas="b-userdbpw">userdbpw</primary></indexterm>
966</listitem>
967</varlistentry>
968</variablelist>
[f45b1953]969
[0931098]970</sect2>
[7ee9849]971
[f45b1953]972</sect1>
973
Note: See TracBrowser for help on using the repository browser.