[patch] Improved error checking for the dovecot-antispam-plugin