source: server/mail/courier.xml@ e540c04

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 e540c04 was e540c04, checked in by Randy McMurchy <randy@…>, 19 years ago

Fixed typos in Courier instructions

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

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