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