Re: Reprocessing sendmail failed messages




Kris Anderson writes:

Found this with google.
http://lists.freebsd.org/pipermail/freebsd-questions/2004-June/049850.html

A Dr Matthew had this answer (read full text to see what's up but
here's a snippet)

If you end up with a load of messages stuck in
/var/spool/clientmqueue, you've got a similar problem with not
running a MSP queue daemon. The case is exactly analogous,
except that the sendmail flags are in
/var/spool/clientmqueue/sm-client.pid and should read:

/usr/sbin/sendmail -L sm-msp-queue -Ac -q30m

and you need to set 'sendmail_msp_queue_flags' in /etc/rc.conf to
override them.

Or:
1) cd /etc/mail
2) make stop
3) make start
4) ps -ax | grep sendm and you should see something like:

1153 ?? Ss 0:14.88 sendmail: accepting connections (sendmail)
1156 ?? IWs 0:00.00 sendmail: Queue runner@00:30:00 for /var/spool/client
15854 p6 S+ 0:00.01 grep sendm


This method uses the same scripts invoked at boot, and will
automatically read the various "sendmail_" variables out of rc.conf.


Robert Huff


_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"