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