#!/bin/sh

rspamc=$(which rspamc)

if [ -x "$rspamc" -a -n "$(pidof rspamd)" ]; then
    echo '<<<rspamd>>>'
    $rspamc --compact stat
fi
