source: server/mail/courier.xml@ 0931098

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

Part VI xml update + bz815

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

  • Property mode set to 100644
File size: 25.7 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.2 MB">
10<!ENTITY courier-buildsize "114 MB">
11<!ENTITY courier-time "3.00 SBU">
12
13]>
14
15<sect1 id="courier" xreflabel="Courier-&courier-version;">
16<?dbhtml filename="courier.html"?>
17<title>Courier-&courier-version;</title>
18
19<sect2>
20<title>Introduction to <application>Courier</application></title>
21
22<para>The <application>Courier</application> package contains a Mail Transport
23Agent (<acronym>MTA</acronym>). This is useful for sending email to other users
24of your host machine. It can also be configured to be a central mail server for
25your domain or a mail relay agent. The <application>Courier</application>
26packages also includes a web-based email interface, <acronym>IMAP</acronym>,
27<acronym>IMAP</acronym>-<acronym>SSL</acronym>, <acronym>POP</acronym>3, and
28<acronym>POP</acronym>3-<acronym>SSL</acronym>.</para>
29
30<!--
31The configuration
32listed below will allow users with <acronym>PAM</acronym> and virtual-users in
33a <application>My<acronym>SQL</acronym></application> Database access to email.</para>
34-->
35
36<sect3><title>Package information</title>
37<itemizedlist spacing='compact'>
38<listitem><para>Download (HTTP): <ulink url="&courier-download-http;"/></para></listitem>
39<listitem><para>Download (FTP): <ulink url="&courier-download-ftp;"/></para></listitem>
40<listitem><para>Download size: &courier-size;</para></listitem>
41<listitem><para>Estimated Disk space required: &courier-buildsize;</para></listitem>
42<listitem><para>Estimated build time: &courier-time;</para></listitem></itemizedlist>
43</sect3>
44
45<sect3><title><application>Courier</application> dependencies</title>
46<sect4><title>Required</title>
47<para><xref linkend="gdbm"/><!-- or <xref linkend="db"/> --></para></sect4>
48<sect4><title>Optional</title>
49<para>
50<xref linkend="mysql"/> or <xref linkend="postgresql"/>,
51<xref linkend="Linux_PAM"/>,
52<xref linkend="openssl"/>,
53<xref linkend="fam"/>,
54<xref linkend="openldap"/>,
55<xref linkend="apache"/>,
56<xref linkend="ispell"/> or <xref linkend="aspell"/>,
57<xref linkend="gnupg"/>,
58<ulink url="http://expect.nist.gov/">Expect</ulink>,
59<ulink url="http://netpbm.sourceforge.net/">Netpbm</ulink> and
60<ulink url="http://alpha.greenie.net/mgetty/">Mgetty+Sendfax</ulink>
61</para></sect4>
62</sect3>
63
64</sect2>
65
66<sect2>
67<title>Installation of <application>Courier</application></title>
68
69<para> Before you compile the program, you need to create users and groups that
70will be expected to be in place when the install script executes. Add the users
71and groups with the following commands:</para>
72
73<screen><userinput><command>groupadd courier &amp;&amp;
74useradd -c 'Courier Mail Server' -d /dev/null -g courier -s /bin/false courier</command></userinput></screen>
75
76<para> You also need to create a bin user. If you already have a user
77named bin, this step can be safely ignored.</para>
78
79<screen><userinput><command>useradd -c 'bin' -d /dev/null -g bin -u 1 bin</command></userinput></screen>
80
81<para>This creates a
82<filename class="directory">/var/run/courier</filename> directory where
83all the <application>Courier</application> <acronym>MTA</acronym> pid
84files will exist. This will allow <filename>courierfilter.pid</filename>
85to be created. Without the <command>courierfilter</command> running, the
86<application>Courier</application> MTA will not work. Issue the
87following commands to create
88<filename class="directory">/var/run/courier</filename>:</para>
89
90<screen><userinput><command>mkdir /var/run/courier &amp;&amp;
91chown courier:courier /var/run/courier</command></userinput></screen>
92
93<para>Install <application>courier</application> by running the following commands:</para>
94
95<screen><userinput><command>./configure --prefix=/usr --libexecdir=/usr/lib/courier \
96 --datadir=/usr/share/courier --sysconfdir=/etc/courier \
97 --localstatedir=/var/lib/courier --with-piddir=/var/run/courier \
98 --disable-root-check --with-mailuser=courier --with-mailgroup=courier \
99 --with-paranoid-smtpext --disable-autorenamesent \
100 --enable-workarounds-for-imap-client-bugs --with-db=gdbm &amp;&amp;
101make &amp;&amp;
102make install &amp;&amp;
103make install-configure</command></userinput></screen>
104
105</sect2>
106
107<sect2>
108<title>Command explanations</title>
109
110<para><parameter>--libexecdir=/usr/lib/courier</parameter>: Specifies
111the directory which contains programs and libraries that cannot be
112directly executed from the command-line.</para>
113
114<para><parameter>--datadir=/usr/share/courier</parameter>: Specifies the
115directory where miscellaneous shell scripts,
116<application>Perl</application> scripts, and data files will be
117installed.</para>
118
119<para><parameter>--localstatedir=/var/spool/courier</parameter>:
120Specifies the directory that will hold the mail queue, and other
121temporary data.</para>
122
123<para><parameter>--with-piddir=/var/run/courier</parameter>: Specifies
124the directory where <application>Courier</application>'s
125<filename>PID</filename> files are stored when
126<application>Courier</application> is active.</para>
127
128<para><option>--disable-root-check</option>: Allows
129<application>Courier</application> to be built as the root user.</para>
130
131<para><parameter>--with-mailuser=courier</parameter>: All except two
132<application>Courier</application> daemons run as a non-privileged user.
133This option specifies the userid that <application>Courier</application>
134will install and run as.</para>
135
136<para><parameter>--with-mailgroup=courier</parameter>: like
137<option>--with-mailuser</option>, but specifies the group
138<acronym>ID</acronym>.</para>
139
140<para><option>--with-paranoid-smtpext</option>: Be paranoid when
141negotiating Courier-specific <acronym>ESMTP</acronym> extensions with
142remote servers. The <application>Courier</application> mail server
143defines and implements certain experimental <acronym>ESMTP</acronym>
144extensions: XVERP and XEXDATA. Problems may result in the event that
145someone else uses the same name to implement some other extension. If
146this option is specified, <application>Courier's</application>
147<acronym>ESMTP</acronym> server will also advertise a dummy
148<acronym>ESMTP</acronym> capability called XCOURIEREXTENSIONS, and will
149not recognize any Courier-specific extensions unless the remote mail
150server also advertises this dummy <acronym>ESMTP</acronym>
151capability.</para>
152
153<para><option>--disable-autorenamesent</option>: Do not rename the Sent
154folder every month. This option can also be controlled by the
155<envar>SQWEBMAIL_AUTORENAMESENT</envar> environment variable.</para>
156
157<para><option>--enable-workarounds-for-imap-client-bugs</option>: There
158are several confirmed bugs in some <acronym>IMAP</acronym> clients that
159do not properly implement the <acronym>IMAP</acronym>4rev1 protocol.
160This option enables some workarounds for those buggy
161<acronym>IMAP</acronym> clients. NOTE: <command>make check</command>
162will fail if this option is used. You should first configure without
163this option, and if all post-configuration tests succeed, rerun
164configure with this option and recompile.</para>
165
166<para><parameter>--with-db=gdbm</parameter>:
167<application>Courier</application> requires either the
168<application><acronym>GDBM</acronym></application> or the
169<application>DB</application> database library.
170<application><acronym>GDBM</acronym></application> is used if both are
171present. This option forces the selection of the GDBM database
172library since support for DB is broken at the current state.</para>
173
174<!-- # Note - Courier will build fine with <xref linkend="db"/>, but all
175the database files will not be created correctly -->
176
177<para><parameter>--with-ispell=/usr/bin/aspell</parameter>:
178<application>Courier</application>'s webmail server can use spell
179checking, if <command>configure</command> finds
180<application>ispell</application> or if you explicitly set the location
181of <application>aspell</application>.</para>
182
183<para><parameter>--enable-mimetypes=<replaceable>[location of mime.types file]</replaceable></parameter>:
184Use this switch if you receive an error saying that the
185<filename>mime.types</filename> file could not be found.</para>
186
187</sect2>
188
189<sect2>
190<title>Configuring <application>Courier</application></title>
191
192<sect3><title>Config files</title>
193<para><filename>/etc/courier/*</filename></para>
194</sect3>
195
196<sect3><title>Configuration Information</title>
197
198<para>Make the following changes in
199<filename>/etc/courier/authmysqlrc</filename> file if you are utilizing
200<application>My<acronym>SQL</acronym></application>:</para>
201
202<screen><userinput>MYSQL_SERVER localhost
203MYSQL_USERNAME courier
204MYSQL_PASSWORD <replaceable>[your choice]</replaceable>
205MYSQL_SOCKET /tmp/mysql.sock
206MYSQL_PORT 3306
207MYSQL_DATABASE courier_mail
208MYSQL_USER_TABLE users
209MYSQL_CLEAR_PWFIELD clear
210DEFAULT DOMAIN <replaceable>[your domain]</replaceable>
211MYSQL_QUOTA_FIELD quota</userinput></screen>
212
213<para>If you utilize <application>PAM</application>:</para>
214
215<screen><userinput><command>cat &gt; /etc/pam.d/esmtp &lt;&lt; "EOF"</command>
216# Begin /etc/pam.d/esmtp
217
218auth required pam_unix.so try_first_pass
219account required pam_unix.so
220session required pam_unix.so
221
222# End /etc/pam.d/esmtp
223<command>EOF
224cat &gt; /etc/pam.d/pop3 &lt;&lt; "EOF"</command>
225# Begin /etc/pam.d/pop3
226
227auth required pam_unix.so try_first_pass
228account required pam_unix.so
229session required pam_unix.so
230
231# End /etc/pam.d/pop3
232<command>EOF
233cat &gt; /etc/pam.d/imap &lt;&lt; "EOF"</command>
234# Begin /etc/pam.d/imap
235
236auth required pam_unix.so try_first_pass
237account required pam_unix.so
238session required pam_unix.so
239
240# End /etc/pam.d/imap
241<command>EOF
242cat &gt; /etc/pam.d/webmail &lt;&lt; "EOF"</command>
243# Begin /etc/pam.d/webmail
244
245auth required pam_unix.so try_first_pass
246account required pam_unix.so
247session required pam_unix.so
248
249# End /etc/pam.d/webmail
250<command>EOF</command></userinput></screen>
251
252<para>Connect to the <application>My<acronym>SQL</acronym></application>
253database:</para>
254
255<screen><userinput><command>mysql -p</command></userinput></screen>
256
257<para>This command will create the database for authentication:</para>
258
259<screen><userinput><command>CREATE DATABASE courier_mail;
260USE courier_mail</command></userinput></screen>
261
262<para>This command will setup the table users for the courier_mail
263database:</para>
264
265<screen><userinput><command>CREATE TABLE users (
266id char(128) DEFAULT '' NOT NULL,
267crypt char(128) DEFAULT '' NOT NULL,
268clear char(128) DEFAULT '' NOT NULL,
269name char(128) DEFAULT '' NOT NULL,
270uid int(10) unsigned DEFAULT '65534' NOT NULL,
271gid int(10) unsigned DEFAULT '65534' NOT NULL,
272home char(255) DEFAULT '' NOT NULL,
273quota char(255) DEFAULT '' NOT NULL,
274KEY id (id(128))
275);</command></userinput></screen>
276
277<para>This will add the courier user that we specified earlier in the
278<filename>/etc/courier/authmysqlrc</filename> file:</para>
279
280<screen><userinput><command>GRANT ALL PRIVILEGES ON *.* TO courier@localhost IDENTIFIED BY '<replaceable>[password]</replaceable>' WITH GRANT OPTION;
281QUIT</command></userinput></screen>
282
283<para><emphasis>General Settings for Mail</emphasis></para>
284
285<para>You will need to create the following files with the contents
286specified.</para>
287
288<para><filename>/etc/courier/defaultdomain</filename></para>
289
290<screen><userinput><command>cat &gt; /etc/courier/defaultdomain &lt;&lt; "EOF"</command>
291<replaceable>[yourdomain]</replaceable>
292<command>EOF</command></userinput></screen>
293
294<para><filename>/etc/courier/me</filename></para>
295
296<screen><userinput><command>cat &gt; /etc/courier/me &lt;&lt; "EOF"</command>
297<replaceable>[servername.yourdomain]</replaceable>
298<command>EOF</command></userinput></screen>
299
300<para><filename>/etc/courier/locals</filename></para>
301
302<screen><userinput><command>cat &gt; /etc/courier/locals &lt;&lt; "EOF"</command>
303localhost
304<replaceable>[yourdomain]</replaceable>
305<command>EOF</command></userinput></screen>
306
307<para><filename>/etc/courier/esmtpacceptmailfor.dir/system</filename></para>
308
309<screen><userinput><command>cat &gt;/etc/courier/esmtpacceptmailfor.dir/system &lt;&lt; "EOF"</command>
310localhost
311<replaceable>[yourdomain]</replaceable>
312<command>EOF</command></userinput></screen>
313
314<para>You will also need to edit the aliases file and change the
315following entry.</para>
316
317<para><filename>/etc/courier/aliases/system</filename></para>
318
319<screen><userinput>postmaster: <replaceable>[your administrator email]</replaceable></userinput></screen>
320
321<para>If you want to deny access from some hosts from sending mail, you
322will need to edit the
323<filename>/etc/courier/smtpaccess/default</filename> file.</para>
324
325<para>After the above steps are completed you will need to run the
326following commands:</para>
327
328<screen><userinput><command>makesmtpaccess &amp;&amp;
329makehosteddomains &amp;&amp;
330makealiases</command></userinput></screen>
331
332<para><emphasis><acronym>SMTP</acronym>/<acronym>SMTMP</acronym>-<acronym>SSL
333</acronym> Configuration</emphasis></para>
334
335<para>This section will enable the <acronym>SMTP</acronym> Server from Courier</para>
336
337<para><filename>/etc/courier/esmtpd</filename></para>
338
339<screen><userinput>ESMTPDSTART=YES</userinput></screen>
340
341<para><filename>/etc/courier/esmtpd-ssl</filename></para>
342
343<screen><userinput>ESMTPDSSLSTART=YES</userinput></screen>
344
345<para><emphasis><acronym>POP</acronym>3/<acronym>POP</acronym>3-<acronym>SSL
346</acronym> Configuration</emphasis></para>
347
348<para>This section will enable the <acronym>POP</acronym>3 Server from
349Courier</para>
350
351
352<para><filename>/etc/courier/pop3d</filename></para>
353
354<screen><userinput>POP3DSTART=YES</userinput></screen>
355
356<para><filename>/etc/courier/pop3d-ssl</filename></para>
357
358<screen><userinput>POP3DSLLSTART=YES</userinput></screen>
359
360<para><emphasis><acronym>IMAP</acronym>/<acronym>IMAP</acronym>-<acronym>SSL
361</acronym> Configuration</emphasis></para>
362
363<para>This section will enable the <acronym>IMAP</acronym> Server from
364Courier</para>
365
366<para><filename>/etc/courier/imapd</filename></para>
367
368
369<screen><userinput>IMAPDSTART=YES</userinput></screen>
370
371<para><filename>/etc/courierd/imapd-ssl</filename></para>
372
373<screen><userinput>IMAPDSSLSTART=YES</userinput></screen>
374
375<para><emphasis>Creating Mail directories for System Users</emphasis></para>
376
377
378<para>This section will explain how to create MailDirs for
379your system users.</para>
380
381<screen><userinput><command>cd /home/<replaceable>[username]</replaceable> &amp;&amp;
382maildirmake Maildir &amp;&amp;
383chown <replaceable>[username]</replaceable>.<replaceable>[username]</replaceable> Maildir -R</command></userinput></screen>
384
385<para><emphasis>Setup for Virtual users</emphasis></para>
386
387<para>This section will explain how to setup Maildir for your virtual
388users.</para>
389
390<screen><userinput><command>groupadd -g 9000 vmailman &amp;&amp;
391useradd -c 'Virtual Mailman' -g vmailman -m -k /dev/null -u 9000 vmailman</command></userinput></screen>
392
393<para>Now to setup the Maildir for these virtual users.</para>
394
395<screen><userinput><command>cd /home/vmailman &amp;&amp;
396mkdir <replaceable>[virtual_user]</replaceable> &amp;&amp;
397cd <replaceable>[virtual_user]</replaceable> &amp;&amp;
398maildirmake Maildir &amp;&amp;
399chown vmailman.vmailman Maildir -R</command></userinput></screen>
400
401<para>Connect to the <application>My<acronym>SQL</acronym></application>
402database.</para>
403
404<screen><userinput><command>mysql -u courier -p</command></userinput></screen>
405
406<para>To add the virtual user you need to enter at
407least one version of the password either clear text or encrypted.</para>
408
409<screen><userinput><command>USE courier_mail
410INSERT INTO users VALUES (
411'<replaceable>[virtual_users]</replaceable>@<replaceable>[domain.com]</replaceable>,
412'<replaceable>[encrypted password or blank]</replaceable>',
413'<replaceable>[clear text password or blank]</replaceable>',
414'<replaceable>[User's Name]</replaceable>',
4159000,
4169000,
417'<replaceable>[location of Maildir]</replaceable>',
418'<replaceable>[Quota in Bytes']</replaceable>
419);
420QUIT</command></userinput></screen>
421
422<para>For example:</para>
423
424<screen><userinput><command>INSERT INTO users VALUES (
425'blfsuser@linuxfromscratch.org',
426'',
427'password',
428'BLFS User',
4299000,
4309000,
431'/home/vmailman/blfsuser',
432''
433);</command></userinput></screen>
434
435<para><emphasis>Setup for Web-based Email</emphasis></para>
436
437<para>This section will explain how to setup Courier Web-based email
438system.</para>
439
440<para>You will need to copy the <filename>webmail</filename> file from
441<filename>/usr/lib/courier/courier/webmail</filename> to your <filename>cgi-bin
442</filename> directory of your <application>Apache</application>
443server.</para>
444
445<screen><userinput><command>cp -a /usr/lib/courier/courier/webmail/webmail /var/www/cgi-bin</command></userinput></screen>
446
447<para>You will then need to copy the images to a directory under your
448<filename>htdocs</filename> directory of your
449<application>Apache</application> server. The directory needs to be named
450<filename>webmail</filename> or you need to specify it during the configure
451phase with <parameter>--enable-imageurl=<replaceable>[URL]</replaceable></parameter>.</para>
452
453<screen><userinput><command>cp -a /usr/share/courier/sqwebmail/images /var/www/htdocs/webmail</command></userinput></screen>
454<para><emphasis>Setup for Web-based Email</emphasis></para>
455
456<para>This section will explain how to setup Courier Web-based administration
457system.</para>
458
459<para>You will need to copy the <filename>webadmin</filename> file from
460<filename class="directory">/usr/lib/courier/courier/webmail</filename>
461to your <filename class="directory">cgi-bin</filename> directory of your
462<application>Apache</application> server.</para>
463
464<screen><userinput><command>cp -a /usr/lib/courier/courier/webmail/webadmin /var/www/cgi-bin</command></userinput></screen>
465
466<para><filename>/etc/courier/webadmin/password</filename></para>
467
468<screen><userinput><command>cat &gt; /etc/courier/webadmin/password &lt;&lt; "EOF"</command>
469<replaceable>[password]</replaceable>
470<command>EOF</command></userinput></screen>
471
472<para>If you are not using <acronym>SSL</acronym> on your <application>Apache
473</application> server, you will need to add
474<filename>/etc/courier/webadmin/unsecureok</filename>, so you will be able
475to use your web based administration tool.</para>
476
477<screen><userinput><command>touch /etc/courier/webadmin/unsecureok</command></userinput></screen>
478</sect3>
479
480<sect3><title>Courier init.d script</title>
481
482<para>The startup script from the <application>Courier</application> package is
483the easiest to use. It will automatically create missing data files, and
484<acronym>SSL</acronym> certificates if they are missing. To install the
485init.d file for <application>Courier</application>, you will need to use the
486following commands:</para>
487
488<screen><userinput><command>cp /usr/src/courier-&courier-version;/courier.sysvinit /etc/rc.d/init.d/courier &amp;&amp;
489chmod 754 /etc/rc.d/init.d/courier</command></userinput></screen>
490
491<para>Create the symbolic links to this file in the relevant
492<filename>rc.d</filename> directory with the following commands:</para>
493
494<screen><userinput><command>cd /etc/rc.d/init.d &amp;&amp;
495ln -sf ../init.d/courier ../rc0.d/K25courier &amp;&amp;
496ln -sf ../init.d/courier ../rc1.d/K25courier &amp;&amp;
497ln -sf ../init.d/courier ../rc2.d/K25courier &amp;&amp;
498ln -sf ../init.d/courier ../rc3.d/S35courier &amp;&amp;
499ln -sf ../init.d/courier ../rc4.d/S35courier &amp;&amp;
500ln -sf ../init.d/courier ../rc5.d/S35courier &amp;&amp;
501ln -sf ../init.d/courier ../rc6.d/K25courier</command></userinput></screen>
502
503</sect3>
504</sect2>
505
506<sect2>
507<title>Contents</title>
508
509<para>The <application>Courier</application> package contains
510<command>addcr</command>,
511<command>authenumerate</command>,
512<command>cancelmsg</command>,
513<command>courier</command>,
514<command>courier-config</command>,
515<command>courieresmtpd</command>,
516<command>courierfilter</command>,
517<command>courierldapaliasd</command>,
518<command>courierlogger</command>,
519<command>couriermlm</command>,
520<command>couriertcpd</command>,
521<command>couriertls</command>,
522<command>deliverquota</command>,
523<command>dotforward</command>,
524<command>esmtpd</command>,
525<command>esmtpd-msa</command>,
526<command>esmtpd-ssl</command>,
527<command>filterctl</command>,
528<command>imapd</command>,
529<command>imapd</command>,
530<command>imapd-ssl</command>,
531<command>lockmail</command>,
532<command>mailbot</command>,
533<command>maildiracl</command>,
534<command>maildirkw</command>,
535<command>maildirmake</command>,
536<command>maildrop</command>,
537<command>makeacceptmailfor</command>,
538<command>makealiases</command>,
539<command>makedat</command>,
540<command>makehosteddomains</command>,
541<command>makemime</command>,
542<command>makepercentrelay</command>,
543<command>makesmtpaccess</command>,
544<command>makesmtpaccess-msa</command>,
545<command>makeuserdb</command>,
546<command>makeuucpneighbors</command>,
547<command>mimegpg</command>,
548<command>mkesmtpdcert</command>,
549<command>mkimapdcert</command>,
550<command>mkpop3dcert</command>,
551<command>pop3d</command>,
552<command>pop3d-ssl</command>,
553<command>preline</command>,
554<command>pw2userdb</command>,
555<command>reformail</command>,
556<command>reformime</command>,
557<command>rmail</command>,
558<command>sendmail</command>,
559<command>sharedindexinstall</command>,
560<command>sharedindexsplit</command>,
561<command>showconfig</command>,
562<command>showmodules</command>,
563<command>testmxlookup</command>,
564<command>userdb</command>,
565<command>userdbpw</command>,
566<command>vchkpw2userdb</command> and
567<command>webgpg</command>.</para>
568
569</sect2>
570
571<sect2><title>Description</title>
572
573<sect3><title>cancelmsg</title>
574<para><command>cancelmsg</command> removes a message from the mail queue.</para></sect3>
575
576<sect3><title>courier</title>
577<para><command>courier</command> is a modular multi-protocol E-mail
578transport agent. The <command>courier</command> command is an
579administrative command, and most of its options are only available to
580the superuser.</para></sect3>
581
582<sect3><title>courierfilter</title>
583<para><command>courierfilter</command> command installs or uninstalls
584global mail filters. Global mail filters are used to selectively block
585unwanted mail.</para></sect3>
586
587<sect3><title>couriermlm</title>
588<para><command>couriermlm</command> is the Courier mailing list manager.</para></sect3>
589
590<sect3><title>filterctl</title>
591<para><command>filterctl</command> command installs or uninstalls global
592mail filters. Global mail filters are used to selectively block unwanted
593mail.</para></sect3>
594
595<sect3><title>lockmail</title>
596<para><command>lockmail</command> is a helper utility for working with mailbox files.</para></sect3>
597
598<sect3><title>mailbot</title>
599<para><command>mailbot</command> reads an E-mail message on standard input and creates an E-mail message
600replying to the original message's sender.</para></sect3>
601
602<sect3><title>maildirkw</title>
603<para><command>maildirkw</command> modifies Courier-IMAP compatible maildir message keywords.</para></sect3>
604
605<sect3><title>maildrop</title>
606<para><command>maildrop</command> is a replacement local mail delivery agent that includes a mail filtering
607language.</para></sect3>
608
609<sect3><title>makeacceptmailfor</title>
610<para><command>makeacceptmailfor</command> Build a list of domains to accept mail for from the
611<filename>/etc/courier/esmtpacceptmailfor.dir</filename> directory.</para></sect3>
612
613<sect3><title>makealiases</title>
614<para><command>makealiases</command> Build a list of aliases from the <filename>/etc/courier/aliases</filename>
615or <filename>/etc/courier/aliasdir</filename> directories.</para></sect3>
616
617<sect3><title>makehosteddomains</title>
618<para><command>makehostedomains</command> Build a database of hosted domains from <filename>hosteddomains</filename>.</para></sect3>
619
620<sect3><title>makepercentrelay</title>
621<para><command>makepercentrelay</command> Build a list of %-relayed
622domains from the <filename>percentrelay.dir</filename>
623directory.</para></sect3>
624
625<sect3><title>makesmtpaccess</title>
626<para><command>makesmtpaccess</command> Build ESMTP server access file
627from the <filename>/etc/courier/smtpaccess</filename>
628directory.</para></sect3>
629
630<sect3><title>makesmtpaccess-msa</title>
631<para><command>makesmtpaccess-msa</command> Build ESMTP server access
632file from the <filename>/etc/courier/smtpaccess</filename>
633directory. This esmtp list is for the MSA protocol.</para></sect3>
634
635<sect3><title>makeuucpneighbors</title>
636<para><command>makeuucpneighbors</command> Builds a list of
637<acronym>UUCP</acronym> recipients using <filename>/etc/courier/uucpneighbors</filename>.</para></sect3>
638
639<sect3><title>reformail</title>
640<para><command>reformail</command> program reads a message on standard input, reformats it in some way,
641 and writes the message to standard output.</para></sect3>
642
643<sect3><title>reformime</title>
644<para><command>reformime</command> is a utility for reformatting MIME messages.</para></sect3>
645
646<sect3><title>sendmail</title>
647<para><command>sendmail</command> command reads an E-mail message and delivers the message to its recipients.
648This sendmail command is part of the Courier mail server, although it attempts to emulate the behavior of the
649original sendmail MTA.</para></sect3>
650
651<sect3><title>showconfig</title>
652<para><command>showconfig</command> Shows the current Courier configuration.</para></sect3>
653
654<sect3><title>showmodules</title>
655<para><command>showmodules</command> Shows the current Courier modules.</para></sect3>
656
657<sect3><title>testmxlookup</title>
658<para><command>testmxlookup</command> lists the names and IP addresses of mail relays that receive mail for the
659domain. This is useful in diagnosing mail delivery problems.</para></sect3>
660
661</sect2>
662</sect1>
663
Note: See TracBrowser for help on using the repository browser.