view admin/mailq.wmbiffrc @ 262:fc1c6425c024

s/EXIT_SUCCESS/0/ && s/EXIT_FAILURE/1/ The constants are all to bulky. We should have different, meaningful exit codes anyway.
author markus schnalke <meillo@marmaro.de>
date Thu, 02 Dec 2010 17:11:25 -0300
parents cab46cefa4ce
children
line wrap: on
line source

# mailq.wmbiffrc for masqmail by Paolo

label.4=mailq
path.4=shell:::mailq|grep ^[[:graph:]]|grep -v empty|wc -l
interval.4=600
notify.4=beep
notify.4=true
action.4=(echo "messages in the queue:";mailq|grep ^[[:graph:]]|grep -v empty)|xmessage -center -buttons vaBen -file -