nextcloud / mail

💌 Mail app for Nextcloud
https://apps.nextcloud.com/apps/mail
GNU Affero General Public License v3.0
852 stars 264 forks source link

Option to change IMAP password #3759

Open mase76 opened 4 years ago

mase76 commented 4 years ago

Feature Request

Summary

Maybe you could implement the option to change the IMAP password like the roundcube password module does. Then the mail app could be a complete replacement for roundcube. In this module you configure some settings like the prefered encryption, the database type and the database manipulation query. If you take a look into the configuration file of the password module, you will see, what I mean: https://github.com/roundcube/roundcubemail/tree/master/plugins/password

ChristophWurst commented 4 years ago

you can change the password already. open the account settings from the … menu. et voila.

ChristophWurst commented 4 years ago

Wait a sec … is this about change the password on the IMAP server?

mase76 commented 4 years ago

Exactly.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

ChristophWurst commented 3 years ago

It's still a valid feature but not on our roadmap.

Alphaphi15 commented 3 years ago

I wonder why this feature doesn't receive a large number of upvotes. If one wants to offer NC as a fully featured web frontend on top of an imap server, you definitely need such a functionality.

At least I would see an option to synchronise the NC password with the imap password, such that if a user changes his/her NC password, this is passed through to the imap server as well. In my eyes it is no option to force the users to another website just to maintain their imap password. They wouldn't understand why they should do that.

Or are there any workarounds or best practices on how to offer mail to the users?

mase76 commented 3 years ago

My workaround is Roundcube. NC mail could use the codeparts from Roundcube to edit the passwords.

ChristophWurst commented 3 years ago

At least I would see an option to synchronise the NC password with the imap password, such that if a user changes his/her NC password, this is passed through to the imap server as well.

That exists. Just open the Nextcloud admin settings and go to the Groupware section. There you can configure account provisioning. Your users will then have their account provisioned and won't ever enter the password. Password changes will propagate automatically.

:v:

mase76 commented 3 years ago

What if the email pw is a different one?

ChristophWurst commented 3 years ago

Then this won't help. The premise of provisioned accounts is that Nextcloud and the IMAP server use the same authentication back-end.

mcoulter7 commented 2 years ago

Following because I seek the same solution I believe. I want to setup email accounts for my users ahead of their first login to Nextcloud and have the Mail app connect automatically, which I do now with the mentioned provisioning. But I'd love a method where if the user changes their password in Nextcloud, the password for the email account will also sync so that the provisioning continues to operate. If the Nextcloud server is set to login against the IMAP server, can it have the permission so that a password change in Nextcloud is actually updating the IMAP password directly?