0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00

config.inc.php: debian has doveadm in /usr/bin not /usr/sbin

This commit is contained in:
David Goodwin 2017-06-25 18:49:32 +01:00
parent 5036b83ac2
commit 0951629a48

View File

@ -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.