Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SnappyMail still need the Old password when using Add Account feature #1854

Open
emaddaou opened this issue Dec 3, 2024 · 1 comment
Open
Labels
documentation Improvements or additions to documentation

Comments

@emaddaou
Copy link

emaddaou commented Dec 3, 2024

Describe the bug
I was able to replicate the issue, the problem related to old IMAP Email password, snappymail still using the old IMAP Email password when user try to use "Add Account" feature from the right drop down menu. A message pops up asking the user to feed the old password, once you feed it with the old password then "Add Account" function works. But, the problem that the user forgot old password.

Bottom line, If you change your Email password, and you wanted to add an extra IMAP account to snappymail, the function of Adding Account still associated with the old password because it's still needed for Decryption, but that is causing issues since most of the time the user forgot the old IMAP password.

To Reproduce
Steps to reproduce the behavior:

  1. Change your IMAP account password
  2. Now, add another IMAP account using "Add Account" from the right drop down menu.

Expected behavior
3. You will be asked to feed the old password in order to Decrypt hence the adding process works.
4. If you don't have the old IMAP account password, adding extra IMAP account to your SnappyMail Web Panel using Nextcloud doesn't work.

Screenshots
image

Please complete the following information:

  • Browser: [Any browser]
  • IMAP daemon: [dovecot debian 12]
  • PHP version: 8.0
  • SnappyMail Version: 2.38.2
  • Mode: [nextcloud 30.0.2]
@emaddaou emaddaou changed the title Once you change your Email Password, SnappyMail still need the Old password when using Add Account feature SnappyMail still need the Old password when using Add Account feature Dec 3, 2024
@the-djmaze
Copy link
Owner

When you know the old password:
SnappyMail should update the crypt key to your new password

When you DO NOT know the old password:
delete the crypt key from the server (there is no GUI for it).
it is at /_data_/_default_/storage/{DOMAIN}/{USER}/.cryptkey

@the-djmaze the-djmaze added the documentation Improvements or additions to documentation label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants