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