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