1 2 3 4 5 6 7
#!/bin/sh if ! grep ^"version_ignore=yes" /etc/dovecot/dovecot.conf; then printf "dovecot restart required (version_ignore=yes not set)\n" fi exit $?