..=\"/new/path/filename\"??)
The new path must be surrounded by backslashed quotation marks so that the compiler
will correctly interpret it as a string.
/etc/mail/sendmail.cf
The sendmail.cf file is pivotal to all of the sendmail program??™s operations (?§16.1 on
page 578). V8.7 sendmail recommends that it always be called sendmail.cf and always
be located in the /etc directory. Beginning withV8.10, sendmail recommends that it
always be located in the /etc/mail directory. For testing, debugging, or other legitimate
reasons, you might prefer to locate that file elsewhere (at least temporarily). You do
that with the _PATH_SENDMAILCF definition:
APPENDDEF(`confENVDEF??, `-D_PATH_SENDMAILCF=\"/src/tests/test.cf\"??)
Beginning withV8.10 sendmail, the default location of the configuration file is the
same for all versions of Unix, specifically /etc/mail/sendmail.cf. If you wishto revert to
the original vendor location, you can define the USE_VENDOR_CF_PATH compiletime
macro:
APPENDDEF(`confENVDEF??, `-DUSE_VENDOR_CF_PATH??)
This will cause sendmail to use the old location for its configuration file.
If your version of Unix is one that does not have a prior default (see the sendmail/conf.h
file), you can give sendmail one by defining the _PATH_VENDOR_CF too:
APPENDDEF(`confENVDEF??, `-D_PATH_VENDOR_CF=\"/src/tests/test.cf\"??)
APPENDDEF(`confENVDEF??, `-DUSE_VENDOR_CF_PATH??)
Beginning withV8.
Pages:
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260