]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Update mail queue related periodic scripts to account for sendmail 8.12's
authorGregory Neil Shapiro <gshapiro@FreeBSD.org>
Wed, 10 Apr 2002 03:58:40 +0000 (03:58 +0000)
committerGregory Neil Shapiro <gshapiro@FreeBSD.org>
Wed, 10 Apr 2002 03:58:40 +0000 (03:58 +0000)
commit14a349d554ed7f51a3a604cef61f4b05c9239d3b
tree6b0b75b209484d5e56e8742e678efecb40c834f9
parentf4c5dfbb9a528cccd3def9542d24501a6f59e76e
Update mail queue related periodic scripts to account for sendmail 8.12's
clientmqueue (submit mail queue).

The new mailq display is only active if both the old
daily_status_mailq_enable is set to "YES" and the new
daily_status_include_submit_mailq is set to "YES" so people who disabled
440.status-mailq won't have any surprises.

Likewise, the new queue run is only active if both the old
daily_queuerun_enable is set to "YES" and the new daily_submit_queuerun
is set to "YES" so people who disabled 500.queuerun won't have any
surprises.

While I am here, remove the [ ! -d /var/spool/mqueue ] checks from
both scripts as the queue directory isn't always /var/spool/mqueue for
the main daemon -- it can be set to anything in the sendmail.cf file.

MFC after: 1 week
etc/defaults/periodic.conf
etc/periodic/daily/440.status-mailq
etc/periodic/daily/500.queuerun
share/man/man5/periodic.conf.5