source: server/mail/courier.xml@ 939cf0da

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

Moved OpenSSL from Chapter 8 to Chapter 4

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

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