source: server/mail/courier.xml@ fdcfc4cf

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 fdcfc4cf was 5db3785e, checked in by Randy McMurchy <randy@…>, 19 years ago

Round 2 of renaming package-name entities

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

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