I have this cron'd to run every ten minutes for five different users. It
mails a list of pending headers to me for all these folks. This allows me to
assist their low-tech friends in getting through, and also helps me figure
out regex patterns for more stuff to drop or bounce.

#!/bin/sh

MYVAR=`tmda-pending -Cbs`
LINECOUNT=`echo "$MYVAR" | wc -l`
if [ $LINECOUNT -gt 1 ]
then
         echo "$MYVAR" | mail -s "tmda-pending -Cbs kelvind" kelvind
fi


Hope it's helpful to someone other than just me.

--KDO


_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to