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