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