d/sendmail or /etc/rc.conf) to change the way sendmail is started
and stopped at boot time.
In a non-set-user-id root world, sendmail runs under two guises. In one guise, it is run
by root to function as a listening daemon. This listening daemon is just like the listening
daemon of earlier versions, except that, instead of running as root no matter
who ran it, it now runs as root only if root runs it.
In its second guise, sendmail runs as an ordinary user to collect locally submitted
messages. In this mode of operation, sendmail is set-group-id to a special group, so it
runs in that group no matter who runs it. That group owns and has write permission
to a separate queue into which locally submitted deferred messages are placed.
* We no longer cover pre-V8.12 installation in this book.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
62 | Chapter 2: Download, Build, and Install
For this division of labor to work, the two guises need to use different configuration
files. The configuration file used by the listening daemon is the traditional sendmail.
cf file discussed throughout this book.* The configuration file used by the locally
submitted message sendmail is called submit.cf.?? Which configuration is used
depends on how sendmail is run.
If sendmail is run withth e -bm command-line switch(?§6.
Pages:
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134