#
# Original File
# --------------
#	http://www.Linux-Sec.net/Mail/etc.mail/clientqueue.sh
#	http://www.Linux-Sec.net/Mail/etc.mail/mqueue.clean.pl
#
#
#
# Clear out ( send out ) pending emails in /var/spool/clientmqueue
#
#
#
# 13-Apr-03 amo Date-of-Birth
# 07-Nov-03 amo Added find -exec
#
#
#
# Should move the mail from clientmqueue to mqueue
# ------------------------------------------------
/usr/sbin/sendmail -L sm-msp-queue -Ac -q1m
#
#
# if the above didnt clear the queue,
#
#
# Check the email queue BEFORE deleting the mail ( who's emails is pending )
# ----------------------------------------------
#	mqueue.clean.pl
#
#
# Empty the queue the hard way
# ----------------------------
#        find  /var/spool/clientmqueue/ -type f -exec rm -f {} \;
#
#        find  /var/spool/clientmqueue/ -type f -print | xargs rm -f 
#
#        rm -rf /var/spool/clientmqueue/
#
#
# Might need to stop and remove the lock file too
# -----------------------------------------------
#	sendmail stop
#	rm -f /var/spool/mail/root.lock
#
#
# End of file

