#!/bin/sh

if ! /usr/bin/doveadm service status > /dev/null; then
	echo "Dovecot is not running"
	exit 1
fi

echo "Dovecot is running"
exit 0
