[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 |
|
---|
[10405e6] | 7 | <!-- Downloads a web page
|
---|
| 8 | <!ENTITY sendmail-download-http "http://www.sendmail.org/ftp/sendmail.&sendmail-version;.tar.gz"> -->
|
---|
| 9 | <!ENTITY sendmail-download-http " ">
|
---|
[fb33bddb] | 10 | <!ENTITY sendmail-download-ftp "ftp://ftp.sendmail.org/pub/sendmail/sendmail.&sendmail-version;.tar.gz">
|
---|
[4bd3b64d] | 11 | <!ENTITY sendmail-md5sum "055f1d76c8027993a01ab6425aea4ae7">
|
---|
[2347067b] | 12 | <!ENTITY sendmail-size "2.1 MB">
|
---|
[4bd3b64d] | 13 | <!ENTITY sendmail-buildsize "19 MB">
|
---|
[00e014f4] | 14 | <!ENTITY sendmail-time "0.2 SBU">
|
---|
[0931098] | 15 | ]>
|
---|
| 16 |
|
---|
[dc600829] | 17 | <sect1 id="sendmail" xreflabel="sendmail-&sendmail-version;">
|
---|
[e6bbc4f9] | 18 | <?dbhtml filename="sendmail.html"?>
|
---|
| 19 |
|
---|
| 20 | <sect1info>
|
---|
| 21 | <othername>$LastChangedBy$</othername>
|
---|
| 22 | <date>$Date$</date>
|
---|
| 23 | </sect1info>
|
---|
| 24 |
|
---|
[dc600829] | 25 | <title>sendmail-&sendmail-version;</title>
|
---|
[e6bbc4f9] | 26 |
|
---|
| 27 | <indexterm zone="sendmail">
|
---|
[dc600829] | 28 | <primary sortas="a-sendmail">sendmail</primary>
|
---|
[e6bbc4f9] | 29 | </indexterm>
|
---|
| 30 |
|
---|
| 31 | <sect2 role="package">
|
---|
[dc600829] | 32 | <title>Introduction to sendmail</title>
|
---|
[e6bbc4f9] | 33 |
|
---|
[27b601a] | 34 | <para>
|
---|
| 35 | The <application>sendmail</application> package contains a Mail
|
---|
| 36 | Transport Agent (MTA).
|
---|
| 37 | </para>
|
---|
[e6bbc4f9] | 38 |
|
---|
[2da40d0] | 39 | &lfs10_checked;
|
---|
[5d28d0d4] | 40 |
|
---|
[e6bbc4f9] | 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
[27b601a] | 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&sendmail-download-http;"/>
|
---|
| 46 | </para>
|
---|
[e6bbc4f9] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[27b601a] | 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&sendmail-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
[e6bbc4f9] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[27b601a] | 54 | <para>
|
---|
| 55 | Download MD5 sum: &sendmail-md5sum;
|
---|
| 56 | </para>
|
---|
[e6bbc4f9] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[27b601a] | 59 | <para>
|
---|
| 60 | Download size: &sendmail-size;
|
---|
| 61 | </para>
|
---|
[e6bbc4f9] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[27b601a] | 64 | <para>
|
---|
| 65 | Estimated disk space required: &sendmail-buildsize;
|
---|
| 66 | </para>
|
---|
[e6bbc4f9] | 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
[27b601a] | 69 | <para>
|
---|
| 70 | Estimated build time: &sendmail-time;
|
---|
| 71 | </para>
|
---|
[e6bbc4f9] | 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
[27b601a] | 74 |
|
---|
[4bd3b64d] | 75 | <!-- Sendmail 8.16.1 does have official support for OpenSSL 1.1
|
---|
[91c26753] | 76 | <itemizedlist spacing="compact">
|
---|
| 77 | <listitem>
|
---|
| 78 | <para>
|
---|
| 79 | Required patch:
|
---|
[abca0d9] | 80 | <ulink url="&patch-root;/sendmail.&sendmail-version;-openssl-1.patch"/>
|
---|
[91c26753] | 81 | </para>
|
---|
| 82 | </listitem>
|
---|
| 83 | </itemizedlist>
|
---|
[4bd3b64d] | 84 | -->
|
---|
[e6bbc4f9] | 85 |
|
---|
[dc600829] | 86 | <bridgehead renderas="sect3">sendmail Dependencies</bridgehead>
|
---|
[e6bbc4f9] | 87 |
|
---|
| 88 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[dc600829] | 89 | <para role="required">
|
---|
[4585084d] | 90 | <xref linkend="openldap"/> (client)
|
---|
[dc600829] | 91 | </para>
|
---|
[e6bbc4f9] | 92 |
|
---|
[23af6f9] | 93 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 94 | <para role="recommended">
|
---|
[c612fc3] | 95 | <xref linkend="cyrus-sasl"/>
|
---|
| 96 | </para>
|
---|
| 97 |
|
---|
[e6bbc4f9] | 98 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[dc600829] | 99 | <para role="optional">
|
---|
[dc20ce3] | 100 | <xref linkend="gs"/> (for creating PDF documentation),
|
---|
| 101 | <xref linkend="procmail"/> (the configuration proposed below requires
|
---|
| 102 | that <command>procmail</command> be present at run-time), and
|
---|
[ebbe9675] | 103 | <ulink url="https://github.com/chaos/nph">nph</ulink>
|
---|
[dc600829] | 104 | </para>
|
---|
[e6bbc4f9] | 105 |
|
---|
[3cb0c57] | 106 | <para condition="html" role="usernotes">User Notes:
|
---|
| 107 | <ulink url="&blfs-wiki;/sendmail"/></para>
|
---|
| 108 |
|
---|
[e6bbc4f9] | 109 | </sect2>
|
---|
| 110 |
|
---|
| 111 | <sect2 role="installation">
|
---|
[dc600829] | 112 | <title>Installation of sendmail</title>
|
---|
[e6bbc4f9] | 113 |
|
---|
[27b601a] | 114 | <para>
|
---|
| 115 | Before building <application>sendmail</application>, create the
|
---|
| 116 | required user, group and directory with the following commands issued as
|
---|
| 117 | the <systemitem class="username">root</systemitem> user:
|
---|
| 118 | </para>
|
---|
[e6bbc4f9] | 119 |
|
---|
[10405e6] | 120 | <screen role="root"><userinput>groupadd -g 26 smmsp &&
|
---|
[fb33bddb] | 121 | useradd -c "Sendmail Daemon" -g smmsp -d /dev/null \
|
---|
[10405e6] | 122 | -s /bin/false -u 26 smmsp &&
|
---|
| 123 | chmod -v 1777 /var/mail &&
|
---|
[e6bbc4f9] | 124 | install -v -m700 -d /var/spool/mqueue</userinput></screen>
|
---|
| 125 |
|
---|
[27b601a] | 126 | <note>
|
---|
| 127 | <para>
|
---|
| 128 | See the source tree <filename>sendmail/README</filename> file
|
---|
| 129 | for information on linking optional packages into the build. Use the
|
---|
| 130 | example below, which adds support for SASL, StartTLS
|
---|
| 131 | (<application>OpenSSL</application>) and
|
---|
| 132 | <application>OpenLDAP</application>, as a starting point. Of course,
|
---|
| 133 | modify it to suit your particular needs.
|
---|
| 134 | </para>
|
---|
| 135 | </note>
|
---|
[e6bbc4f9] | 136 |
|
---|
| 137 | <screen><userinput>cat >> devtools/Site/site.config.m4 << "EOF"
|
---|
[8c5de824] | 138 | <literal>APPENDDEF(`confENVDEF',`-DSTARTTLS -DSASL -DLDAPMAP')
|
---|
[91c26753] | 139 | APPENDDEF(`confLIBS', `-lssl -lcrypto -lsasl2 -lldap -llber -ldb')
|
---|
| 140 | APPENDDEF(`confINCDIRS', `-I/usr/include/sasl')</literal>
|
---|
[e6bbc4f9] | 141 | EOF</userinput></screen>
|
---|
[113bb709] | 142 |
|
---|
[27b601a] | 143 | <para>
|
---|
| 144 | Install <application>sendmail</application> with the following commands:
|
---|
| 145 | </para>
|
---|
[0931098] | 146 |
|
---|
[4bd3b64d] | 147 | <screen><userinput>cat >> devtools/Site/site.config.m4 << "EOF"
|
---|
[e6bbc4f9] | 148 | <literal>define(`confMANGRP',`root')
|
---|
[0931098] | 149 | define(`confMANOWN',`root')
|
---|
| 150 | define(`confSBINGRP',`root')
|
---|
| 151 | define(`confUBINGRP',`root')
|
---|
[2347067b] | 152 | define(`confUBINOWN',`root')</literal>
|
---|
[e6bbc4f9] | 153 | EOF
|
---|
[10405e6] | 154 |
|
---|
[3b00d20] | 155 | sed -i 's|/usr/man/man|/usr/share/man/man|' \
|
---|
| 156 | devtools/OS/Linux &&
|
---|
| 157 |
|
---|
[10405e6] | 158 | cd sendmail &&
|
---|
| 159 | sh Build &&
|
---|
| 160 | cd ../cf/cf &&
|
---|
[0931098] | 161 | cp generic-linux.mc sendmail.mc &&
|
---|
[e6bbc4f9] | 162 | sh Build sendmail.cf</userinput></screen>
|
---|
[d8614521] | 163 |
|
---|
[27b601a] | 164 | <para>
|
---|
| 165 | This package does not come with a test suite.
|
---|
| 166 | </para>
|
---|
[2e8e154] | 167 |
|
---|
[4bd3b64d] | 168 | <!-- When doing a DESTDIR= build, for example, for an update to check for new
|
---|
| 169 | installed files, you need to create $DEST/usr/{bin,sbin,share/man/man{1,5,8}
|
---|
| 170 | first. "sh Build" is a wrapper for Make, so it will accept DESTDIR=
|
---|
| 171 | as an argument. -->
|
---|
[27b601a] | 172 | <para>
|
---|
| 173 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 174 | </para>
|
---|
[d8614521] | 175 |
|
---|
[e6bbc4f9] | 176 | <screen role="root"><userinput>install -v -d -m755 /etc/mail &&
|
---|
[0931098] | 177 | sh Build install-cf &&
|
---|
[fb33bddb] | 178 |
|
---|
[10405e6] | 179 | cd ../.. &&
|
---|
| 180 | sh Build install &&
|
---|
[fb33bddb] | 181 |
|
---|
| 182 | install -v -m644 cf/cf/{submit,sendmail}.mc /etc/mail &&
|
---|
[10405e6] | 183 | cp -v -R cf/* /etc/mail &&
|
---|
[fb33bddb] | 184 |
|
---|
| 185 | install -v -m755 -d /usr/share/doc/sendmail-&sendmail-version;/{cf,sendmail} &&
|
---|
[10405e6] | 186 |
|
---|
| 187 | install -v -m644 CACerts FAQ KNOWNBUGS LICENSE PGPKEYS README RELEASE_NOTES \
|
---|
[fb33bddb] | 188 | /usr/share/doc/sendmail-&sendmail-version; &&
|
---|
[10405e6] | 189 |
|
---|
[fb33bddb] | 190 | install -v -m644 sendmail/{README,SECURITY,TRACEFLAGS,TUNING} \
|
---|
| 191 | /usr/share/doc/sendmail-&sendmail-version;/sendmail &&
|
---|
[10405e6] | 192 |
|
---|
[fb33bddb] | 193 | install -v -m644 cf/README /usr/share/doc/sendmail-&sendmail-version;/cf &&
|
---|
| 194 |
|
---|
[e6bbc4f9] | 195 | for manpage in sendmail editmap mailstats makemap praliases smrsh
|
---|
[b40beacc] | 196 | do
|
---|
[10405e6] | 197 | install -v -m644 $manpage/$manpage.8 /usr/share/man/man8
|
---|
[b40beacc] | 198 | done &&
|
---|
[10405e6] | 199 |
|
---|
| 200 | install -v -m644 sendmail/aliases.5 /usr/share/man/man5 &&
|
---|
| 201 | install -v -m644 sendmail/mailq.1 /usr/share/man/man1 &&
|
---|
| 202 | install -v -m644 sendmail/newaliases.1 /usr/share/man/man1 &&
|
---|
| 203 | install -v -m644 vacation/vacation.1 /usr/share/man/man1</userinput></screen>
|
---|
[0931098] | 204 |
|
---|
[27b601a] | 205 | <para>
|
---|
| 206 | Install the <application>sendmail</application> Installation and
|
---|
| 207 | Operations Guide with the following commands:
|
---|
| 208 | </para>
|
---|
[65e6ea9] | 209 |
|
---|
[27b601a] | 210 | <note>
|
---|
| 211 | <para>
|
---|
| 212 | Remove <filename>op.pdf</filename> from the <command>make</command>
|
---|
| 213 | and <command>install</command> commands below if
|
---|
| 214 | you don't have <application>Ghostscript</application> installed.
|
---|
| 215 | </para>
|
---|
| 216 | </note>
|
---|
[10405e6] | 217 |
|
---|
[06908bf6] | 218 | <screen remap="doc"><userinput>cd doc/op &&
|
---|
[fb33bddb] | 219 | sed -i 's/groff/GROFF_NO_SGR=1 groff/' Makefile &&
|
---|
[e6bbc4f9] | 220 | make op.txt op.pdf</userinput></screen>
|
---|
[d8614521] | 221 |
|
---|
[27b601a] | 222 | <para>
|
---|
| 223 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 224 | </para>
|
---|
[d8614521] | 225 |
|
---|
[06908bf6] | 226 | <screen role="root"
|
---|
| 227 | remap="doc"><userinput>install -v -d -m755 /usr/share/doc/sendmail-&sendmail-version; &&
|
---|
[fb33bddb] | 228 | install -v -m644 op.ps op.txt op.pdf /usr/share/doc/sendmail-&sendmail-version; &&
|
---|
| 229 | cd ../..</userinput></screen>
|
---|
[e6bbc4f9] | 230 |
|
---|
| 231 | </sect2>
|
---|
| 232 |
|
---|
| 233 | <sect2 role="commands">
|
---|
| 234 | <title>Command Explanations</title>
|
---|
| 235 |
|
---|
[27b601a] | 236 | <para>
|
---|
| 237 | <command>cat > devtools/Site/site.config.m4 << "EOF"</command>:
|
---|
| 238 | This creates a configuration file changing some of the default settings.
|
---|
| 239 | </para>
|
---|
[e6bbc4f9] | 240 |
|
---|
[27b601a] | 241 | <para>
|
---|
| 242 | <command>sed ... devtools/OS/Linux</command>: The site.config.m4
|
---|
| 243 | does not honor a change to the man directory, so fix it in the OS
|
---|
| 244 | definitions.
|
---|
| 245 | </para>
|
---|
[3b00d20] | 246 |
|
---|
[4bd3b64d] | 247 | <!-- No longer valid with 8.16.1
|
---|
[27b601a] | 248 | <para>
|
---|
| 249 | <command>sed ... include/sm/bdb.h</command>: This allows sendmail to
|
---|
| 250 | build properly with <xref linkend='db'/> versions 5 and above.
|
---|
| 251 | </para>
|
---|
[4bd3b64d] | 252 | -->
|
---|
[10405e6] | 253 |
|
---|
[27b601a] | 254 | <para>
|
---|
| 255 | <command>sh Build; sh Build sendmail.cf; sh Build install-cf;
|
---|
| 256 | sh Build install</command>: <application>sendmail</application> uses an
|
---|
| 257 | <application>m4</application> based build script to create the various
|
---|
| 258 | <filename>Makefile</filename>s. These commands build and install the
|
---|
| 259 | package.
|
---|
| 260 | </para>
|
---|
[e6bbc4f9] | 261 |
|
---|
[27b601a] | 262 | <para>
|
---|
| 263 | <command>for manpage in...;do...;done; install ...</command>: The man
|
---|
| 264 | pages are installed already formatted and <command>man</command> displays
|
---|
| 265 | them somewhat garbled. These commands replace the formatted pages with
|
---|
| 266 | pages <command>man</command> can display properly.
|
---|
| 267 | </para>
|
---|
[e6bbc4f9] | 268 |
|
---|
| 269 | </sect2>
|
---|
| 270 |
|
---|
| 271 | <sect2 role="configuration">
|
---|
[dc600829] | 272 | <title>Configuring sendmail</title>
|
---|
[e6bbc4f9] | 273 |
|
---|
| 274 | <sect3 id="sendmail-config">
|
---|
| 275 | <title>Config Files</title>
|
---|
| 276 |
|
---|
[27b601a] | 277 | <para>
|
---|
| 278 | <filename>/etc/mail/*</filename>
|
---|
| 279 | </para>
|
---|
[e6bbc4f9] | 280 |
|
---|
| 281 | <indexterm zone="sendmail sendmail-config">
|
---|
| 282 | <primary sortas="e-etc-mail">/etc/mail/*</primary>
|
---|
| 283 | </indexterm>
|
---|
| 284 |
|
---|
| 285 | </sect3>
|
---|
| 286 |
|
---|
| 287 | <sect3>
|
---|
| 288 | <title>Configuration Information</title>
|
---|
| 289 |
|
---|
[27b601a] | 290 | <note>
|
---|
| 291 | <para>
|
---|
| 292 | Ensure you have a fully qualified domain name defined
|
---|
| 293 | in <filename>/etc/hosts</filename> for your system before proceeding.
|
---|
| 294 | </para>
|
---|
| 295 | </note>
|
---|
[059a1a5c] | 296 |
|
---|
[27b601a] | 297 | <para>
|
---|
| 298 | Create the <filename>/etc/mail/local-host-names</filename> and
|
---|
| 299 | <filename>/etc/mail/aliases</filename> files using the following
|
---|
| 300 | commands as the <systemitem class="username">root</systemitem> user:
|
---|
| 301 | </para>
|
---|
[e6bbc4f9] | 302 |
|
---|
| 303 | <screen role="root"><userinput>echo $(hostname) > /etc/mail/local-host-names
|
---|
| 304 | cat > /etc/mail/aliases << "EOF"
|
---|
| 305 | <literal>postmaster: root
|
---|
| 306 | MAILER-DAEMON: root</literal>
|
---|
| 307 |
|
---|
| 308 | EOF
|
---|
[6cf1113] | 309 | newaliases</userinput></screen>
|
---|
[e6bbc4f9] | 310 |
|
---|
[27b601a] | 311 | <para>
|
---|
| 312 | <application>sendmail</application>'s primary configuration file,
|
---|
| 313 | <filename>/etc/mail/sendmail.cf</filename>, is complex and not meant to
|
---|
| 314 | be directly edited. The recommended method for changing it is to modify
|
---|
| 315 | <filename>/etc/mail/sendmail.mc</filename> and various
|
---|
| 316 | <application>m4</application> files, then run the <command>m4</command>
|
---|
| 317 | macro processor from within
|
---|
| 318 | <filename class='directory'>/etc/mail</filename> as follows:
|
---|
| 319 | </para>
|
---|
[e6bbc4f9] | 320 |
|
---|
[3b00d20] | 321 | <screen role="root"><userinput>cd /etc/mail &&
|
---|
| 322 | m4 m4/cf.m4 sendmail.mc > sendmail.cf</userinput></screen>
|
---|
[e6bbc4f9] | 323 |
|
---|
[27b601a] | 324 | <para>
|
---|
| 325 | A full explanation of the files to modify, and the available
|
---|
| 326 | parameters can be found in <filename>/etc/mail/README</filename>.
|
---|
| 327 | </para>
|
---|
[e6bbc4f9] | 328 |
|
---|
| 329 | </sect3>
|
---|
| 330 |
|
---|
| 331 | <sect3 id="sendmail-init">
|
---|
[1258125] | 332 | <title><phrase revision="sysv">Boot Script</phrase>
|
---|
| 333 | <phrase revision="systemd">Systemd Unit</phrase></title>
|
---|
[e6bbc4f9] | 334 |
|
---|
[27b601a] | 335 | <para>
|
---|
| 336 | To automate the running of <application>sendmail</application>
|
---|
| 337 | at startup, install the
|
---|
| 338 | <phrase revision="sysv"><filename>/etc/rc.d/init.d/sendmail</filename>
|
---|
| 339 | init script</phrase>
|
---|
| 340 | <phrase revision="systemd"><filename>sendmail.service</filename>
|
---|
| 341 | unit</phrase> included in the
|
---|
| 342 | <xref linkend="bootscripts" revision="sysv"/>
|
---|
[4472e923] | 343 | <xref linkend="systemd-units" revision="systemd"/> package:
|
---|
[27b601a] | 344 | </para>
|
---|
[e6bbc4f9] | 345 |
|
---|
| 346 | <indexterm zone="sendmail sendmail-init">
|
---|
| 347 | <primary sortas="f-sendmail-init">sendmail</primary>
|
---|
| 348 | </indexterm>
|
---|
| 349 |
|
---|
| 350 | <screen role="root"><userinput>make install-sendmail</userinput></screen>
|
---|
| 351 |
|
---|
| 352 | <note>
|
---|
[27b601a] | 353 | <para>
|
---|
| 354 | The -qNm option to <command>sendmail</command>, where N is number
|
---|
| 355 | of minutes, controls how often <application>sendmail</application>
|
---|
| 356 | will process the mail queue. A default of 5 minutes is used in the
|
---|
| 357 | <phrase revision="sysv">init script.</phrase>
|
---|
| 358 | <phrase revision="systemd">systemd unit.</phrase> Individual
|
---|
| 359 | workstation users may want to set this as low as 1 minute, large
|
---|
| 360 | installations handling more mail may want to set it higher.
|
---|
| 361 | </para>
|
---|
[e6bbc4f9] | 362 | </note>
|
---|
| 363 |
|
---|
| 364 | </sect3>
|
---|
| 365 |
|
---|
| 366 | </sect2>
|
---|
| 367 |
|
---|
| 368 | <sect2 role="content">
|
---|
| 369 | <title>Contents</title>
|
---|
| 370 |
|
---|
| 371 | <segmentedlist>
|
---|
| 372 | <segtitle>Installed Programs</segtitle>
|
---|
| 373 | <segtitle>Installed Libraries</segtitle>
|
---|
| 374 | <segtitle>Installed Directories</segtitle>
|
---|
| 375 |
|
---|
| 376 | <seglistitem>
|
---|
[4585084d] | 377 | <seg>editmap, mailstats, makemap, praliases, sendmail, smrsh,
|
---|
| 378 | and vacation; symlinks to /usr/sbin/sendmail: hoststat, mailq,
|
---|
| 379 | newaliases, and purgestat</seg>
|
---|
[e6bbc4f9] | 380 | <seg>None</seg>
|
---|
| 381 | <seg>/etc/mail, /usr/share/doc/sendmail-&sendmail-version;,
|
---|
[4bd3b64d] | 382 | and /var/spool/clientmqueue</seg>
|
---|
[e6bbc4f9] | 383 | </seglistitem>
|
---|
| 384 | </segmentedlist>
|
---|
| 385 |
|
---|
| 386 | <variablelist>
|
---|
| 387 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 388 | <?dbfo list-presentation="list"?>
|
---|
| 389 | <?dbhtml list-presentation="table"?>
|
---|
| 390 |
|
---|
| 391 | <varlistentry id="editmap">
|
---|
| 392 | <term><command>editmap</command></term>
|
---|
| 393 | <listitem>
|
---|
[27b601a] | 394 | <para>
|
---|
| 395 | queries and edits <application>sendmail</application> map files.
|
---|
| 396 | </para>
|
---|
[e6bbc4f9] | 397 | <indexterm zone="sendmail editmap">
|
---|
| 398 | <primary sortas="b-editmap">editmap</primary>
|
---|
| 399 | </indexterm>
|
---|
| 400 | </listitem>
|
---|
| 401 | </varlistentry>
|
---|
| 402 |
|
---|
| 403 | <varlistentry id="hoststat">
|
---|
| 404 | <term><command>hoststat</command></term>
|
---|
| 405 | <listitem>
|
---|
[27b601a] | 406 | <para>
|
---|
| 407 | prints <application>sendmail</application>'s persistent host status.
|
---|
| 408 | </para>
|
---|
[e6bbc4f9] | 409 | <indexterm zone="sendmail hoststat">
|
---|
| 410 | <primary sortas="b-hoststat">hoststat</primary>
|
---|
| 411 | </indexterm>
|
---|
| 412 | </listitem>
|
---|
| 413 | </varlistentry>
|
---|
| 414 |
|
---|
| 415 | <varlistentry id="mailstats">
|
---|
| 416 | <term><command>mailstats</command></term>
|
---|
| 417 | <listitem>
|
---|
[27b601a] | 418 | <para>
|
---|
| 419 | displays <application>sendmail</application> statistics.
|
---|
| 420 | </para>
|
---|
[e6bbc4f9] | 421 | <indexterm zone="sendmail mailstats">
|
---|
| 422 | <primary sortas="b-mailstats">mailstats</primary>
|
---|
| 423 | </indexterm>
|
---|
| 424 | </listitem>
|
---|
| 425 | </varlistentry>
|
---|
| 426 |
|
---|
| 427 | <varlistentry id="mailq-sendmail">
|
---|
| 428 | <term><command>mailq</command></term>
|
---|
| 429 | <listitem>
|
---|
[27b601a] | 430 | <para>
|
---|
| 431 | prints a summary of outbound mail messages waiting for delivery.
|
---|
| 432 | </para>
|
---|
[e6bbc4f9] | 433 | <indexterm zone="sendmail mailq-sendmail">
|
---|
| 434 | <primary sortas="b-mailq">mailq</primary>
|
---|
| 435 | </indexterm>
|
---|
| 436 | </listitem>
|
---|
| 437 | </varlistentry>
|
---|
| 438 |
|
---|
| 439 | <varlistentry id="makemap">
|
---|
| 440 | <term><command>makemap</command></term>
|
---|
| 441 | <listitem>
|
---|
[27b601a] | 442 | <para>
|
---|
| 443 | creates <application>sendmail</application> map files.
|
---|
| 444 | </para>
|
---|
[e6bbc4f9] | 445 | <indexterm zone="sendmail makemap">
|
---|
| 446 | <primary sortas="b-makemap">makemap</primary>
|
---|
| 447 | </indexterm>
|
---|
| 448 | </listitem>
|
---|
| 449 | </varlistentry>
|
---|
| 450 |
|
---|
| 451 | <varlistentry id="newaliases-sendmail">
|
---|
| 452 | <term><command>newaliases</command></term>
|
---|
| 453 | <listitem>
|
---|
[27b601a] | 454 | <para>
|
---|
| 455 | rebuilds <filename>/etc/mail/aliases.db</filename> from the
|
---|
| 456 | contents of <filename>/etc/mail/aliases</filename>.
|
---|
| 457 | </para>
|
---|
[e6bbc4f9] | 458 | <indexterm zone="sendmail newaliases-sendmail">
|
---|
| 459 | <primary sortas="b-newaliases">newaliases</primary>
|
---|
| 460 | </indexterm>
|
---|
| 461 | </listitem>
|
---|
| 462 | </varlistentry>
|
---|
| 463 |
|
---|
| 464 | <varlistentry id="praliases">
|
---|
| 465 | <term><command>praliases</command></term>
|
---|
| 466 | <listitem>
|
---|
[27b601a] | 467 | <para>
|
---|
| 468 | displays current <application>sendmail</application> aliases.
|
---|
| 469 | </para>
|
---|
[e6bbc4f9] | 470 | <indexterm zone="sendmail praliases">
|
---|
| 471 | <primary sortas="b-praliases">praliases</primary>
|
---|
| 472 | </indexterm>
|
---|
| 473 | </listitem>
|
---|
| 474 | </varlistentry>
|
---|
| 475 |
|
---|
| 476 | <varlistentry id="purgestat">
|
---|
| 477 | <term><command>purgestat</command></term>
|
---|
| 478 | <listitem>
|
---|
[27b601a] | 479 | <para>
|
---|
| 480 | causes <application>sendmail</application> to clear (purge)
|
---|
| 481 | all its host-status information.
|
---|
| 482 | </para>
|
---|
[e6bbc4f9] | 483 | <indexterm zone="sendmail purgestat">
|
---|
| 484 | <primary sortas="b-purgestat">purgestat</primary>
|
---|
| 485 | </indexterm>
|
---|
| 486 | </listitem>
|
---|
| 487 | </varlistentry>
|
---|
| 488 |
|
---|
| 489 | <varlistentry id="sendmail-prog-sendmail">
|
---|
| 490 | <term><command>sendmail</command></term>
|
---|
| 491 | <listitem>
|
---|
[27b601a] | 492 | <para>
|
---|
| 493 | is the <application>sendmail</application> mail transport agent.
|
---|
| 494 | </para>
|
---|
[e6bbc4f9] | 495 | <indexterm zone="sendmail sendmail-prog-sendmail">
|
---|
| 496 | <primary sortas="b-sendmail">sendmail</primary>
|
---|
| 497 | </indexterm>
|
---|
| 498 | </listitem>
|
---|
| 499 | </varlistentry>
|
---|
| 500 |
|
---|
| 501 | <varlistentry id="smrsh">
|
---|
| 502 | <term><command>smrsh</command></term>
|
---|
| 503 | <listitem>
|
---|
[27b601a] | 504 | <para>
|
---|
| 505 | is a restricted shell for <application>sendmail</application>.
|
---|
| 506 | </para>
|
---|
[e6bbc4f9] | 507 | <indexterm zone="sendmail smrsh">
|
---|
| 508 | <primary sortas="b-smrsh">smrsh</primary>
|
---|
| 509 | </indexterm>
|
---|
| 510 | </listitem>
|
---|
| 511 | </varlistentry>
|
---|
| 512 |
|
---|
| 513 | <varlistentry id="vacation-sendmail">
|
---|
| 514 | <term><command>vacation</command></term>
|
---|
| 515 | <listitem>
|
---|
[27b601a] | 516 | <para>
|
---|
| 517 | is an email auto responder.
|
---|
| 518 | </para>
|
---|
[e6bbc4f9] | 519 | <indexterm zone="sendmail vacation-sendmail">
|
---|
| 520 | <primary sortas="b-vacation">vacation</primary>
|
---|
| 521 | </indexterm>
|
---|
| 522 | </listitem>
|
---|
| 523 | </varlistentry>
|
---|
| 524 |
|
---|
| 525 | </variablelist>
|
---|
| 526 |
|
---|
| 527 | </sect2>
|
---|
[f45b1953] | 528 |
|
---|
| 529 | </sect1>
|
---|