db
/secure/etc/mail/access.db
/secure/var/spool/mail
/secure/usr/sbin/sendmail
/secure/var/mqueue
/secure/var/clientmqueue
etc.
If this /= delivery agent equate is declared for the local delivery agent as /=/secure, all local
delivery will first cause sendmail to chroot(8) into the /secure hierarchy. If that chroot(8)
fails, sendmail will log the failure and continue to chroot(8) into the root directory.
One way to declare the /= delivery agent equate and change the location of mail.local at the
same time is like this:
define(`LOCAL_MAILER_PATH??, `/bin/mail.local, /=/secure??)
Note that other files will have to appear in the /secure hierarchy. A /secure/dev/zero, for
example, will be necessary for Solaris-based systems. A Bourne shell will also be necessary
(e.g., /secure/bin/sh), as will a local delivery agent, suchas /secure/bin/mail.local. Running
delivery agents in a chroot(8) environment is not for the fainthearted, and much experimentation
will doubtless be required to get it right for your system.
Note that this /= delivery agent equate is intended to run sendmail??™s delivery agents in a
chroot(8) environment. It is not intended to run sendmail.
Q= QueueGroup ?§20.5.12 on page 750 The name of the queue group to use (V8.12 and later)
R= Recipient ?§20.5.13 on page 751 Recipient rewriting rule set
r= recipients ?§20.
Pages:
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290