diff --git a/config.inc.php b/config.inc.php index 15f09fbf..4c9c5332 100644 --- a/config.inc.php +++ b/config.inc.php @@ -158,6 +158,9 @@ $CONF['authlib_default_flavor'] = 'md5raw'; // $CONF['dovecotpw'] = "/usr/sbin/dovecotpw"; // for dovecot 2.x (dovecot 2.0.0 - 2.0.7 is not supported!) $CONF['dovecotpw'] = "/usr/sbin/doveadm pw"; +if(file_exists('/usr/bin/doveadm')) { + $CONF['dovecotpw'] = "/usr/bin/doveadm pw"; # debian +} // Password validation // New/changed passwords will be validated using all regular expressions in the array.