The sendmail daemon can be in a state where it is rejecting new messages
and sets the proc title accordingly. The current rc.d script ignores
sendmail if it is in this state.
$ pgrep -lf sendmail
459 sendmail: rejecting new messages: min free: 100
I don't believe the wildcard following '(accepting|rejecting)' is really
needed either, but left it in.
Index: sendmail
===================================================================
RCS file: /home/danh/.cvs/openbsd/src/etc/rc.d/sendmail,v
retrieving revision 1.4
diff -u -p -r1.4 sendmail
--- sendmail 12 Jul 2011 05:40:55 -0000 1.4
+++ sendmail 17 Jan 2012 11:59:54 -0000
@@ -6,7 +6,7 @@ daemon="/usr/sbin/sendmail"
. /etc/rc.d/rc.subr
-pexp="(sendmail: accepting.*|${daemon}* -(q[0-9]|bd)*)"
+pexp="(sendmail: (accepting|rejecting).*|${daemon}* -(q[0-9]|bd)*)"
rc_bg=YES