
­­­­­­­­­­­­­­­­­­
<!DOCTYPE html>
<html>
#!/bin/bash

if sudo /usr/bin/pgrep -x dovecot > /dev/null;
then
    echo 'dovecot OK';
    exit 0
else
    echo 'dovecot Not OK';
    exit 2;
fi

echo 'dovecot Condition Not Known';
exit 3;
