various scripts for various tasks.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

12 lines
176 B

#!/bin/sh
echo test | /usr/local/bin/rspamc > /dev/null 2> /dev/null
RC=$?
if [ $RC -gt 0 ] ; then
echo CRITICAL - rspamc returned $RC
exit 2
fi
echo OK - all fine
exit 0