Manually run /usr/sbin/sendmail -q once a day. Folks seem to be too

trigger happy and turn off sendmail_enable entirely (instead of setting
sendmail_flags to -q30m instead).  I have seen boxes with things like daily
run reports that have sat in mailq for 5 months.  Since /usr/sbin/sendmail
is actually mailwrapper, this should be safe for the other plugins that
provide the sendmail calling interface.
This commit is contained in:
Peter Wemm 2001-02-15 01:34:37 +00:00
parent feef629c6b
commit 3bb02cdb6f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=72506

View File

@ -25,3 +25,7 @@ HOME=/var/log
# does nothing, if you have UTC cmos clock.
# See adjkerntz(8) for details.
1,31 0-5 * * * root adjkerntz -a
#
# Try and stop mail sitting around in the queue forever if there is no
# sendmail -q30m periodically trying to dequeue it.
41 6 * * * root /usr/sbin/sendmail -q