Th eK command is detailed and the
types of databases are explained in Chapter 23 on page 878.
1.8.4.12 Environment variables
The sendmail program is very paranoid about security. One way to circumvent security
with root-run programs suchas sendmail is by running them with bogus environment
variables. To prevent suchan end run, V8 sendmail erases all its environment
variables when it starts. It then presets the values for a small set of variables (such as
TZ and SYSTYPE). This small, safe environment is then passed to its delivery agents.
Beginning withV8.7 sendmail, sites that wish to augment this list can do so with the
E configuration command:
EPOSTGRESHOME=/home/postgres
Here, the environment variable POSTGRESHOME is assigned the value /home/
postgres.
This allows programs to use the postgres(1) database to access information. The E
command is detailed in Chapter 4 on page 154.
1.8.4.13 Queues defined
Beginning withV8.12, it is possible to bothdefine a queue group and set its individual
properties. Rule sets then select to which queue group a recipient??™s message
should belong.
To illustrate, consider a situation in which a great deal of your site??™s mail goes to a
host that is very busy during the day. You might prefer such mail, when it is
deferred, to be retried only once every other hour. You could define such a site??™s
queue like this:
Qslowsite, P=/var/spool/mqueue/slowdir, I=2h
This configuration file line tells sendmail to place all mail bound for that site into the
queue directory /var/spool/mqueue/slowdir and to process messages from that directory
only once every 2 hours.
Pages:
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95