dovecot postfixadmin

#1
hi i am using openlitespeed version 1.8.3 to install postfixadmin (together with postfix and dovecot). The error message is shown in the attached file but it has to do with this line:
Password Hashing - attempted to use configured encrypt backend (dovecot:BLF-CRYPT) triggered an error: /usr/bin/doveadm pw -r 5 failed, see error log for detail

I furnish here with more details:

dovecot version 2.3.21

dovecot conf file 10-master.conf

service stats {
unix_listener stats-reader {
user = www-data
group = www-data
mode = 0660
}

unix_listener stats-writer {
user = www-data
group = www-data
mode = 0660
}

sudo setfacl -R -m u:www-data:rx /etc/letsencrypt/live/ /etc/letsencrypt/archive/
sudo setfacl -R -m u:www-data:rwx /var/run/dovecot/stats-reader /var/run/dovecot/stats-writer

chown -R nobody:nogroup postfixadmin/

the config.local.php

$CONF['encrypt'] = 'dovecot:BLF-CRYPT';
$CONF['dovecotpw'] = "/usr/bin/doveadm pw -r 5";

https://github.com/postfixadmin/postfixadmin/blob/master/DOCUMENTS/DOVECOT.txt

(line 172) * read/write access to /run/dovecot/stats-writer
(line 173)* Fixable with: `usermod -aG dovecot www-data

i had replaced www-data with nobody, lsadm, nogroup etc but the problem persist.

basically in apache2 i could use www-data but in litespeed i tried nobody, lsadm (and the group is nogroup and lsadm), of course i also used www-data but it did not help. I would appreciate some help as to how to troubleshoot further. thanks
 

Attachments

Top