cf. This is the special message submission configuration file that knows about
the second queue. The -q30m command-line switchcauses sendmail to wake up once
each 30 minutes and process any deferred messages it finds in the second queue.*
To differentiate one sendmail from another in the logs created by the syslog(8) facility,
you can use the -L command-line switch(?§6.7.30 on page 243). One suggestion
looks like this:
/usr/sbin/sendmail -L mta-daemon -bd -q30m
/usr/sbin/sendmail -L msp-queue -Ac -q30m
The first line is the invocation of sendmail that is most common (with the -bd -q30m).
The second line has been added to drain the second (mail submission) queue. The
first will contain the identifier mta-daemon in its syslog(8) logfiles. The second will
contain the identifier msp-queue. These identifiers are only suggestions, and you
might prefer something more suitable to your site??™s needs.
The sendmail program is usually started from a script in the etc directory. On System-
V-based versions of Unix, that file is usually found in the /etc/init.d directory. On
other versions of Unix, that file could live directly in the etc directory, and might be
called rc or rc.local. Whichever file contains the commands to start sendmail on your
system, look at it and determine how sendmail is currently started and stopped. You
might, for example, find lines such as this, from a FreeBSD 4.
Pages:
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141