[0931098] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[0931098] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[417f9e7] | 7 | <!ENTITY postfix-download-http "http://www.mirrorspace.org/postfix/official/postfix-&postfix-version;.tar.gz">
|
---|
| 8 | <!ENTITY postfix-download-ftp "ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-&postfix-version;.tar.gz">
|
---|
[cef276c] | 9 | <!ENTITY postfix-md5sum "f957e9319428be81c724b606fe060cc7">
|
---|
| 10 | <!ENTITY postfix-size "2.6 MB">
|
---|
| 11 | <!ENTITY postfix-buildsize "85 MB">
|
---|
| 12 | <!ENTITY postfix-time "0.5 SBU">
|
---|
[0931098] | 13 | ]>
|
---|
| 14 |
|
---|
[547df0bc] | 15 | <sect1 id="postfix" xreflabel="Postfix-&postfix-version;">
|
---|
[417f9e7] | 16 | <?dbhtml filename="postfix.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Postfix-&postfix-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="postfix">
|
---|
| 26 | <primary sortas="a-Postfix">Postfix</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Postfix</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>Postfix</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, a mail relay agent or simply a mail delivery
|
---|
| 36 | agent to your local Internet Service Provider (ISP).</para>
|
---|
| 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&postfix-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&postfix-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &postfix-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &postfix-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &postfix-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: &postfix-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
| 59 |
|
---|
| 60 | <bridgehead renderas="sect3">Postfix Dependencies</bridgehead>
|
---|
| 61 |
|
---|
[3f87e4a] | 62 | <!-- commenting this out as BDB is now built in LFS
|
---|
| 63 |
|
---|
[417f9e7] | 64 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[a6ac43b] | 65 | <para role="required"><xref linkend="db"/></para>
|
---|
[417f9e7] | 66 |
|
---|
[3f87e4a] | 67 | -->
|
---|
| 68 |
|
---|
[417f9e7] | 69 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[a6ac43b] | 70 | <para role="optional"><xref linkend="pcre"/>,
|
---|
[417f9e7] | 71 | <xref linkend="mysql"/>,
|
---|
| 72 | <xref linkend="postgresql"/>,
|
---|
| 73 | <xref linkend="openldap"/>,
|
---|
[daeea03] | 74 | <xref linkend="openssl"/>,
|
---|
[3f87e4a] | 75 | <xref linkend="cyrus-sasl"/>, and
|
---|
[daeea03] | 76 | <ulink url="http://cr.yp.to/cdb.html">cdb</ulink> or
|
---|
| 77 | <ulink url="http://www.corpit.ru/mjt/tinycdb.html">TinyCDB</ulink></para>
|
---|
[417f9e7] | 78 |
|
---|
[3cb0c57] | 79 | <para condition="html" role="usernotes">User Notes:
|
---|
| 80 | <ulink url="&blfs-wiki;/postfix"/></para>
|
---|
| 81 |
|
---|
[417f9e7] | 82 | </sect2>
|
---|
| 83 |
|
---|
| 84 | <sect2 role="installation">
|
---|
| 85 | <title>Installation of Postfix</title>
|
---|
| 86 |
|
---|
| 87 | <sect3>
|
---|
| 88 | <title>Configuring the Build</title>
|
---|
| 89 |
|
---|
| 90 | <para>The <application>Postfix</application> source tree does not contain
|
---|
| 91 | a <filename>configure</filename> script, rather the makefile in the
|
---|
| 92 | top-level directory contains a <option>makefiles</option> target that
|
---|
| 93 | regenerates all the other makefiles in the build tree. If you wish to
|
---|
| 94 | use additional software such as a database back-end for virtual users, or
|
---|
| 95 | TLS/SSL authentication, you will need to regenerate the makefiles using
|
---|
| 96 | one or more of the appropriate <envar>CCARGS</envar> and
|
---|
| 97 | <envar>AUXLIBS</envar> settings listed below.</para>
|
---|
| 98 |
|
---|
[5690030] | 99 | <para>Here is an example that combines the TLS and
|
---|
[417f9e7] | 100 | <application>Cyrus-SASL</application> arguments:</para>
|
---|
| 101 |
|
---|
| 102 | <screen><userinput>make makefiles \
|
---|
[07abc5b] | 103 | CCARGS='-DUSE_TLS -DUSE_SASL_AUTH -DUSE_CYRUS_SASL \
|
---|
| 104 | -DDEF_DAEMON_DIR=\"/usr/lib/postfix\" \
|
---|
| 105 | -DDEF_MANPAGE_DIR=\"/usr/share/man\" \
|
---|
| 106 | -DDEF_HTML_DIR=\"/usr/share/doc/postfix-&postfix-version;/html\" \
|
---|
| 107 | -DDEF_README_DIR=\"/usr/share/doc/postfix-&postfix-version;/README\" \
|
---|
| 108 | -I/usr/include/openssl -I/usr/include/sasl' \
|
---|
[5690030] | 109 | AUXLIBS='-L/usr/lib -lssl -lcrypto -lsasl2'</userinput></screen>
|
---|
[3bfd1d6] | 110 |
|
---|
[417f9e7] | 111 | <sect4>
|
---|
[5690030] | 112 | <title>TLS Authentication</title>
|
---|
[3bfd1d6] | 113 |
|
---|
[5e82411c] | 114 | <para>To use TLS authentication with postfix
|
---|
| 115 | you will need to pass the following values to the
|
---|
[417f9e7] | 116 | <command>make makefiles</command> command:</para>
|
---|
[3bfd1d6] | 117 |
|
---|
[5690030] | 118 | <screen><literal>CCARGS='-DUSE_TLS -I/usr/include/openssl'
|
---|
| 119 | AUXLIBS='-L/usr/lib -lssl -lcrypto'</literal></screen>
|
---|
[3bfd1d6] | 120 |
|
---|
[5690030] | 121 | <para>To use TLS you will also need
|
---|
[417f9e7] | 122 | <xref linkend="cyrus-sasl"/>.</para>
|
---|
[3bfd1d6] | 123 |
|
---|
[417f9e7] | 124 | </sect4>
|
---|
[3bfd1d6] | 125 |
|
---|
[417f9e7] | 126 | <sect4>
|
---|
| 127 | <title>Cyrus-SASL</title>
|
---|
[3bfd1d6] | 128 |
|
---|
[417f9e7] | 129 | <para>To use <application>Cyrus-SASL</application> with
|
---|
| 130 | <application>Postfix</application>, use the following arguments:</para>
|
---|
[3bfd1d6] | 131 |
|
---|
[07abc5b] | 132 | <screen><literal>CCARGS='-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl'
|
---|
[5690030] | 133 | AUXLIBS='-L/usr/lib -lsasl2'</literal></screen>
|
---|
[3bfd1d6] | 134 |
|
---|
[417f9e7] | 135 | </sect4>
|
---|
[3bfd1d6] | 136 |
|
---|
[417f9e7] | 137 | <sect4>
|
---|
| 138 | <title>OpenLDAP</title>
|
---|
[3bfd1d6] | 139 |
|
---|
[417f9e7] | 140 | <para>To use <application>OpenLDAP</application> with
|
---|
| 141 | <application>Postfix</application>, use the following
|
---|
| 142 | arguments:</para>
|
---|
[3bfd1d6] | 143 |
|
---|
[5690030] | 144 | <screen><literal>CCARGS='-I/usr/include -DHAS_LDAP'
|
---|
| 145 | AUXLIBS='-L/usr/lib -lldap -llber'</literal></screen>
|
---|
[3bfd1d6] | 146 |
|
---|
[417f9e7] | 147 | </sect4>
|
---|
[3bfd1d6] | 148 |
|
---|
[417f9e7] | 149 | <sect4>
|
---|
| 150 | <title>MySQL</title>
|
---|
[0931098] | 151 |
|
---|
[417f9e7] | 152 | <para>To use <application>MySQL</application> with
|
---|
| 153 | <application>Postfix</application>, use the following
|
---|
| 154 | arguments:</para>
|
---|
| 155 |
|
---|
[5690030] | 156 | <screen><literal>CCARGS='-DHAS_MYSQL -I/usr/include/mysql'
|
---|
| 157 | AUXLIBS='-L/usr/lib -lmysqlclient -lz -lm'</literal></screen>
|
---|
[417f9e7] | 158 |
|
---|
| 159 | </sect4>
|
---|
| 160 |
|
---|
| 161 | <sect4>
|
---|
| 162 | <title>PostgreSQL</title>
|
---|
| 163 |
|
---|
| 164 | <para>To use <application>PostgreSQL</application> with
|
---|
| 165 | <application>Postfix</application>, use the following
|
---|
| 166 | arguments:</para>
|
---|
| 167 |
|
---|
[5690030] | 168 | <screen><literal>CCARGS='-DHAS_PGSQL -I/usr/include/postgresql'
|
---|
| 169 | AUXLIBS='-L/usr/lib -lpq -lz -lm'</literal></screen>
|
---|
[417f9e7] | 170 |
|
---|
| 171 | </sect4>
|
---|
| 172 |
|
---|
[daeea03] | 173 | <sect4>
|
---|
| 174 | <title>TinyCDB</title>
|
---|
| 175 |
|
---|
| 176 | <para>To use <application>TinyCDB</application> with
|
---|
| 177 | <application>Postfix</application>, use the following
|
---|
| 178 | arguments:</para>
|
---|
| 179 |
|
---|
[bccbdaea] | 180 | <screen><literal>CCARGS='-DHAS_CDB'
|
---|
[3cb0c57] | 181 | AUXLIBS='<replaceable></path/to/CDB></replaceable>/libcdb.a'</literal></screen>
|
---|
[daeea03] | 182 |
|
---|
| 183 | </sect4>
|
---|
| 184 |
|
---|
[417f9e7] | 185 | </sect3>
|
---|
| 186 |
|
---|
| 187 | <sect3>
|
---|
| 188 | <title>Installing Postfix</title>
|
---|
| 189 |
|
---|
| 190 | <para>Before you compile the program, you need to create users and groups
|
---|
[0dfb754] | 191 | that will be expected to be in place during the installation.
|
---|
| 192 | Add the users and groups with the following commands issued by the
|
---|
| 193 | <systemitem class='username'>root</systemitem> user:</para>
|
---|
| 194 |
|
---|
| 195 | <screen role="root"><userinput>groupadd -g 32 postfix &&
|
---|
| 196 | groupadd -g 33 postdrop &&
|
---|
| 197 | useradd -c "Postfix Daemon User" -d /dev/null -g postfix \
|
---|
| 198 | -s /bin/false -u 32 postfix &&
|
---|
| 199 | chown -v postfix:postfix /var/mail</userinput></screen>
|
---|
[0931098] | 200 |
|
---|
[417f9e7] | 201 | <para>Install <application>Postfix</application> by running the
|
---|
| 202 | following commands:</para>
|
---|
[0931098] | 203 |
|
---|
[cef276c] | 204 | <screen><userinput>make makefiles \
|
---|
| 205 | CCARGS='-DDEF_DAEMON_DIR=\"/usr/lib/postfix\" \
|
---|
| 206 | -DDEF_MANPAGE_DIR=\"/usr/share/man\" \
|
---|
| 207 | -DDEF_HTML_DIR=\"/usr/share/doc/postfix-&postfix-version;/html\" \
|
---|
| 208 | -DDEF_README_DIR=\"/usr/share/doc/postfix-&postfix-version;/README\" \
|
---|
| 209 | <replaceable><additional args></replaceable>' \
|
---|
[b8dba81] | 210 | <replaceable><AUXLIBS='additional args'></replaceable> &&
|
---|
[5690030] | 211 | make</userinput></screen>
|
---|
[0dfb754] | 212 |
|
---|
[cef276c] | 213 | <!-- There is a testsuite, but it fails a lot. It seems to need
|
---|
| 214 | the host to be specifically setup for the tests.
|
---|
| 215 | Run with `make tests' and `make root_tests' -->
|
---|
[daeea03] | 216 | <para>This package does not come with a test suite.</para>
|
---|
| 217 |
|
---|
[0dfb754] | 218 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 219 |
|
---|
[5690030] | 220 | <screen role='root'><userinput>sh postfix-install -non-interactive</userinput></screen>
|
---|
[417f9e7] | 221 |
|
---|
| 222 | </sect3>
|
---|
[0931098] | 223 |
|
---|
[417f9e7] | 224 | </sect2>
|
---|
[0931098] | 225 |
|
---|
[417f9e7] | 226 | <sect2 role="commands">
|
---|
| 227 | <title>Command Explanations</title>
|
---|
[0931098] | 228 |
|
---|
[417f9e7] | 229 | <para><command>make makefiles</command>: This command rebuilds the
|
---|
| 230 | makefiles throughout the source tree to use the options contained in the
|
---|
| 231 | <envar>CCARGS</envar> and <envar>AUXLIBS</envar> variables.</para>
|
---|
[8568fa6] | 232 |
|
---|
[cef276c] | 233 | <para><command>sh postfix-install -non-interactive</command>: This
|
---|
[5690030] | 234 | keeps the install script from asking any questions, thereby accepting
|
---|
[cef276c] | 235 | default destination directories in all but the few cases mentioned in
|
---|
[5690030] | 236 | the 'make makefiles' command.</para>
|
---|
| 237 |
|
---|
[417f9e7] | 238 | </sect2>
|
---|
[0931098] | 239 |
|
---|
[417f9e7] | 240 | <sect2 role="configuration">
|
---|
| 241 | <title>Configuring Postfix</title>
|
---|
[0931098] | 242 |
|
---|
[417f9e7] | 243 | <sect3 id="postfix-config">
|
---|
| 244 | <title>Config Files</title>
|
---|
[0931098] | 245 |
|
---|
[417f9e7] | 246 | <para><filename>/etc/aliases</filename>,
|
---|
| 247 | <filename>/etc/postfix/main.cf</filename>, and
|
---|
| 248 | <filename>/etc/postfix/master.cf</filename></para>
|
---|
[6c703f15] | 249 |
|
---|
[417f9e7] | 250 | <indexterm zone="postfix postfix-config">
|
---|
| 251 | <primary sortas="e-etc-aliases">/etc/aliases</primary>
|
---|
| 252 | </indexterm>
|
---|
[0931098] | 253 |
|
---|
[417f9e7] | 254 | <indexterm zone="postfix postfix-config">
|
---|
| 255 | <primary sortas="e-etc-postfix-star">/etc/postfix/*</primary>
|
---|
| 256 | </indexterm>
|
---|
| 257 |
|
---|
| 258 | </sect3>
|
---|
| 259 |
|
---|
| 260 | <sect3>
|
---|
| 261 | <title>Configuration Information</title>
|
---|
| 262 |
|
---|
| 263 | <screen role="root"><userinput>cat >> /etc/aliases << "EOF"
|
---|
| 264 | <literal># Begin /etc/aliases
|
---|
[0931098] | 265 |
|
---|
| 266 | MAILER-DAEMON: postmaster
|
---|
| 267 | postmaster: root
|
---|
| 268 |
|
---|
| 269 | root: LOGIN
|
---|
[417f9e7] | 270 | # End /etc/aliases</literal>
|
---|
| 271 | EOF</userinput></screen>
|
---|
| 272 |
|
---|
| 273 | <note>
|
---|
| 274 | <para>To protect an existing <filename>/etc/aliases</filename> file,
|
---|
| 275 | the above command appends these aliases to it if it exists. This file
|
---|
| 276 | should be checked and duplicate aliases removed, if present.</para>
|
---|
| 277 | </note>
|
---|
| 278 |
|
---|
| 279 | <para>The <filename>/etc/aliases</filename> file that was just created
|
---|
| 280 | or appended, the <filename>main.cf</filename> and the
|
---|
| 281 | <filename>master.cf</filename> must be personalized for your system.
|
---|
| 282 | The <filename>aliases</filename> file needs your non-root login identity
|
---|
| 283 | so mail addressed to <systemitem class="username">root</systemitem> can
|
---|
| 284 | be forwarded to you at the user level. The <filename>main.cf</filename>
|
---|
| 285 | file needs your fully qualified hostname. All of these edits can be done
|
---|
| 286 | with <command>sed</command> commands entered into the console with
|
---|
| 287 | appropriate substitutions of your non-root login name for
|
---|
[3cb0c57] | 288 | <replaceable><user></replaceable> and your fully qualified hostname for
|
---|
| 289 | <replaceable><localhost.localdomain></replaceable>. You will find the
|
---|
[417f9e7] | 290 | <filename>main.cf</filename> file is self documenting, so load it into
|
---|
| 291 | your editor to make the changes you need for your situation.</para>
|
---|
| 292 |
|
---|
[3cb0c57] | 293 | <screen role="root"><userinput>sed -i "s/LOGIN/<replaceable><user></replaceable>/" /etc/aliases &&
|
---|
[417f9e7] | 294 | sed -i "s/#myhostname = host.domain.tld/myhostname = \
|
---|
[3cb0c57] | 295 | <replaceable><localhost.localdomain></replaceable>/" /etc/postfix/main.cf &&
|
---|
[cef276c] | 296 | /usr/bin/newaliases</userinput></screen>
|
---|
| 297 |
|
---|
| 298 | <para>If you have an existing configuration, you can run the
|
---|
| 299 | <command>postfix</command> utility to add any necessary definitions
|
---|
| 300 | to your existing files. As the
|
---|
| 301 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 302 |
|
---|
| 303 | <screen role="root"><userinput>/usr/sbin/postfix upgrade-configuration</userinput></screen>
|
---|
| 304 |
|
---|
| 305 | <para>Before starting <application>Postfix</application>, you
|
---|
| 306 | should check that your configuration and file permissions will work
|
---|
| 307 | properly. Run the following commands as the
|
---|
| 308 | <systemitem class="username">root</systemitem> user to check and
|
---|
| 309 | start your <application>Postfix</application> server:</para>
|
---|
| 310 |
|
---|
| 311 | <screen role="root"><userinput>/usr/sbin/postfix check &&
|
---|
[417f9e7] | 312 | /usr/sbin/postfix start</userinput></screen>
|
---|
| 313 |
|
---|
| 314 | </sect3>
|
---|
| 315 |
|
---|
| 316 | <sect3 id="postfix-init">
|
---|
| 317 | <title>Boot Script</title>
|
---|
| 318 |
|
---|
| 319 | <para>To automate the running of Postfix at startup, install the
|
---|
| 320 | <filename>/etc/rc.d/init.d/postfix</filename> init script included
|
---|
[5254d12] | 321 | in the <xref linkend="bootscripts"/> package.</para>
|
---|
[417f9e7] | 322 |
|
---|
| 323 | <indexterm zone="postfix postfix-init">
|
---|
| 324 | <primary sortas="f-postfix">postfix</primary>
|
---|
| 325 | </indexterm>
|
---|
| 326 |
|
---|
| 327 | <screen role="root"><userinput>make install-postfix</userinput></screen>
|
---|
| 328 |
|
---|
| 329 | </sect3>
|
---|
| 330 |
|
---|
| 331 | </sect2>
|
---|
| 332 |
|
---|
| 333 | <sect2 role="content">
|
---|
| 334 | <title>Contents</title>
|
---|
| 335 |
|
---|
| 336 | <segmentedlist>
|
---|
| 337 | <segtitle>Installed Programs</segtitle>
|
---|
| 338 | <segtitle>Installed Libraries</segtitle>
|
---|
| 339 | <segtitle>Installed Directories</segtitle>
|
---|
| 340 |
|
---|
| 341 | <seglistitem>
|
---|
[2686d16] | 342 | <seg>anvil, bounce, cleanup, discard, error, flush, lmtp, local, mailq,
|
---|
| 343 | master, newaliases, nqmgr, oqmgr, pickup, pipe, postalias, postcat,
|
---|
| 344 | postconf, postdrop, postfix, postkick, postlock, postlog, postmap,
|
---|
| 345 | postqueue, postsuper, proxymap, qmgr, qmqpd, sendmail, showq, smtp,
|
---|
| 346 | smtpd, spawn, tlsmgr, trivial-rewrite, verify, and virtual</seg>
|
---|
[417f9e7] | 347 | <seg>None</seg>
|
---|
[cef276c] | 348 | <seg>/etc/postfix, /usr/lib/postfix and
|
---|
| 349 | /usr/share/doc/postfix-&postfix-version;</seg>
|
---|
[417f9e7] | 350 | </seglistitem>
|
---|
| 351 | </segmentedlist>
|
---|
| 352 |
|
---|
| 353 | <variablelist>
|
---|
| 354 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 355 | <?dbfo list-presentation="list"?>
|
---|
| 356 | <?dbhtml list-presentation="table"?>
|
---|
| 357 |
|
---|
[2686d16] | 358 | <varlistentry id="anvil">
|
---|
| 359 | <term><command>anvil</command></term>
|
---|
| 360 | <listitem>
|
---|
| 361 | <para>Provides connection and rate request limiting.</para>
|
---|
| 362 | <indexterm zone="postfix anvil">
|
---|
| 363 | <primary sortas="b-anvil">anvil</primary>
|
---|
| 364 | </indexterm>
|
---|
| 365 | </listitem>
|
---|
| 366 | </varlistentry>
|
---|
| 367 |
|
---|
[417f9e7] | 368 | <varlistentry id="bounce">
|
---|
| 369 | <term><command>bounce</command></term>
|
---|
| 370 | <listitem>
|
---|
| 371 | <para>A daemon that maintains per-message log files with
|
---|
| 372 | non-delivery status information.</para>
|
---|
| 373 | <indexterm zone="postfix bounce">
|
---|
| 374 | <primary sortas="b-bounce">bounce</primary>
|
---|
| 375 | </indexterm>
|
---|
| 376 | </listitem>
|
---|
| 377 | </varlistentry>
|
---|
| 378 |
|
---|
| 379 | <varlistentry id="cleanup">
|
---|
| 380 | <term><command>cleanup</command></term>
|
---|
| 381 | <listitem>
|
---|
| 382 | <para>A daemon that processes inbound mail, inserts it into the
|
---|
[2686d16] | 383 | incoming mail queue, and informs the queue manager of its
|
---|
| 384 | arrival.</para>
|
---|
[417f9e7] | 385 | <indexterm zone="postfix cleanup">
|
---|
| 386 | <primary sortas="b-cleanup">cleanup</primary>
|
---|
| 387 | </indexterm>
|
---|
| 388 | </listitem>
|
---|
| 389 | </varlistentry>
|
---|
| 390 |
|
---|
[2686d16] | 391 | <varlistentry id="discard">
|
---|
| 392 | <term><command>discard</command></term>
|
---|
| 393 | <listitem>
|
---|
[76d61ba] | 394 | <para>Processes delivery requests from the queue manager that cannot
|
---|
[2686d16] | 395 | be delivered to the recipient.</para>
|
---|
| 396 | <indexterm zone="postfix discard">
|
---|
| 397 | <primary sortas="b-discard">discard</primary>
|
---|
| 398 | </indexterm>
|
---|
| 399 | </listitem>
|
---|
| 400 | </varlistentry>
|
---|
| 401 |
|
---|
[417f9e7] | 402 | <varlistentry id="error">
|
---|
| 403 | <term><command>error</command></term>
|
---|
| 404 | <listitem>
|
---|
[45de7f7] | 405 | <para>A daemon that processes non-delivery requests from the
|
---|
[417f9e7] | 406 | queue manager.</para>
|
---|
| 407 | <indexterm zone="postfix error">
|
---|
| 408 | <primary sortas="b-error">error</primary>
|
---|
| 409 | </indexterm>
|
---|
| 410 | </listitem>
|
---|
| 411 | </varlistentry>
|
---|
| 412 |
|
---|
| 413 | <varlistentry id="flush">
|
---|
| 414 | <term><command>flush</command></term>
|
---|
| 415 | <listitem>
|
---|
| 416 | <para>A daemon that maintains a record of deferred mail by
|
---|
| 417 | destination.</para>
|
---|
| 418 | <indexterm zone="postfix flush">
|
---|
| 419 | <primary sortas="b-flush">flush</primary>
|
---|
| 420 | </indexterm>
|
---|
| 421 | </listitem>
|
---|
| 422 | </varlistentry>
|
---|
| 423 |
|
---|
| 424 | <varlistentry id="lmtp">
|
---|
| 425 | <term><command>lmtp</command></term>
|
---|
| 426 | <listitem>
|
---|
| 427 | <para>A daemon that processes message delivery requests from the
|
---|
| 428 | queue manager.</para>
|
---|
| 429 | <indexterm zone="postfix lmtp">
|
---|
| 430 | <primary sortas="b-lmtp">lmtp</primary>
|
---|
| 431 | </indexterm>
|
---|
| 432 | </listitem>
|
---|
| 433 | </varlistentry>
|
---|
| 434 |
|
---|
| 435 | <varlistentry id="local">
|
---|
| 436 | <term><command>local</command></term>
|
---|
| 437 | <listitem>
|
---|
| 438 | <para>A daemon that processes delivery requests from the queue
|
---|
| 439 | manager to deliver mail to local recipients.</para>
|
---|
| 440 | <indexterm zone="postfix local">
|
---|
| 441 | <primary sortas="b-local">local</primary>
|
---|
| 442 | </indexterm>
|
---|
| 443 | </listitem>
|
---|
| 444 | </varlistentry>
|
---|
| 445 |
|
---|
| 446 | <varlistentry id="mailq">
|
---|
| 447 | <term><command>mailq</command></term>
|
---|
| 448 | <listitem>
|
---|
| 449 | <para>A symlink to <filename>sendmail</filename>.</para>
|
---|
| 450 | <indexterm zone="postfix mailq">
|
---|
| 451 | <primary sortas="b-mailq">mailq</primary>
|
---|
| 452 | </indexterm>
|
---|
| 453 | </listitem>
|
---|
| 454 | </varlistentry>
|
---|
| 455 |
|
---|
| 456 | <varlistentry id="master">
|
---|
| 457 | <term><command>master</command></term>
|
---|
| 458 | <listitem>
|
---|
| 459 | <para>The resident process that runs
|
---|
| 460 | <application>Postfix</application> daemons on demand.</para>
|
---|
| 461 | <indexterm zone="postfix master">
|
---|
| 462 | <primary sortas="b-master">master</primary>
|
---|
| 463 | </indexterm>
|
---|
| 464 | </listitem>
|
---|
| 465 | </varlistentry>
|
---|
| 466 |
|
---|
| 467 | <varlistentry id="newaliases">
|
---|
| 468 | <term><command>newaliases</command></term>
|
---|
| 469 | <listitem>
|
---|
| 470 | <para>A symlink to <filename>sendmail</filename>.</para>
|
---|
| 471 | <indexterm zone="postfix newaliases">
|
---|
| 472 | <primary sortas="b-newaliases">newaliases</primary>
|
---|
| 473 | </indexterm>
|
---|
| 474 | </listitem>
|
---|
| 475 | </varlistentry>
|
---|
| 476 |
|
---|
| 477 | <varlistentry id="nqmgr">
|
---|
| 478 | <term><command>nqmgr</command></term>
|
---|
| 479 | <listitem>
|
---|
| 480 | <para>A daemon that awaits the arrival of incoming mail and
|
---|
| 481 | arranges for its delivery.</para>
|
---|
| 482 | <indexterm zone="postfix nqmgr">
|
---|
| 483 | <primary sortas="b-nqmgr">nqmgr</primary>
|
---|
| 484 | </indexterm>
|
---|
| 485 | </listitem>
|
---|
| 486 | </varlistentry>
|
---|
| 487 |
|
---|
| 488 | <varlistentry id="oqmgr">
|
---|
| 489 | <term><command>oqmgr</command></term>
|
---|
| 490 | <listitem>
|
---|
| 491 | <para>The old style queue manager. This will be removed soon.</para>
|
---|
| 492 | <indexterm zone="postfix oqmgr">
|
---|
| 493 | <primary sortas="b-oqmgr">oqmgr</primary>
|
---|
| 494 | </indexterm>
|
---|
| 495 | </listitem>
|
---|
| 496 | </varlistentry>
|
---|
| 497 |
|
---|
| 498 | <varlistentry id="pickup">
|
---|
| 499 | <term><command>pickup</command></term>
|
---|
| 500 | <listitem>
|
---|
| 501 | <para>A daemon that waits for hints that new mail has been
|
---|
| 502 | dropped into the maildrop directory, and feeds it into the
|
---|
| 503 | <application>cleanup</application> daemon.</para>
|
---|
| 504 | <indexterm zone="postfix pickup">
|
---|
| 505 | <primary sortas="b-pickup">pickup</primary>
|
---|
| 506 | </indexterm>
|
---|
| 507 | </listitem>
|
---|
| 508 | </varlistentry>
|
---|
| 509 |
|
---|
| 510 | <varlistentry id="pipe">
|
---|
| 511 | <term><command>pipe</command></term>
|
---|
| 512 | <listitem>
|
---|
| 513 | <para>A daemon that processes requests from the queue
|
---|
| 514 | manager to deliver messages to external commands.</para>
|
---|
| 515 | <indexterm zone="postfix pipe">
|
---|
| 516 | <primary sortas="b-pipe">pipe</primary>
|
---|
| 517 | </indexterm>
|
---|
| 518 | </listitem>
|
---|
| 519 | </varlistentry>
|
---|
| 520 |
|
---|
| 521 | <varlistentry id="postalias">
|
---|
| 522 | <term><command>postalias</command></term>
|
---|
| 523 | <listitem>
|
---|
| 524 | <para>Creates or queries one or more
|
---|
| 525 | <application>Postfix</application> alias databases, or updates an
|
---|
| 526 | existing one.</para>
|
---|
| 527 | <indexterm zone="postfix postalias">
|
---|
| 528 | <primary sortas="b-postalias">postalias</primary>
|
---|
| 529 | </indexterm>
|
---|
| 530 | </listitem>
|
---|
| 531 | </varlistentry>
|
---|
| 532 |
|
---|
| 533 | <varlistentry id="postcat">
|
---|
| 534 | <term><command>postcat</command></term>
|
---|
| 535 | <listitem>
|
---|
| 536 | <para>Prints the contents of the
|
---|
| 537 | <application>named</application> files in human readable format.</para>
|
---|
| 538 | <indexterm zone="postfix postcat">
|
---|
| 539 | <primary sortas="b-postcat">postcat</primary>
|
---|
| 540 | </indexterm>
|
---|
| 541 | </listitem>
|
---|
| 542 | </varlistentry>
|
---|
| 543 |
|
---|
| 544 | <varlistentry id="postconf">
|
---|
| 545 | <term><command>postconf</command></term>
|
---|
| 546 | <listitem>
|
---|
| 547 | <para>Displays or changes the value of
|
---|
| 548 | <application>Postfix</application> configuration parameters.</para>
|
---|
| 549 | <indexterm zone="postfix postconf">
|
---|
| 550 | <primary sortas="b-postconf">postconf</primary>
|
---|
| 551 | </indexterm>
|
---|
| 552 | </listitem>
|
---|
| 553 | </varlistentry>
|
---|
| 554 |
|
---|
| 555 | <varlistentry id="postdrop">
|
---|
| 556 | <term><command>postdrop</command></term>
|
---|
| 557 | <listitem>
|
---|
| 558 | <para>Creates a file in the maildrop directory and copies
|
---|
| 559 | it's standard input to the file.</para>
|
---|
| 560 | <indexterm zone="postfix postdrop">
|
---|
| 561 | <primary sortas="b-postdrop">postdrop</primary>
|
---|
| 562 | </indexterm>
|
---|
| 563 | </listitem>
|
---|
| 564 | </varlistentry>
|
---|
| 565 |
|
---|
| 566 | <varlistentry id="postfix-bin">
|
---|
| 567 | <term><command>postfix</command></term>
|
---|
| 568 | <listitem>
|
---|
| 569 | <para>Controls the operation of the
|
---|
| 570 | <application>Postfix</application> mail system.</para>
|
---|
| 571 | <indexterm zone="postfix postfix-bin">
|
---|
| 572 | <primary sortas="b-postfix">postfix</primary>
|
---|
| 573 | </indexterm>
|
---|
| 574 | </listitem>
|
---|
| 575 | </varlistentry>
|
---|
| 576 |
|
---|
| 577 | <varlistentry id="postkick">
|
---|
| 578 | <term><command>postkick</command></term>
|
---|
| 579 | <listitem>
|
---|
| 580 | <para>Sends requests to the specified service over a
|
---|
| 581 | local transport channel.</para>
|
---|
| 582 | <indexterm zone="postfix postkick">
|
---|
| 583 | <primary sortas="b-postkick">postkick</primary>
|
---|
| 584 | </indexterm>
|
---|
| 585 | </listitem>
|
---|
| 586 | </varlistentry>
|
---|
| 587 |
|
---|
| 588 | <varlistentry id="postlock">
|
---|
| 589 | <term><command>postlock</command></term>
|
---|
| 590 | <listitem>
|
---|
| 591 | <para>Locks a mail folder for exclusive use, and executes
|
---|
| 592 | commands passed to it.</para>
|
---|
| 593 | <indexterm zone="postfix postlock">
|
---|
| 594 | <primary sortas="b-postlock">postlock</primary>
|
---|
| 595 | </indexterm>
|
---|
| 596 | </listitem>
|
---|
| 597 | </varlistentry>
|
---|
| 598 |
|
---|
| 599 | <varlistentry id="postlog">
|
---|
| 600 | <term><command>postlog</command></term>
|
---|
| 601 | <listitem>
|
---|
| 602 | <para>A <application>Postfix</application>-compatible logging
|
---|
| 603 | interface for use in, for example, shell scripts.</para>
|
---|
| 604 | <indexterm zone="postfix postlog">
|
---|
| 605 | <primary sortas="b-postlog">postlog</primary>
|
---|
| 606 | </indexterm>
|
---|
| 607 | </listitem>
|
---|
| 608 | </varlistentry>
|
---|
| 609 |
|
---|
| 610 | <varlistentry id="postmap">
|
---|
| 611 | <term><command>postmap</command></term>
|
---|
| 612 | <listitem>
|
---|
| 613 | <para>Creates or queries one or more Postfix lookup
|
---|
| 614 | tables, or updates an existing one.</para>
|
---|
| 615 | <indexterm zone="postfix postmap">
|
---|
| 616 | <primary sortas="b-postmap">postmap</primary>
|
---|
| 617 | </indexterm>
|
---|
| 618 | </listitem>
|
---|
| 619 | </varlistentry>
|
---|
| 620 |
|
---|
| 621 | <varlistentry id="postqueue">
|
---|
| 622 | <term><command>postqueue</command></term>
|
---|
| 623 | <listitem>
|
---|
| 624 | <para>The <application>Postfix</application> user interface for
|
---|
| 625 | queue management.</para>
|
---|
| 626 | <indexterm zone="postfix postqueue">
|
---|
| 627 | <primary sortas="b-postqueue">postqueue</primary>
|
---|
| 628 | </indexterm>
|
---|
| 629 | </listitem>
|
---|
| 630 | </varlistentry>
|
---|
| 631 |
|
---|
| 632 | <varlistentry id="postsuper">
|
---|
| 633 | <term><command>postsuper</command></term>
|
---|
| 634 | <listitem>
|
---|
| 635 | <para>The <application>Postfix</application> user interface for
|
---|
| 636 | superuser queue management.</para>
|
---|
| 637 | <indexterm zone="postfix postsuper">
|
---|
| 638 | <primary sortas="b-postsuper">postsuper</primary>
|
---|
| 639 | </indexterm>
|
---|
| 640 | </listitem>
|
---|
| 641 | </varlistentry>
|
---|
| 642 |
|
---|
| 643 | <varlistentry id="proxymap">
|
---|
| 644 | <term><command>proxymap</command></term>
|
---|
| 645 | <listitem>
|
---|
| 646 | <para>Provides read-only table lookup services to other
|
---|
| 647 | <application>Postfix</application> processes.</para>
|
---|
| 648 | <indexterm zone="postfix proxymap">
|
---|
| 649 | <primary sortas="b-proxymap">proxymap</primary>
|
---|
| 650 | </indexterm>
|
---|
| 651 | </listitem>
|
---|
| 652 | </varlistentry>
|
---|
| 653 |
|
---|
| 654 | <varlistentry id="qmgr">
|
---|
| 655 | <term><command>qmgr</command></term>
|
---|
| 656 | <listitem>
|
---|
| 657 | <para>A daemon that awaits the arrival of incoming mail and
|
---|
| 658 | arranges for its delivery.</para>
|
---|
| 659 | <indexterm zone="postfix qmgr">
|
---|
| 660 | <primary sortas="b-qmgr">qmgr</primary>
|
---|
| 661 | </indexterm>
|
---|
| 662 | </listitem>
|
---|
| 663 | </varlistentry>
|
---|
| 664 |
|
---|
| 665 | <varlistentry id="qmqpd">
|
---|
| 666 | <term><command>qmqpd</command></term>
|
---|
| 667 | <listitem>
|
---|
| 668 | <para>A daemon that receives one message per connection, and
|
---|
| 669 | pipes it through the <application>cleanup</application> daemon, and
|
---|
| 670 | places it into the incoming queue.</para>
|
---|
| 671 | <indexterm zone="postfix qmqpd">
|
---|
| 672 | <primary sortas="b-qmqpd">qmqpd</primary>
|
---|
| 673 | </indexterm>
|
---|
| 674 | </listitem>
|
---|
| 675 | </varlistentry>
|
---|
| 676 |
|
---|
[2686d16] | 677 | <varlistentry id="scache">
|
---|
| 678 | <term><command>scache</command></term>
|
---|
| 679 | <listitem>
|
---|
| 680 | <para>Maintains a connection cache used for sharing a connection
|
---|
| 681 | multiple times.</para>
|
---|
| 682 | <indexterm zone="postfix scache">
|
---|
| 683 | <primary sortas="b-scache">scache</primary>
|
---|
| 684 | </indexterm>
|
---|
| 685 | </listitem>
|
---|
| 686 | </varlistentry>
|
---|
| 687 |
|
---|
[417f9e7] | 688 | <varlistentry id="sendmail-postfix">
|
---|
| 689 | <term><command>sendmail</command></term>
|
---|
| 690 | <listitem>
|
---|
| 691 | <para>The <application>Postfix</application> to
|
---|
| 692 | <application>Sendmail</application> compatibility interface.</para>
|
---|
| 693 | <indexterm zone="postfix sendmail-postfix">
|
---|
| 694 | <primary sortas="b-sendmail">sendmail</primary>
|
---|
| 695 | </indexterm>
|
---|
| 696 | </listitem>
|
---|
| 697 | </varlistentry>
|
---|
| 698 |
|
---|
| 699 | <varlistentry id="showq">
|
---|
| 700 | <term><command>showq</command></term>
|
---|
| 701 | <listitem>
|
---|
| 702 | <para>A daemon that reports the Postfix mail queue status.</para>
|
---|
| 703 | <indexterm zone="postfix showq">
|
---|
| 704 | <primary sortas="b-showq">showq</primary>
|
---|
| 705 | </indexterm>
|
---|
| 706 | </listitem>
|
---|
| 707 | </varlistentry>
|
---|
| 708 |
|
---|
| 709 | <varlistentry id="smtp">
|
---|
| 710 | <term><command>smtp</command></term>
|
---|
| 711 | <listitem>
|
---|
| 712 | <para>Looks up a list of mail exchanger addresses for the
|
---|
| 713 | destination host, sorts the list by preference, and connects to
|
---|
| 714 | each listed address until it finds a server that responds.</para>
|
---|
| 715 | <indexterm zone="postfix smtp">
|
---|
| 716 | <primary sortas="b-smtp">smtp</primary>
|
---|
| 717 | </indexterm>
|
---|
| 718 | </listitem>
|
---|
| 719 | </varlistentry>
|
---|
| 720 |
|
---|
| 721 | <varlistentry id="smtpd">
|
---|
| 722 | <term><command>smtpd</command></term>
|
---|
| 723 | <listitem>
|
---|
| 724 | <para>Accepts network connection requests and performs zero
|
---|
| 725 | or more SMTP transactions per connection.</para>
|
---|
| 726 | <indexterm zone="postfix smtpd">
|
---|
| 727 | <primary sortas="b-smtpd">smtpd</primary>
|
---|
| 728 | </indexterm>
|
---|
| 729 | </listitem>
|
---|
| 730 | </varlistentry>
|
---|
| 731 |
|
---|
| 732 | <varlistentry id="spawn">
|
---|
| 733 | <term><command>spawn</command></term>
|
---|
| 734 | <listitem>
|
---|
| 735 | <para>Listens on a port as specified in the
|
---|
| 736 | <application>Postfix</application> <filename>master.cf</filename> file
|
---|
| 737 | and spawns an external command whenever a connection is
|
---|
| 738 | established.</para>
|
---|
| 739 | <indexterm zone="postfix spawn">
|
---|
| 740 | <primary sortas="b-spawn">spawn</primary>
|
---|
| 741 | </indexterm>
|
---|
| 742 | </listitem>
|
---|
| 743 | </varlistentry>
|
---|
| 744 |
|
---|
[2686d16] | 745 | <varlistentry id="tlsmgr">
|
---|
| 746 | <term><command>tlsmgr</command></term>
|
---|
| 747 | <listitem>
|
---|
| 748 | <para>Maintains the TLS session cache and acts as the PRNG
|
---|
| 749 | manager.</para>
|
---|
| 750 | <indexterm zone="postfix tlsmgr">
|
---|
| 751 | <primary sortas="b-tlsmgr">tlsmgr</primary>
|
---|
| 752 | </indexterm>
|
---|
| 753 | </listitem>
|
---|
| 754 | </varlistentry>
|
---|
| 755 |
|
---|
[417f9e7] | 756 | <varlistentry id="trivial-rewrite">
|
---|
| 757 | <term><command>trivial-rewrite</command></term>
|
---|
| 758 | <listitem>
|
---|
| 759 | <para>A daemon that rewrites addresses to standard form.</para>
|
---|
| 760 | <indexterm zone="postfix trivial-rewrite">
|
---|
| 761 | <primary sortas="b-trivial-rewrite">trivial-rewrite</primary>
|
---|
| 762 | </indexterm>
|
---|
| 763 | </listitem>
|
---|
| 764 | </varlistentry>
|
---|
| 765 |
|
---|
| 766 | <varlistentry id="verify">
|
---|
| 767 | <term><command>verify</command></term>
|
---|
| 768 | <listitem>
|
---|
| 769 | <para>Maintains a record of what recipient addresses are known
|
---|
| 770 | to be deliverable or undeliverable.</para>
|
---|
| 771 | <indexterm zone="postfix verify">
|
---|
| 772 | <primary sortas="b-verify">verify</primary>
|
---|
| 773 | </indexterm>
|
---|
| 774 | </listitem>
|
---|
| 775 | </varlistentry>
|
---|
| 776 |
|
---|
| 777 | <varlistentry id="virtual">
|
---|
| 778 | <term><command>virtual</command></term>
|
---|
| 779 | <listitem>
|
---|
| 780 | <para>Delivers mail to virtual user's mail directories.</para>
|
---|
| 781 | <indexterm zone="postfix virtual">
|
---|
| 782 | <primary sortas="b-virtual">virtual</primary>
|
---|
| 783 | </indexterm>
|
---|
| 784 | </listitem>
|
---|
| 785 | </varlistentry>
|
---|
| 786 |
|
---|
| 787 | </variablelist>
|
---|
| 788 |
|
---|
| 789 | </sect2>
|
---|
[f45b1953] | 790 |
|
---|
| 791 | </sect1>
|
---|