source: server/mail/courier.xml@ 793c1ba

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 793c1ba was 793c1ba, checked in by Randy McMurchy <randy@…>, 20 years ago

Added md5sums to Chapter 21 packages

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

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