Hi Viktor,

I faced the same problem.

And since, I use roundcube webmail to do that.
There is a nice password plugin with roundcube that integrates easily with the SQL password mechanism that I deployed. I create new user with a script that populate correctly the SQL tables with values such that a default password is assigned to new users. And then they are obliged to first modify their passwords before really accessing the mailbox. And it is only after that is done that I advise them to setup their email client (such as Microsoft Outlook or Mozilla Thunderbird) with their new passwords known only by them.

As you noticed IMAP protocol, and so dovecot, has no mechanism to modify password.

Regards,

Tshimanga

On 1/13/26 09:20, Piotr Szafarczyk via dovecot wrote:
Hi Viktor,

Dovecot has nothing to do with it. You have to provide a separate mechanism for the task. It is often done within a webmail app. You need it to be able to change passwords for your specific implementation.

Piotr Szafarczyk

On 12/01/2026 16:09, vwoloszczuk--- via dovecot wrote:
    Hi,
    I now have my email system working with virtual users, using a passwd-file     for passdb. Now I am at the stage where I would like to change my password     and possibly add other virtual users for my friends, who should be able to
    add/change their password without my involvement.
    I had a look at the IMAP RFCs but didn't see any sort of "change password"     instruction. I also looked at the Dovecot docs but didn't see any article
    which covered this.
    What is the recommended/suggested way to do this? Is there a way to do     with within the MDA/IMAP ecosystem or is it required to have an external
    solution e.g. entering the new password on a webpage?
    Thanks,
    Viktor

_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to