source: server/mail/courier.xml@ 17143f33

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

Cleaned up courier instructions.

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

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