Prev | Current Page 249 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

12 sendmail, any changes to _PATH_VENDOR_CF will not be detected
if you just recompile sendmail. Instead, you need to recompile the library in libsm first:
%cd libsm
%./Build -c -f yoursite.m4
...
%cd ../sendmail
%./Build -c -f yoursite.m4
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
132 | Chapter 3: Tune sendmail with Compile-Time Macros
/etc/mail/sendmail.pid
The sendmail.pid file contains two lines of information. The first line is a text representation
of the pid of the current, running daemon. The second is a copy of the
command line that was originally used to start sendmail. This file is handy for killing
and restarting the daemon (see ?§1.7.1.2 on page 20 for examples). If BSD4_4 is
defined, the default becomes /var/run/sendmail.pid; otherwise, the default is /etc/mail/
sendmail.pid. You can change this default in your Build m4 file:
APPENDDEF(`confENVDEF??, `-D_PATH_SENDMAILPID=\"/src/tests/test.pid\"??)
Whatever value is given to this compile-time macro, it is used only as a default setting
for the PidFile option (?§24.9.84 on page 1063). That option determines the final location
of this file.
/etc/hosts
Ordinarily, sendmail will first look for a service-switch(?§24.9.108 on page 1088) to see
how it should look up the canonical names of hosts.


Pages:
237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261
czlowiek.cieszyn.pl wróżby miłosne poker plecaki Peg Perego Vela Easy Drive