13 lines
176 B
Text
13 lines
176 B
Text
|
#!/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
|