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