[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 |
|
---|
[0911065] | 7 | <!ENTITY postfix-download-http " ">
|
---|
[2605bb1] | 8 | <!ENTITY postfix-download-ftp
|
---|
[58f0b91] | 9 | "ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-&postfix-version;.tar.gz">
|
---|
[1e3954b] | 10 | <!ENTITY postfix-md5sum "c3f0f51d8865559b40e9350eb3816011">
|
---|
[2e8afa9] | 11 | <!ENTITY postfix-size "3.9 MB">
|
---|
[392bbe8] | 12 | <!ENTITY postfix-buildsize "140 MB">
|
---|
[1e3954b] | 13 | <!ENTITY postfix-time "0.4 SBU">
|
---|
[0931098] | 14 | ]>
|
---|
| 15 |
|
---|
[547df0bc] | 16 | <sect1 id="postfix" xreflabel="Postfix-&postfix-version;">
|
---|
[417f9e7] | 17 | <?dbhtml filename="postfix.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>Postfix-&postfix-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="postfix">
|
---|
| 27 | <primary sortas="a-Postfix">Postfix</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to Postfix</title>
|
---|
| 32 |
|
---|
[2605bb1] | 33 | <para>
|
---|
| 34 | The <application>Postfix</application> package contains a Mail Transport
|
---|
| 35 | Agent (MTA). This is useful for sending email to other users of your host
|
---|
| 36 | machine. It can also be configured to be a central mail server for your
|
---|
| 37 | domain, a mail relay agent or simply a mail delivery agent to your local
|
---|
| 38 | Internet Service Provider.
|
---|
| 39 | </para>
|
---|
[417f9e7] | 40 |
|
---|
[99e99c3] | 41 | &lfs76_checked;
|
---|
[438c11ab] | 42 |
|
---|
[417f9e7] | 43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 44 | <itemizedlist spacing="compact">
|
---|
| 45 | <listitem>
|
---|
[2605bb1] | 46 | <para>
|
---|
| 47 | Download (HTTP): <ulink url="&postfix-download-http;"/>
|
---|
| 48 | </para>
|
---|
[417f9e7] | 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
[2605bb1] | 51 | <para>
|
---|
| 52 | Download (FTP): <ulink url="&postfix-download-ftp;"/>
|
---|
| 53 | </para>
|
---|
[417f9e7] | 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
[2605bb1] | 56 | <para>
|
---|
| 57 | Download MD5 sum: &postfix-md5sum;
|
---|
| 58 | </para>
|
---|
[417f9e7] | 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
[2605bb1] | 61 | <para>
|
---|
| 62 | Download size: &postfix-size;
|
---|
| 63 | </para>
|
---|
[417f9e7] | 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
[2605bb1] | 66 | <para>
|
---|
| 67 | Estimated disk space required: &postfix-buildsize;
|
---|
| 68 | </para>
|
---|
[417f9e7] | 69 | </listitem>
|
---|
| 70 | <listitem>
|
---|
[2605bb1] | 71 | <para>
|
---|
| 72 | Estimated build time: &postfix-time;
|
---|
| 73 | </para>
|
---|
[417f9e7] | 74 | </listitem>
|
---|
| 75 | </itemizedlist>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect3">Postfix Dependencies</bridgehead>
|
---|
| 78 |
|
---|
[58f0b91] | 79 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 80 | <para role="recommended">
|
---|
[a6d67b9] | 81 | <xref linkend="db"/>,
|
---|
| 82 | <xref linkend="cyrus-sasl"/>, and
|
---|
[58f0b91] | 83 | <xref linkend="openssl"/>
|
---|
| 84 | </para>
|
---|
| 85 |
|
---|
[417f9e7] | 86 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[438c11ab] | 87 | <para role="optional">
|
---|
[5e0662d] | 88 | <xref linkend="mariadb"/> or <ulink url="http://www.mysql.com/">MySQL</ulink>,
|
---|
[58f0b91] | 89 | <xref linkend="openldap"/>,
|
---|
| 90 | <xref linkend="pcre"/>,
|
---|
| 91 | <xref linkend="postgresql"/>,
|
---|
[10405e6] | 92 | <xref linkend="sqlite"/>, and
|
---|
[58f0b91] | 93 | <ulink url="http://cr.yp.to/cdb.html">CDB</ulink> or
|
---|
[438c11ab] | 94 | <ulink url="http://www.corpit.ru/mjt/tinycdb.html">TinyCDB</ulink>
|
---|
| 95 | </para>
|
---|
| 96 |
|
---|
[2605bb1] | 97 | <para>
|
---|
[58f0b91] | 98 | Note that <application>SQLite</application>,
|
---|
| 99 | <application>MySQL</application>, <application>PostgreSQL</application>
|
---|
| 100 | and <application>CDB</application> are only useful if there is a known
|
---|
[2605bb1] | 101 | need for them.
|
---|
| 102 | </para>
|
---|
[3cb0c57] | 103 |
|
---|
[2605bb1] | 104 | <para condition="html" role="usernotes">
|
---|
| 105 | User Notes: <ulink url="&blfs-wiki;/postfix"/>
|
---|
| 106 | </para>
|
---|
[417f9e7] | 107 | </sect2>
|
---|
| 108 |
|
---|
| 109 | <sect2 role="installation">
|
---|
| 110 | <title>Installation of Postfix</title>
|
---|
| 111 |
|
---|
[2605bb1] | 112 | <sect3>
|
---|
| 113 | <title>Adding Users and Groups</title>
|
---|
[58f0b91] | 114 |
|
---|
[2605bb1] | 115 | <para>
|
---|
| 116 | Before you compile the program, you need to create users and groups that
|
---|
| 117 | will be expected to be in place during the installation. Add the users
|
---|
| 118 | and groups with the following commands issued by the
|
---|
| 119 | <systemitem class="username">root</systemitem> user:
|
---|
| 120 | </para>
|
---|
| 121 |
|
---|
| 122 | <screen role="root"><userinput>groupadd -g 32 postfix &&
|
---|
| 123 | groupadd -g 33 postdrop &&
|
---|
[58f0b91] | 124 | useradd -c "Postfix Daemon User" -d /var/spool/postfix -g postfix \
|
---|
| 125 | -s /bin/false -u 32 postfix &&
|
---|
[2605bb1] | 126 | chown -v postfix:postfix /var/mail</userinput></screen>
|
---|
| 127 | </sect3>
|
---|
| 128 |
|
---|
[417f9e7] | 129 | <sect3>
|
---|
| 130 | <title>Configuring the Build</title>
|
---|
| 131 |
|
---|
[8a212504] | 132 | <para>
|
---|
| 133 | Run the following command to enable <application>Postfix</application>
|
---|
| 134 | to compile against the current version of
|
---|
| 135 | <application>BerkeleyDB</application>:
|
---|
| 136 | </para>
|
---|
| 137 |
|
---|
[d3789ec7] | 138 | <screen><userinput>sed -i "s/DB_VERSION_MAJOR == 5/DB_VERSION_MAJOR >= 5/" src/util/dict_db.c</userinput></screen>
|
---|
[8a212504] | 139 |
|
---|
[2605bb1] | 140 | <para>
|
---|
| 141 | The README files are formatted to be read with a pager like
|
---|
| 142 | <application>Less</application> or <application>More</application>.
|
---|
| 143 | If you want to read them in a text editor, make them legible with a sed:
|
---|
| 144 | </para>
|
---|
| 145 |
|
---|
| 146 | <screen><userinput>sed -i 's/.\x08//g' README_FILES/*</userinput></screen>
|
---|
| 147 |
|
---|
| 148 | <para>
|
---|
| 149 | The <application>Postfix</application> source tree does not contain a
|
---|
| 150 | <filename>configure</filename> script, rather the makefile in the
|
---|
| 151 | top-level directory contains a <option>makefiles</option> target that
|
---|
| 152 | regenerates all the other makefiles in the build tree. If you wish to
|
---|
| 153 | use additional software such as a database back-end for virtual users,
|
---|
| 154 | or TLS/SSL authentication, you will need to regenerate the makefiles
|
---|
| 155 | using one or more of the appropriate <envar>CCARGS</envar> and
|
---|
| 156 | <envar>AUXLIBS</envar> settings listed below.
|
---|
| 157 | </para>
|
---|
| 158 |
|
---|
| 159 | <para>
|
---|
| 160 | For more details read the readme files.
|
---|
| 161 | </para>
|
---|
| 162 |
|
---|
[417f9e7] | 163 | <sect4>
|
---|
| 164 | <title>Cyrus-SASL</title>
|
---|
[3bfd1d6] | 165 |
|
---|
[2605bb1] | 166 | <para>
|
---|
| 167 | To use <application>Cyrus-SASL</application> with
|
---|
| 168 | <application>Postfix</application>, use the following arguments:
|
---|
| 169 | </para>
|
---|
[3bfd1d6] | 170 |
|
---|
[07abc5b] | 171 | <screen><literal>CCARGS='-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl'
|
---|
[438c11ab] | 172 | AUXLIBS='-lsasl2'</literal></screen>
|
---|
[58f0b91] | 173 |
|
---|
[417f9e7] | 174 | </sect4>
|
---|
[3bfd1d6] | 175 |
|
---|
[417f9e7] | 176 | <sect4>
|
---|
| 177 | <title>OpenLDAP</title>
|
---|
[3bfd1d6] | 178 |
|
---|
[2605bb1] | 179 | <para>
|
---|
| 180 | To use <application>OpenLDAP</application> with
|
---|
| 181 | <application>Postfix</application>, use the following arguments:
|
---|
| 182 | </para>
|
---|
[3bfd1d6] | 183 |
|
---|
[438c11ab] | 184 | <screen><literal>CCARGS='-DHAS_LDAP'
|
---|
| 185 | AUXLIBS='-lldap -llber'</literal></screen>
|
---|
[58f0b91] | 186 |
|
---|
[2605bb1] | 187 | </sect4>
|
---|
| 188 |
|
---|
| 189 | <sect4>
|
---|
| 190 | <title>Sqlite</title>
|
---|
| 191 |
|
---|
| 192 | <para>
|
---|
| 193 | To use <application>Sqlite</application> with
|
---|
| 194 | <application>Postfix</application>, use the following arguments:
|
---|
| 195 | </para>
|
---|
[3bfd1d6] | 196 |
|
---|
[2605bb1] | 197 | <screen><literal>CCARGS='-DHAS_SQLITE'
|
---|
| 198 | AUXLIBS='-lsqlite3 -lpthread'</literal></screen>
|
---|
[58f0b91] | 199 |
|
---|
[417f9e7] | 200 | </sect4>
|
---|
[3bfd1d6] | 201 |
|
---|
[417f9e7] | 202 | <sect4>
|
---|
| 203 | <title>MySQL</title>
|
---|
[0931098] | 204 |
|
---|
[2605bb1] | 205 | <para>
|
---|
| 206 | To use <application>MySQL</application> with
|
---|
| 207 | <application>Postfix</application>, use the following arguments:
|
---|
| 208 | </para>
|
---|
[417f9e7] | 209 |
|
---|
[5690030] | 210 | <screen><literal>CCARGS='-DHAS_MYSQL -I/usr/include/mysql'
|
---|
[438c11ab] | 211 | AUXLIBS='-lmysqlclient -lz -lm'</literal></screen>
|
---|
[58f0b91] | 212 |
|
---|
[417f9e7] | 213 | </sect4>
|
---|
| 214 |
|
---|
| 215 | <sect4>
|
---|
| 216 | <title>PostgreSQL</title>
|
---|
| 217 |
|
---|
[2605bb1] | 218 | <para>
|
---|
| 219 | To use <application>PostgreSQL</application> with
|
---|
| 220 | <application>Postfix</application>, use the following arguments:
|
---|
| 221 | </para>
|
---|
[417f9e7] | 222 |
|
---|
[5690030] | 223 | <screen><literal>CCARGS='-DHAS_PGSQL -I/usr/include/postgresql'
|
---|
[438c11ab] | 224 | AUXLIBS='-lpq -lz -lm'</literal></screen>
|
---|
[58f0b91] | 225 |
|
---|
[417f9e7] | 226 | </sect4>
|
---|
| 227 |
|
---|
[daeea03] | 228 | <sect4>
|
---|
[45cd2f9] | 229 | <title>CDB/TinyCDB</title>
|
---|
[daeea03] | 230 |
|
---|
[2605bb1] | 231 | <para>
|
---|
| 232 | To use <application>CDB</application> or
|
---|
| 233 | <application>TinyCDB</application> with
|
---|
| 234 | <application>Postfix</application>, use the following arguments:
|
---|
| 235 | </para>
|
---|
[daeea03] | 236 |
|
---|
[bccbdaea] | 237 | <screen><literal>CCARGS='-DHAS_CDB'
|
---|
[410e228b] | 238 | AUXLIBS='<replaceable></path/to/CDB></replaceable>/libcdb.a'</literal></screen>
|
---|
[58f0b91] | 239 |
|
---|
[45cd2f9] | 240 | </sect4>
|
---|
| 241 |
|
---|
| 242 | <sect4>
|
---|
| 243 | <title>StartTLS Authentication</title>
|
---|
| 244 |
|
---|
[2605bb1] | 245 | <para>
|
---|
| 246 | To use <application>OpenSSL</application> with
|
---|
| 247 | <application>Postfix</application>, use the following arguments:
|
---|
| 248 | </para>
|
---|
[45cd2f9] | 249 |
|
---|
| 250 | <screen><literal>CCARGS='-DUSE_TLS -I/usr/include/openssl/'
|
---|
[438c11ab] | 251 | AUXLIBS='-lssl -lcrypto'</literal></screen>
|
---|
[daeea03] | 252 | </sect4>
|
---|
[58f0b91] | 253 |
|
---|
[417f9e7] | 254 | </sect3>
|
---|
| 255 |
|
---|
| 256 | <sect3>
|
---|
| 257 | <title>Installing Postfix</title>
|
---|
| 258 |
|
---|
[2605bb1] | 259 | <para>
|
---|
[58f0b91] | 260 | If you have <application>Cyrus SASL</application> and
|
---|
| 261 | <application>OpenSSL</application> installed, install
|
---|
[2605bb1] | 262 | <application>Postfix</application> by running the following commands:
|
---|
| 263 | </para>
|
---|
[438c11ab] | 264 |
|
---|
[df9fb20] | 265 | <screen><userinput>make CCARGS="-DUSE_TLS -I/usr/include/openssl/ \
|
---|
[58f0b91] | 266 | -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl" \
|
---|
| 267 | AUXLIBS="-lssl -lcrypto -lsasl2" \
|
---|
[bab9d8e7] | 268 | makefiles &&
|
---|
[2605bb1] | 269 | make</userinput></screen>
|
---|
[0dfb754] | 270 |
|
---|
[cef276c] | 271 | <!-- There is a testsuite, but it fails a lot. It seems to need
|
---|
| 272 | the host to be specifically setup for the tests.
|
---|
| 273 | Run with `make tests' and `make root_tests' -->
|
---|
[2605bb1] | 274 | <para>
|
---|
| 275 | This package does not come with a useful test suite.
|
---|
| 276 | </para>
|
---|
[0dfb754] | 277 |
|
---|
[2605bb1] | 278 | <para>
|
---|
| 279 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 280 | </para>
|
---|
[417f9e7] | 281 |
|
---|
[c9652d2] | 282 | <!-- dev note: sh postfix-install -non-interactive install_root=<DESTDIR> ... -->
|
---|
[2e8afa9] | 283 |
|
---|
[2605bb1] | 284 | <screen role="root"><userinput>sh postfix-install -non-interactive \
|
---|
[58f0b91] | 285 | daemon_directory=/usr/lib/postfix \
|
---|
| 286 | manpage_directory=/usr/share/man \
|
---|
| 287 | html_directory=/usr/share/doc/postfix-&postfix-version;/html \
|
---|
| 288 | readme_directory=/usr/share/doc/postfix-&postfix-version;/readme</userinput></screen>
|
---|
| 289 |
|
---|
[417f9e7] | 290 | </sect3>
|
---|
[58f0b91] | 291 |
|
---|
[417f9e7] | 292 | </sect2>
|
---|
[0931098] | 293 |
|
---|
[417f9e7] | 294 | <sect2 role="commands">
|
---|
| 295 | <title>Command Explanations</title>
|
---|
[0931098] | 296 |
|
---|
[2605bb1] | 297 | <para>
|
---|
| 298 | <command>make makefiles</command>: This command rebuilds the makefiles
|
---|
| 299 | throughout the source tree to use the options contained in the
|
---|
| 300 | <envar>CCARGS</envar> and <envar>AUXLIBS</envar> variables.
|
---|
| 301 | </para>
|
---|
[8568fa6] | 302 |
|
---|
[2605bb1] | 303 | <para>
|
---|
| 304 | <command>sh postfix-install -non-interactive</command>: This keeps the
|
---|
| 305 | install script from asking any questions, thereby accepting default
|
---|
| 306 | destination directories in all but the few cases. If the
|
---|
| 307 | <option>html_directory</option> and <option>readme_directory</option>
|
---|
| 308 | options are not set then the documentation will not be installed.
|
---|
| 309 | </para>
|
---|
[58f0b91] | 310 |
|
---|
[417f9e7] | 311 | </sect2>
|
---|
[0931098] | 312 |
|
---|
[417f9e7] | 313 | <sect2 role="configuration">
|
---|
| 314 | <title>Configuring Postfix</title>
|
---|
[0931098] | 315 |
|
---|
[417f9e7] | 316 | <sect3 id="postfix-config">
|
---|
| 317 | <title>Config Files</title>
|
---|
[0931098] | 318 |
|
---|
[2605bb1] | 319 | <para>
|
---|
| 320 | <filename>/etc/aliases</filename>,
|
---|
| 321 | <filename>/etc/postfix/main.cf</filename>, and
|
---|
| 322 | <filename>/etc/postfix/master.cf</filename>
|
---|
| 323 | </para>
|
---|
[6c703f15] | 324 |
|
---|
[417f9e7] | 325 | <indexterm zone="postfix postfix-config">
|
---|
| 326 | <primary sortas="e-etc-aliases">/etc/aliases</primary>
|
---|
| 327 | </indexterm>
|
---|
[0931098] | 328 |
|
---|
[417f9e7] | 329 | <indexterm zone="postfix postfix-config">
|
---|
| 330 | <primary sortas="e-etc-postfix-star">/etc/postfix/*</primary>
|
---|
| 331 | </indexterm>
|
---|
| 332 |
|
---|
| 333 | </sect3>
|
---|
| 334 |
|
---|
| 335 | <sect3>
|
---|
| 336 | <title>Configuration Information</title>
|
---|
| 337 |
|
---|
[2605bb1] | 338 | <para>
|
---|
| 339 | Create (or append to an existing) <filename>/etc/aliases</filename>
|
---|
| 340 | with the following command. Change
|
---|
| 341 | <replaceable><LOGIN></replaceable> for your non-root login
|
---|
| 342 | identity so mail addressed to
|
---|
| 343 | <systemitem class="username">root</systemitem> can be forwarded to you.
|
---|
| 344 | As the <systemitem class="username">root</systemitem> user:
|
---|
| 345 | </para>
|
---|
| 346 |
|
---|
[417f9e7] | 347 | <screen role="root"><userinput>cat >> /etc/aliases << "EOF"
|
---|
| 348 | <literal># Begin /etc/aliases
|
---|
[0931098] | 349 |
|
---|
| 350 | MAILER-DAEMON: postmaster
|
---|
| 351 | postmaster: root
|
---|
| 352 |
|
---|
[2605bb1] | 353 | root: <replaceable><LOGIN></replaceable>
|
---|
[417f9e7] | 354 | # End /etc/aliases</literal>
|
---|
| 355 | EOF</userinput></screen>
|
---|
| 356 |
|
---|
[2605bb1] | 357 | <para>
|
---|
| 358 | To protect an existing <filename>/etc/aliases</filename> file,
|
---|
[417f9e7] | 359 | the above command appends these aliases to it if it exists. This file
|
---|
[2605bb1] | 360 | should be checked and duplicate aliases removed, if present.
|
---|
| 361 | </para>
|
---|
| 362 |
|
---|
| 363 | <note>
|
---|
| 364 | <para>
|
---|
| 365 | The <filename>/etc/postfix/main.cf</filename> and
|
---|
| 366 | <filename>/etc/postfix/master.cf</filename> files must be personalized
|
---|
| 367 | for your system. The <filename>main.cf</filename> file needs your
|
---|
| 368 | fully qualified hostname. You will find that
|
---|
| 369 | <filename>main.cf</filename> is self documenting, so load it into your
|
---|
| 370 | editor to make the changes you need for your situation.
|
---|
| 371 | </para>
|
---|
[417f9e7] | 372 | </note>
|
---|
| 373 |
|
---|
[58f0b91] | 374 | <note>
|
---|
| 375 | <para>
|
---|
| 376 | <application>Postfix</application> can also be set up to
|
---|
[0d7900a] | 377 | run in a chroot jail. See the file in the source
|
---|
[58f0b91] | 378 | <filename>examples/chroot-setup/LINUX2</filename> for details.
|
---|
| 379 | </para>
|
---|
| 380 | </note>
|
---|
[3df190fb] | 381 |
|
---|
[2605bb1] | 382 | <para>
|
---|
| 383 | If you have an existing configuration, you can run the
|
---|
| 384 | <command>postfix</command> utility to add any necessary definitions to
|
---|
| 385 | your existing files. As the
|
---|
| 386 | <systemitem class="username">root</systemitem> user:
|
---|
| 387 | </para>
|
---|
[cef276c] | 388 |
|
---|
| 389 | <screen role="root"><userinput>/usr/sbin/postfix upgrade-configuration</userinput></screen>
|
---|
| 390 |
|
---|
[2605bb1] | 391 | <para>
|
---|
| 392 | Before starting <application>Postfix</application>, you should check
|
---|
| 393 | that your configuration and file permissions will work properly. Run the
|
---|
| 394 | following commands as the <systemitem class="username">root</systemitem>
|
---|
| 395 | user to check and start your <application>Postfix</application> server:
|
---|
| 396 | </para>
|
---|
[cef276c] | 397 |
|
---|
| 398 | <screen role="root"><userinput>/usr/sbin/postfix check &&
|
---|
[417f9e7] | 399 | /usr/sbin/postfix start</userinput></screen>
|
---|
[58f0b91] | 400 |
|
---|
[417f9e7] | 401 | </sect3>
|
---|
| 402 |
|
---|
| 403 | <sect3 id="postfix-init">
|
---|
| 404 | <title>Boot Script</title>
|
---|
| 405 |
|
---|
[2605bb1] | 406 | <para>
|
---|
| 407 | To automate the running of Postfix at startup, install the
|
---|
| 408 | <filename>/etc/rc.d/init.d/postfix</filename> init script included in
|
---|
| 409 | the <xref linkend="bootscripts"/> package.
|
---|
| 410 | </para>
|
---|
[417f9e7] | 411 |
|
---|
| 412 | <indexterm zone="postfix postfix-init">
|
---|
| 413 | <primary sortas="f-postfix">postfix</primary>
|
---|
| 414 | </indexterm>
|
---|
| 415 |
|
---|
| 416 | <screen role="root"><userinput>make install-postfix</userinput></screen>
|
---|
[58f0b91] | 417 |
|
---|
[417f9e7] | 418 | </sect3>
|
---|
[58f0b91] | 419 |
|
---|
[417f9e7] | 420 | </sect2>
|
---|
| 421 |
|
---|
| 422 | <sect2 role="content">
|
---|
| 423 | <title>Contents</title>
|
---|
| 424 |
|
---|
| 425 | <segmentedlist>
|
---|
| 426 | <segtitle>Installed Programs</segtitle>
|
---|
[58f0b91] | 427 | <segtitle>Installed Libraries</segtitle>
|
---|
[417f9e7] | 428 | <segtitle>Installed Directories</segtitle>
|
---|
| 429 |
|
---|
| 430 | <seglistitem>
|
---|
[2605bb1] | 431 | <seg>
|
---|
[2e8afa9] | 432 | mailq, newaliases, postalias, postcat, postconf, postdrop, postfix,
|
---|
[10405e6] | 433 | postkick, postlock, postlog, postmap, postmulti, postqueue, postsuper,
|
---|
[58f0b91] | 434 | and sendmail
|
---|
| 435 | </seg>
|
---|
| 436 | <seg>
|
---|
| 437 | None
|
---|
[2605bb1] | 438 | </seg>
|
---|
| 439 | <seg>
|
---|
[58f0b91] | 440 | /etc/postfix,
|
---|
| 441 | /usr/lib/postfix,
|
---|
| 442 | /usr/share/doc/postfix-&postfix-version;,
|
---|
[10405e6] | 443 | /var/lib/postfix, and
|
---|
[58f0b91] | 444 | /var/spool/postfix
|
---|
[2605bb1] | 445 | </seg>
|
---|
[417f9e7] | 446 | </seglistitem>
|
---|
| 447 | </segmentedlist>
|
---|
| 448 |
|
---|
| 449 | <variablelist>
|
---|
| 450 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 451 | <?dbfo list-presentation="list"?>
|
---|
| 452 | <?dbhtml list-presentation="table"?>
|
---|
| 453 |
|
---|
| 454 | <varlistentry id="mailq">
|
---|
| 455 | <term><command>mailq</command></term>
|
---|
| 456 | <listitem>
|
---|
[2605bb1] | 457 | <para>
|
---|
| 458 | A symlink to <filename>sendmail</filename>.
|
---|
| 459 | </para>
|
---|
[417f9e7] | 460 | <indexterm zone="postfix mailq">
|
---|
| 461 | <primary sortas="b-mailq">mailq</primary>
|
---|
| 462 | </indexterm>
|
---|
| 463 | </listitem>
|
---|
| 464 | </varlistentry>
|
---|
| 465 |
|
---|
| 466 | <varlistentry id="newaliases">
|
---|
| 467 | <term><command>newaliases</command></term>
|
---|
| 468 | <listitem>
|
---|
[2605bb1] | 469 | <para>
|
---|
| 470 | A symlink to <filename>sendmail</filename>.
|
---|
| 471 | </para>
|
---|
[417f9e7] | 472 | <indexterm zone="postfix newaliases">
|
---|
| 473 | <primary sortas="b-newaliases">newaliases</primary>
|
---|
| 474 | </indexterm>
|
---|
| 475 | </listitem>
|
---|
| 476 | </varlistentry>
|
---|
| 477 |
|
---|
[2e8afa9] | 478 | <varlistentry id="postalias">
|
---|
| 479 | <term><command>postalias</command></term>
|
---|
[417f9e7] | 480 | <listitem>
|
---|
[2605bb1] | 481 | <para>
|
---|
| 482 | is a utility for <application>Postfix</application> alias database
|
---|
| 483 | maintenance
|
---|
| 484 | </para>
|
---|
[2e8afa9] | 485 | <indexterm zone="postfix postalias">
|
---|
| 486 | <primary sortas="b-postalias">postalias</primary>
|
---|
[417f9e7] | 487 | </indexterm>
|
---|
| 488 | </listitem>
|
---|
| 489 | </varlistentry>
|
---|
| 490 |
|
---|
| 491 | <varlistentry id="postcat">
|
---|
| 492 | <term><command>postcat</command></term>
|
---|
| 493 | <listitem>
|
---|
[2605bb1] | 494 | <para>
|
---|
| 495 | Prints the contents of files from the
|
---|
| 496 | <application>Postfix</application> queue in human readable format.
|
---|
| 497 | </para>
|
---|
[417f9e7] | 498 | <indexterm zone="postfix postcat">
|
---|
| 499 | <primary sortas="b-postcat">postcat</primary>
|
---|
| 500 | </indexterm>
|
---|
| 501 | </listitem>
|
---|
| 502 | </varlistentry>
|
---|
| 503 |
|
---|
| 504 | <varlistentry id="postconf">
|
---|
| 505 | <term><command>postconf</command></term>
|
---|
| 506 | <listitem>
|
---|
[2605bb1] | 507 | <para>
|
---|
| 508 | Displays or changes the value of
|
---|
| 509 | <application>Postfix</application> configuration parameters.
|
---|
| 510 | </para>
|
---|
[417f9e7] | 511 | <indexterm zone="postfix postconf">
|
---|
| 512 | <primary sortas="b-postconf">postconf</primary>
|
---|
| 513 | </indexterm>
|
---|
| 514 | </listitem>
|
---|
| 515 | </varlistentry>
|
---|
| 516 |
|
---|
| 517 | <varlistentry id="postdrop">
|
---|
| 518 | <term><command>postdrop</command></term>
|
---|
| 519 | <listitem>
|
---|
[2605bb1] | 520 | <para>
|
---|
| 521 | Creates a file in the maildrop directory and copies its standard
|
---|
| 522 | input to the file.
|
---|
| 523 | </para>
|
---|
[417f9e7] | 524 | <indexterm zone="postfix postdrop">
|
---|
| 525 | <primary sortas="b-postdrop">postdrop</primary>
|
---|
| 526 | </indexterm>
|
---|
| 527 | </listitem>
|
---|
| 528 | </varlistentry>
|
---|
| 529 |
|
---|
| 530 | <varlistentry id="postfix-bin">
|
---|
| 531 | <term><command>postfix</command></term>
|
---|
| 532 | <listitem>
|
---|
[2605bb1] | 533 | <para>
|
---|
| 534 | is the <application>Postfix</application> control program.
|
---|
| 535 | </para>
|
---|
[417f9e7] | 536 | <indexterm zone="postfix postfix-bin">
|
---|
| 537 | <primary sortas="b-postfix">postfix</primary>
|
---|
| 538 | </indexterm>
|
---|
| 539 | </listitem>
|
---|
| 540 | </varlistentry>
|
---|
| 541 |
|
---|
| 542 | <varlistentry id="postkick">
|
---|
| 543 | <term><command>postkick</command></term>
|
---|
| 544 | <listitem>
|
---|
[2605bb1] | 545 | <para>
|
---|
| 546 | Sends requests to the specified service over a local transport
|
---|
| 547 | channel.
|
---|
| 548 | </para>
|
---|
[417f9e7] | 549 | <indexterm zone="postfix postkick">
|
---|
| 550 | <primary sortas="b-postkick">postkick</primary>
|
---|
| 551 | </indexterm>
|
---|
| 552 | </listitem>
|
---|
| 553 | </varlistentry>
|
---|
| 554 |
|
---|
| 555 | <varlistentry id="postlock">
|
---|
| 556 | <term><command>postlock</command></term>
|
---|
| 557 | <listitem>
|
---|
[2605bb1] | 558 | <para>
|
---|
| 559 | Locks a mail folder for exclusive use, and executes commands passed
|
---|
| 560 | to it.
|
---|
| 561 | </para>
|
---|
[417f9e7] | 562 | <indexterm zone="postfix postlock">
|
---|
| 563 | <primary sortas="b-postlock">postlock</primary>
|
---|
| 564 | </indexterm>
|
---|
| 565 | </listitem>
|
---|
| 566 | </varlistentry>
|
---|
| 567 |
|
---|
| 568 | <varlistentry id="postlog">
|
---|
| 569 | <term><command>postlog</command></term>
|
---|
| 570 | <listitem>
|
---|
[2605bb1] | 571 | <para>
|
---|
| 572 | A <application>Postfix</application>-compatible logging interface
|
---|
| 573 | for use in, for example, shell scripts.
|
---|
| 574 | </para>
|
---|
[417f9e7] | 575 | <indexterm zone="postfix postlog">
|
---|
| 576 | <primary sortas="b-postlog">postlog</primary>
|
---|
| 577 | </indexterm>
|
---|
| 578 | </listitem>
|
---|
| 579 | </varlistentry>
|
---|
| 580 |
|
---|
| 581 | <varlistentry id="postmap">
|
---|
| 582 | <term><command>postmap</command></term>
|
---|
| 583 | <listitem>
|
---|
[2605bb1] | 584 | <para>
|
---|
| 585 | Creates or queries one or more Postfix lookup tables, or updates an
|
---|
| 586 | existing one.
|
---|
| 587 | </para>
|
---|
[417f9e7] | 588 | <indexterm zone="postfix postmap">
|
---|
| 589 | <primary sortas="b-postmap">postmap</primary>
|
---|
| 590 | </indexterm>
|
---|
| 591 | </listitem>
|
---|
| 592 | </varlistentry>
|
---|
| 593 |
|
---|
[2605bb1] | 594 | <varlistentry id="postmulti">
|
---|
| 595 | <term><command>postmulti</command></term>
|
---|
| 596 | <listitem>
|
---|
| 597 | <para>
|
---|
| 598 | is the <application>Postfix</application> multi-instance manager.
|
---|
| 599 | It allows a system administrator to manage multiple
|
---|
| 600 | <application>Postfix</application> instances on a single host.
|
---|
| 601 | </para>
|
---|
| 602 | <indexterm zone="postfix postmulti">
|
---|
| 603 | <primary sortas="b-postmulti">postmulti</primary>
|
---|
| 604 | </indexterm>
|
---|
| 605 | </listitem>
|
---|
| 606 | </varlistentry>
|
---|
| 607 |
|
---|
[417f9e7] | 608 | <varlistentry id="postqueue">
|
---|
| 609 | <term><command>postqueue</command></term>
|
---|
| 610 | <listitem>
|
---|
[2605bb1] | 611 | <para>
|
---|
[58f0b91] | 612 | The <application>Postfix</application> user interface for
|
---|
| 613 | queue management.
|
---|
| 614 | </para>
|
---|
[417f9e7] | 615 | <indexterm zone="postfix postqueue">
|
---|
| 616 | <primary sortas="b-postqueue">postqueue</primary>
|
---|
| 617 | </indexterm>
|
---|
| 618 | </listitem>
|
---|
| 619 | </varlistentry>
|
---|
| 620 |
|
---|
| 621 | <varlistentry id="postsuper">
|
---|
| 622 | <term><command>postsuper</command></term>
|
---|
| 623 | <listitem>
|
---|
[2605bb1] | 624 | <para>
|
---|
[58f0b91] | 625 | The <application>Postfix</application> user interface for
|
---|
| 626 | superuser queue management.
|
---|
| 627 | </para>
|
---|
[417f9e7] | 628 | <indexterm zone="postfix postsuper">
|
---|
| 629 | <primary sortas="b-postsuper">postsuper</primary>
|
---|
| 630 | </indexterm>
|
---|
| 631 | </listitem>
|
---|
| 632 | </varlistentry>
|
---|
| 633 |
|
---|
| 634 | <varlistentry id="sendmail-postfix">
|
---|
| 635 | <term><command>sendmail</command></term>
|
---|
| 636 | <listitem>
|
---|
[2605bb1] | 637 | <para>
|
---|
| 638 | is the <application>Postfix</application> to
|
---|
| 639 | <application>Sendmail</application> compatibility interface.
|
---|
| 640 | </para>
|
---|
[417f9e7] | 641 | <indexterm zone="postfix sendmail-postfix">
|
---|
| 642 | <primary sortas="b-sendmail">sendmail</primary>
|
---|
| 643 | </indexterm>
|
---|
| 644 | </listitem>
|
---|
| 645 | </varlistentry>
|
---|
[58f0b91] | 646 |
|
---|
[417f9e7] | 647 | </variablelist>
|
---|
[58f0b91] | 648 |
|
---|
[417f9e7] | 649 | </sect2>
|
---|
[58f0b91] | 650 |
|
---|
[f45b1953] | 651 | </sect1>
|
---|