Fix missing /usr/sbin when User unable to change password
Posted: Sat Dec 08, 2012 8:21 pm
User unable to login into the mail server (webmail as well) if password has been changed after a mailbox has been created.
After some checking, discovered that /usr/sbin/dovecotpw was missing.
Here is a fix that worked for me:
cd /usr/sbin
touch dovecotpw
chmod 755 dovecotpw
chown root:root dovecotpw
Put the following contents into dovecotpwd
#!/bin/sh
/usr/bin/doveadm pw $*
After some checking, discovered that /usr/sbin/dovecotpw was missing.
Here is a fix that worked for me:
cd /usr/sbin
touch dovecotpw
chmod 755 dovecotpw
chown root:root dovecotpw
Put the following contents into dovecotpwd
#!/bin/sh
/usr/bin/doveadm pw $*