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