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