[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">
|
---|
[d6962eb] | 10 | <!ENTITY postfix-md5sum "40d72ea143af7ab0038c2cee1f483707">
|
---|
| 11 | <!ENTITY postfix-size "4.1 MB">
|
---|
| 12 | <!ENTITY postfix-buildsize "249 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 |
|
---|
[0ad800b2] | 41 | &lfs79_checked;&gcc6_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">
|
---|
[d9321c0] | 88 | <xref linkend="icu"/> for Email Address Internationalization (SMTPUTF8) support,
|
---|
[5e0662d] | 89 | <xref linkend="mariadb"/> or <ulink url="http://www.mysql.com/">MySQL</ulink>,
|
---|
[58f0b91] | 90 | <xref linkend="openldap"/>,
|
---|
| 91 | <xref linkend="pcre"/>,
|
---|
| 92 | <xref linkend="postgresql"/>,
|
---|
[10405e6] | 93 | <xref linkend="sqlite"/>, and
|
---|
[58f0b91] | 94 | <ulink url="http://cr.yp.to/cdb.html">CDB</ulink> or
|
---|
[438c11ab] | 95 | <ulink url="http://www.corpit.ru/mjt/tinycdb.html">TinyCDB</ulink>
|
---|
| 96 | </para>
|
---|
| 97 |
|
---|
[2605bb1] | 98 | <para>
|
---|
[58f0b91] | 99 | Note that <application>SQLite</application>,
|
---|
| 100 | <application>MySQL</application>, <application>PostgreSQL</application>
|
---|
| 101 | and <application>CDB</application> are only useful if there is a known
|
---|
[2605bb1] | 102 | need for them.
|
---|
| 103 | </para>
|
---|
[3cb0c57] | 104 |
|
---|
[2605bb1] | 105 | <para condition="html" role="usernotes">
|
---|
| 106 | User Notes: <ulink url="&blfs-wiki;/postfix"/>
|
---|
| 107 | </para>
|
---|
[417f9e7] | 108 | </sect2>
|
---|
| 109 |
|
---|
| 110 | <sect2 role="installation">
|
---|
| 111 | <title>Installation of Postfix</title>
|
---|
| 112 |
|
---|
[2605bb1] | 113 | <sect3>
|
---|
| 114 | <title>Adding Users and Groups</title>
|
---|
[58f0b91] | 115 |
|
---|
[2605bb1] | 116 | <para>
|
---|
| 117 | Before you compile the program, you need to create users and groups that
|
---|
| 118 | will be expected to be in place during the installation. Add the users
|
---|
| 119 | and groups with the following commands issued by the
|
---|
| 120 | <systemitem class="username">root</systemitem> user:
|
---|
| 121 | </para>
|
---|
| 122 |
|
---|
| 123 | <screen role="root"><userinput>groupadd -g 32 postfix &&
|
---|
| 124 | groupadd -g 33 postdrop &&
|
---|
[58f0b91] | 125 | useradd -c "Postfix Daemon User" -d /var/spool/postfix -g postfix \
|
---|
| 126 | -s /bin/false -u 32 postfix &&
|
---|
[2605bb1] | 127 | chown -v postfix:postfix /var/mail</userinput></screen>
|
---|
| 128 | </sect3>
|
---|
| 129 |
|
---|
[417f9e7] | 130 | <sect3>
|
---|
| 131 | <title>Configuring the Build</title>
|
---|
| 132 |
|
---|
[2605bb1] | 133 | <para>
|
---|
| 134 | The README files are formatted to be read with a pager like
|
---|
| 135 | <application>Less</application> or <application>More</application>.
|
---|
[b400d26] | 136 | If you want to use a text editor, make them legible with the
|
---|
| 137 | following sed:
|
---|
[2605bb1] | 138 | </para>
|
---|
| 139 |
|
---|
| 140 | <screen><userinput>sed -i 's/.\x08//g' README_FILES/*</userinput></screen>
|
---|
| 141 |
|
---|
| 142 | <para>
|
---|
| 143 | The <application>Postfix</application> source tree does not contain a
|
---|
| 144 | <filename>configure</filename> script, rather the makefile in the
|
---|
| 145 | top-level directory contains a <option>makefiles</option> target that
|
---|
| 146 | regenerates all the other makefiles in the build tree. If you wish to
|
---|
| 147 | use additional software such as a database back-end for virtual users,
|
---|
| 148 | or TLS/SSL authentication, you will need to regenerate the makefiles
|
---|
| 149 | using one or more of the appropriate <envar>CCARGS</envar> and
|
---|
| 150 | <envar>AUXLIBS</envar> settings listed below.
|
---|
| 151 | </para>
|
---|
| 152 |
|
---|
| 153 | <para>
|
---|
| 154 | For more details read the readme files.
|
---|
| 155 | </para>
|
---|
| 156 |
|
---|
[417f9e7] | 157 | <sect4>
|
---|
| 158 | <title>Cyrus-SASL</title>
|
---|
[3bfd1d6] | 159 |
|
---|
[2605bb1] | 160 | <para>
|
---|
| 161 | To use <application>Cyrus-SASL</application> with
|
---|
| 162 | <application>Postfix</application>, use the following arguments:
|
---|
| 163 | </para>
|
---|
[3bfd1d6] | 164 |
|
---|
[07abc5b] | 165 | <screen><literal>CCARGS='-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl'
|
---|
[438c11ab] | 166 | AUXLIBS='-lsasl2'</literal></screen>
|
---|
[58f0b91] | 167 |
|
---|
[417f9e7] | 168 | </sect4>
|
---|
[3bfd1d6] | 169 |
|
---|
[417f9e7] | 170 | <sect4>
|
---|
| 171 | <title>OpenLDAP</title>
|
---|
[3bfd1d6] | 172 |
|
---|
[2605bb1] | 173 | <para>
|
---|
| 174 | To use <application>OpenLDAP</application> with
|
---|
| 175 | <application>Postfix</application>, use the following arguments:
|
---|
| 176 | </para>
|
---|
[3bfd1d6] | 177 |
|
---|
[438c11ab] | 178 | <screen><literal>CCARGS='-DHAS_LDAP'
|
---|
| 179 | AUXLIBS='-lldap -llber'</literal></screen>
|
---|
[58f0b91] | 180 |
|
---|
[2605bb1] | 181 | </sect4>
|
---|
| 182 |
|
---|
| 183 | <sect4>
|
---|
| 184 | <title>Sqlite</title>
|
---|
| 185 |
|
---|
| 186 | <para>
|
---|
| 187 | To use <application>Sqlite</application> with
|
---|
| 188 | <application>Postfix</application>, use the following arguments:
|
---|
| 189 | </para>
|
---|
[3bfd1d6] | 190 |
|
---|
[2605bb1] | 191 | <screen><literal>CCARGS='-DHAS_SQLITE'
|
---|
| 192 | AUXLIBS='-lsqlite3 -lpthread'</literal></screen>
|
---|
[58f0b91] | 193 |
|
---|
[417f9e7] | 194 | </sect4>
|
---|
[3bfd1d6] | 195 |
|
---|
[417f9e7] | 196 | <sect4>
|
---|
| 197 | <title>MySQL</title>
|
---|
[0931098] | 198 |
|
---|
[2605bb1] | 199 | <para>
|
---|
| 200 | To use <application>MySQL</application> with
|
---|
| 201 | <application>Postfix</application>, use the following arguments:
|
---|
| 202 | </para>
|
---|
[417f9e7] | 203 |
|
---|
[5690030] | 204 | <screen><literal>CCARGS='-DHAS_MYSQL -I/usr/include/mysql'
|
---|
[438c11ab] | 205 | AUXLIBS='-lmysqlclient -lz -lm'</literal></screen>
|
---|
[58f0b91] | 206 |
|
---|
[417f9e7] | 207 | </sect4>
|
---|
| 208 |
|
---|
| 209 | <sect4>
|
---|
| 210 | <title>PostgreSQL</title>
|
---|
| 211 |
|
---|
[2605bb1] | 212 | <para>
|
---|
| 213 | To use <application>PostgreSQL</application> with
|
---|
| 214 | <application>Postfix</application>, use the following arguments:
|
---|
| 215 | </para>
|
---|
[417f9e7] | 216 |
|
---|
[5690030] | 217 | <screen><literal>CCARGS='-DHAS_PGSQL -I/usr/include/postgresql'
|
---|
[438c11ab] | 218 | AUXLIBS='-lpq -lz -lm'</literal></screen>
|
---|
[58f0b91] | 219 |
|
---|
[417f9e7] | 220 | </sect4>
|
---|
| 221 |
|
---|
[daeea03] | 222 | <sect4>
|
---|
[45cd2f9] | 223 | <title>CDB/TinyCDB</title>
|
---|
[daeea03] | 224 |
|
---|
[2605bb1] | 225 | <para>
|
---|
| 226 | To use <application>CDB</application> or
|
---|
| 227 | <application>TinyCDB</application> with
|
---|
| 228 | <application>Postfix</application>, use the following arguments:
|
---|
| 229 | </para>
|
---|
[daeea03] | 230 |
|
---|
[bccbdaea] | 231 | <screen><literal>CCARGS='-DHAS_CDB'
|
---|
[410e228b] | 232 | AUXLIBS='<replaceable></path/to/CDB></replaceable>/libcdb.a'</literal></screen>
|
---|
[58f0b91] | 233 |
|
---|
[45cd2f9] | 234 | </sect4>
|
---|
| 235 |
|
---|
| 236 | <sect4>
|
---|
| 237 | <title>StartTLS Authentication</title>
|
---|
| 238 |
|
---|
[2605bb1] | 239 | <para>
|
---|
| 240 | To use <application>OpenSSL</application> with
|
---|
| 241 | <application>Postfix</application>, use the following arguments:
|
---|
| 242 | </para>
|
---|
[45cd2f9] | 243 |
|
---|
| 244 | <screen><literal>CCARGS='-DUSE_TLS -I/usr/include/openssl/'
|
---|
[438c11ab] | 245 | AUXLIBS='-lssl -lcrypto'</literal></screen>
|
---|
[daeea03] | 246 | </sect4>
|
---|
[58f0b91] | 247 |
|
---|
[417f9e7] | 248 | </sect3>
|
---|
| 249 |
|
---|
| 250 | <sect3>
|
---|
| 251 | <title>Installing Postfix</title>
|
---|
| 252 |
|
---|
[2605bb1] | 253 | <para>
|
---|
[58f0b91] | 254 | If you have <application>Cyrus SASL</application> and
|
---|
| 255 | <application>OpenSSL</application> installed, install
|
---|
[2605bb1] | 256 | <application>Postfix</application> by running the following commands:
|
---|
| 257 | </para>
|
---|
[438c11ab] | 258 |
|
---|
[df9fb20] | 259 | <screen><userinput>make CCARGS="-DUSE_TLS -I/usr/include/openssl/ \
|
---|
[58f0b91] | 260 | -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl" \
|
---|
| 261 | AUXLIBS="-lssl -lcrypto -lsasl2" \
|
---|
[bab9d8e7] | 262 | makefiles &&
|
---|
[2605bb1] | 263 | make</userinput></screen>
|
---|
[0dfb754] | 264 |
|
---|
[cef276c] | 265 | <!-- There is a testsuite, but it fails a lot. It seems to need
|
---|
| 266 | the host to be specifically setup for the tests.
|
---|
| 267 | Run with `make tests' and `make root_tests' -->
|
---|
[2605bb1] | 268 | <para>
|
---|
| 269 | This package does not come with a useful test suite.
|
---|
| 270 | </para>
|
---|
[0dfb754] | 271 |
|
---|
[2605bb1] | 272 | <para>
|
---|
| 273 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 274 | </para>
|
---|
[417f9e7] | 275 |
|
---|
[c9652d2] | 276 | <!-- dev note: sh postfix-install -non-interactive install_root=<DESTDIR> ... -->
|
---|
[2e8afa9] | 277 |
|
---|
[2605bb1] | 278 | <screen role="root"><userinput>sh postfix-install -non-interactive \
|
---|
[58f0b91] | 279 | daemon_directory=/usr/lib/postfix \
|
---|
| 280 | manpage_directory=/usr/share/man \
|
---|
| 281 | html_directory=/usr/share/doc/postfix-&postfix-version;/html \
|
---|
| 282 | readme_directory=/usr/share/doc/postfix-&postfix-version;/readme</userinput></screen>
|
---|
| 283 |
|
---|
[417f9e7] | 284 | </sect3>
|
---|
[58f0b91] | 285 |
|
---|
[417f9e7] | 286 | </sect2>
|
---|
[0931098] | 287 |
|
---|
[417f9e7] | 288 | <sect2 role="commands">
|
---|
| 289 | <title>Command Explanations</title>
|
---|
[0931098] | 290 |
|
---|
[2605bb1] | 291 | <para>
|
---|
| 292 | <command>make makefiles</command>: This command rebuilds the makefiles
|
---|
| 293 | throughout the source tree to use the options contained in the
|
---|
| 294 | <envar>CCARGS</envar> and <envar>AUXLIBS</envar> variables.
|
---|
| 295 | </para>
|
---|
[8568fa6] | 296 |
|
---|
[2605bb1] | 297 | <para>
|
---|
| 298 | <command>sh postfix-install -non-interactive</command>: This keeps the
|
---|
| 299 | install script from asking any questions, thereby accepting default
|
---|
| 300 | destination directories in all but the few cases. If the
|
---|
| 301 | <option>html_directory</option> and <option>readme_directory</option>
|
---|
| 302 | options are not set then the documentation will not be installed.
|
---|
| 303 | </para>
|
---|
[58f0b91] | 304 |
|
---|
[d9321c0] | 305 | <para>
|
---|
| 306 | <option>CCARGS="-DNO_EAI ..."</option>: this will turn off SMTPUTF8
|
---|
| 307 | support, for example if the rest of your email address infrastructure
|
---|
| 308 | cannot handle UTF-8 email addresses and message header values.
|
---|
| 309 | </para>
|
---|
| 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">
|
---|
[1258125] | 404 | <title><phrase revision="sysv">Boot Script</phrase>
|
---|
| 405 | <phrase revision="systemd">Systemd Unit</phrase></title>
|
---|
[417f9e7] | 406 |
|
---|
[2605bb1] | 407 | <para>
|
---|
| 408 | To automate the running of Postfix at startup, install the
|
---|
[1258125] | 409 | <phrase revision="sysv"><filename>/etc/rc.d/init.d/postfix</filename>
|
---|
| 410 | init script</phrase>
|
---|
| 411 | <phrase revision="systemd"><filename>postfix.service</filename>
|
---|
| 412 | unit</phrase> included in the
|
---|
| 413 | <xref linkend="bootscripts" revision="sysv"/>
|
---|
[3c7bd00] | 414 | <xref linkend="systemd-units" revision="systemd"/> package.
|
---|
[2605bb1] | 415 | </para>
|
---|
[417f9e7] | 416 |
|
---|
| 417 | <indexterm zone="postfix postfix-init">
|
---|
| 418 | <primary sortas="f-postfix">postfix</primary>
|
---|
| 419 | </indexterm>
|
---|
| 420 |
|
---|
| 421 | <screen role="root"><userinput>make install-postfix</userinput></screen>
|
---|
[58f0b91] | 422 |
|
---|
[417f9e7] | 423 | </sect3>
|
---|
[58f0b91] | 424 |
|
---|
[417f9e7] | 425 | </sect2>
|
---|
| 426 |
|
---|
| 427 | <sect2 role="content">
|
---|
| 428 | <title>Contents</title>
|
---|
| 429 |
|
---|
| 430 | <segmentedlist>
|
---|
| 431 | <segtitle>Installed Programs</segtitle>
|
---|
[58f0b91] | 432 | <segtitle>Installed Libraries</segtitle>
|
---|
[417f9e7] | 433 | <segtitle>Installed Directories</segtitle>
|
---|
| 434 |
|
---|
| 435 | <seglistitem>
|
---|
[2605bb1] | 436 | <seg>
|
---|
[f13b771] | 437 | mailq (symlink), newaliases (symlink), postalias, postcat, postconf,
|
---|
| 438 | postdrop, postfix, postkick, postlock, postlog, postmap, postmulti,
|
---|
| 439 | postqueue, postsuper, and sendmail
|
---|
[58f0b91] | 440 | </seg>
|
---|
| 441 | <seg>
|
---|
| 442 | None
|
---|
[2605bb1] | 443 | </seg>
|
---|
| 444 | <seg>
|
---|
[0a76c13] | 445 | /{etc,usr/lib}/postfix,
|
---|
| 446 | /usr/share/doc/postfix-&postfix-version; and
|
---|
| 447 | /var/{lib,spool}/postfix
|
---|
[2605bb1] | 448 | </seg>
|
---|
[417f9e7] | 449 | </seglistitem>
|
---|
| 450 | </segmentedlist>
|
---|
| 451 |
|
---|
| 452 | <variablelist>
|
---|
| 453 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 454 | <?dbfo list-presentation="list"?>
|
---|
| 455 | <?dbhtml list-presentation="table"?>
|
---|
| 456 |
|
---|
| 457 | <varlistentry id="mailq">
|
---|
| 458 | <term><command>mailq</command></term>
|
---|
| 459 | <listitem>
|
---|
[2605bb1] | 460 | <para>
|
---|
| 461 | A symlink to <filename>sendmail</filename>.
|
---|
| 462 | </para>
|
---|
[417f9e7] | 463 | <indexterm zone="postfix mailq">
|
---|
| 464 | <primary sortas="b-mailq">mailq</primary>
|
---|
| 465 | </indexterm>
|
---|
| 466 | </listitem>
|
---|
| 467 | </varlistentry>
|
---|
| 468 |
|
---|
| 469 | <varlistentry id="newaliases">
|
---|
| 470 | <term><command>newaliases</command></term>
|
---|
| 471 | <listitem>
|
---|
[2605bb1] | 472 | <para>
|
---|
| 473 | A symlink to <filename>sendmail</filename>.
|
---|
| 474 | </para>
|
---|
[417f9e7] | 475 | <indexterm zone="postfix newaliases">
|
---|
| 476 | <primary sortas="b-newaliases">newaliases</primary>
|
---|
| 477 | </indexterm>
|
---|
| 478 | </listitem>
|
---|
| 479 | </varlistentry>
|
---|
| 480 |
|
---|
[2e8afa9] | 481 | <varlistentry id="postalias">
|
---|
| 482 | <term><command>postalias</command></term>
|
---|
[417f9e7] | 483 | <listitem>
|
---|
[2605bb1] | 484 | <para>
|
---|
| 485 | is a utility for <application>Postfix</application> alias database
|
---|
| 486 | maintenance
|
---|
| 487 | </para>
|
---|
[2e8afa9] | 488 | <indexterm zone="postfix postalias">
|
---|
| 489 | <primary sortas="b-postalias">postalias</primary>
|
---|
[417f9e7] | 490 | </indexterm>
|
---|
| 491 | </listitem>
|
---|
| 492 | </varlistentry>
|
---|
| 493 |
|
---|
| 494 | <varlistentry id="postcat">
|
---|
| 495 | <term><command>postcat</command></term>
|
---|
| 496 | <listitem>
|
---|
[2605bb1] | 497 | <para>
|
---|
| 498 | Prints the contents of files from the
|
---|
| 499 | <application>Postfix</application> queue in human readable format.
|
---|
| 500 | </para>
|
---|
[417f9e7] | 501 | <indexterm zone="postfix postcat">
|
---|
| 502 | <primary sortas="b-postcat">postcat</primary>
|
---|
| 503 | </indexterm>
|
---|
| 504 | </listitem>
|
---|
| 505 | </varlistentry>
|
---|
| 506 |
|
---|
| 507 | <varlistentry id="postconf">
|
---|
| 508 | <term><command>postconf</command></term>
|
---|
| 509 | <listitem>
|
---|
[2605bb1] | 510 | <para>
|
---|
| 511 | Displays or changes the value of
|
---|
| 512 | <application>Postfix</application> configuration parameters.
|
---|
| 513 | </para>
|
---|
[417f9e7] | 514 | <indexterm zone="postfix postconf">
|
---|
| 515 | <primary sortas="b-postconf">postconf</primary>
|
---|
| 516 | </indexterm>
|
---|
| 517 | </listitem>
|
---|
| 518 | </varlistentry>
|
---|
| 519 |
|
---|
| 520 | <varlistentry id="postdrop">
|
---|
| 521 | <term><command>postdrop</command></term>
|
---|
| 522 | <listitem>
|
---|
[2605bb1] | 523 | <para>
|
---|
| 524 | Creates a file in the maildrop directory and copies its standard
|
---|
| 525 | input to the file.
|
---|
| 526 | </para>
|
---|
[417f9e7] | 527 | <indexterm zone="postfix postdrop">
|
---|
| 528 | <primary sortas="b-postdrop">postdrop</primary>
|
---|
| 529 | </indexterm>
|
---|
| 530 | </listitem>
|
---|
| 531 | </varlistentry>
|
---|
| 532 |
|
---|
| 533 | <varlistentry id="postfix-bin">
|
---|
| 534 | <term><command>postfix</command></term>
|
---|
| 535 | <listitem>
|
---|
[2605bb1] | 536 | <para>
|
---|
| 537 | is the <application>Postfix</application> control program.
|
---|
| 538 | </para>
|
---|
[417f9e7] | 539 | <indexterm zone="postfix postfix-bin">
|
---|
| 540 | <primary sortas="b-postfix">postfix</primary>
|
---|
| 541 | </indexterm>
|
---|
| 542 | </listitem>
|
---|
| 543 | </varlistentry>
|
---|
| 544 |
|
---|
| 545 | <varlistentry id="postkick">
|
---|
| 546 | <term><command>postkick</command></term>
|
---|
| 547 | <listitem>
|
---|
[2605bb1] | 548 | <para>
|
---|
| 549 | Sends requests to the specified service over a local transport
|
---|
| 550 | channel.
|
---|
| 551 | </para>
|
---|
[417f9e7] | 552 | <indexterm zone="postfix postkick">
|
---|
| 553 | <primary sortas="b-postkick">postkick</primary>
|
---|
| 554 | </indexterm>
|
---|
| 555 | </listitem>
|
---|
| 556 | </varlistentry>
|
---|
| 557 |
|
---|
| 558 | <varlistentry id="postlock">
|
---|
| 559 | <term><command>postlock</command></term>
|
---|
| 560 | <listitem>
|
---|
[2605bb1] | 561 | <para>
|
---|
| 562 | Locks a mail folder for exclusive use, and executes commands passed
|
---|
| 563 | to it.
|
---|
| 564 | </para>
|
---|
[417f9e7] | 565 | <indexterm zone="postfix postlock">
|
---|
| 566 | <primary sortas="b-postlock">postlock</primary>
|
---|
| 567 | </indexterm>
|
---|
| 568 | </listitem>
|
---|
| 569 | </varlistentry>
|
---|
| 570 |
|
---|
| 571 | <varlistentry id="postlog">
|
---|
| 572 | <term><command>postlog</command></term>
|
---|
| 573 | <listitem>
|
---|
[2605bb1] | 574 | <para>
|
---|
| 575 | A <application>Postfix</application>-compatible logging interface
|
---|
| 576 | for use in, for example, shell scripts.
|
---|
| 577 | </para>
|
---|
[417f9e7] | 578 | <indexterm zone="postfix postlog">
|
---|
| 579 | <primary sortas="b-postlog">postlog</primary>
|
---|
| 580 | </indexterm>
|
---|
| 581 | </listitem>
|
---|
| 582 | </varlistentry>
|
---|
| 583 |
|
---|
| 584 | <varlistentry id="postmap">
|
---|
| 585 | <term><command>postmap</command></term>
|
---|
| 586 | <listitem>
|
---|
[2605bb1] | 587 | <para>
|
---|
| 588 | Creates or queries one or more Postfix lookup tables, or updates an
|
---|
| 589 | existing one.
|
---|
| 590 | </para>
|
---|
[417f9e7] | 591 | <indexterm zone="postfix postmap">
|
---|
| 592 | <primary sortas="b-postmap">postmap</primary>
|
---|
| 593 | </indexterm>
|
---|
| 594 | </listitem>
|
---|
| 595 | </varlistentry>
|
---|
| 596 |
|
---|
[2605bb1] | 597 | <varlistentry id="postmulti">
|
---|
| 598 | <term><command>postmulti</command></term>
|
---|
| 599 | <listitem>
|
---|
| 600 | <para>
|
---|
| 601 | is the <application>Postfix</application> multi-instance manager.
|
---|
| 602 | It allows a system administrator to manage multiple
|
---|
| 603 | <application>Postfix</application> instances on a single host.
|
---|
| 604 | </para>
|
---|
| 605 | <indexterm zone="postfix postmulti">
|
---|
| 606 | <primary sortas="b-postmulti">postmulti</primary>
|
---|
| 607 | </indexterm>
|
---|
| 608 | </listitem>
|
---|
| 609 | </varlistentry>
|
---|
| 610 |
|
---|
[417f9e7] | 611 | <varlistentry id="postqueue">
|
---|
| 612 | <term><command>postqueue</command></term>
|
---|
| 613 | <listitem>
|
---|
[2605bb1] | 614 | <para>
|
---|
[58f0b91] | 615 | The <application>Postfix</application> user interface for
|
---|
| 616 | queue management.
|
---|
| 617 | </para>
|
---|
[417f9e7] | 618 | <indexterm zone="postfix postqueue">
|
---|
| 619 | <primary sortas="b-postqueue">postqueue</primary>
|
---|
| 620 | </indexterm>
|
---|
| 621 | </listitem>
|
---|
| 622 | </varlistentry>
|
---|
| 623 |
|
---|
| 624 | <varlistentry id="postsuper">
|
---|
| 625 | <term><command>postsuper</command></term>
|
---|
| 626 | <listitem>
|
---|
[2605bb1] | 627 | <para>
|
---|
[58f0b91] | 628 | The <application>Postfix</application> user interface for
|
---|
| 629 | superuser queue management.
|
---|
| 630 | </para>
|
---|
[417f9e7] | 631 | <indexterm zone="postfix postsuper">
|
---|
| 632 | <primary sortas="b-postsuper">postsuper</primary>
|
---|
| 633 | </indexterm>
|
---|
| 634 | </listitem>
|
---|
| 635 | </varlistentry>
|
---|
| 636 |
|
---|
| 637 | <varlistentry id="sendmail-postfix">
|
---|
| 638 | <term><command>sendmail</command></term>
|
---|
| 639 | <listitem>
|
---|
[2605bb1] | 640 | <para>
|
---|
| 641 | is the <application>Postfix</application> to
|
---|
| 642 | <application>Sendmail</application> compatibility interface.
|
---|
| 643 | </para>
|
---|
[417f9e7] | 644 | <indexterm zone="postfix sendmail-postfix">
|
---|
| 645 | <primary sortas="b-sendmail">sendmail</primary>
|
---|
| 646 | </indexterm>
|
---|
| 647 | </listitem>
|
---|
| 648 | </varlistentry>
|
---|
[58f0b91] | 649 |
|
---|
[417f9e7] | 650 | </variablelist>
|
---|
[58f0b91] | 651 |
|
---|
[417f9e7] | 652 | </sect2>
|
---|
[58f0b91] | 653 |
|
---|
[f45b1953] | 654 | </sect1>
|
---|