Closed InToSSH closed 7 years ago
So after some elaborating, I found the problem in DB. In table modoboa_imap_migration_migration
the size for varchar field _password
is 100 characters, which was not enough for the encrypted password to be saved. I raised this value to 255, readded the account to be migrated and now the password works fine.
@InToSSH thank you for reporting this, I'll fix it asap.
Just ran into this issue myself when re-building my server. To save anyone else some time searching how to do it.
sudo psql -U modoboa -W -h localhost
ALTER TABLE modoboa_imap_migration_migration ALTER COLUMN _password TYPE varchar(255);
/q
Hi, there was an error while offlineimap was running, so I tried to manually run the function
get_user_password
. Problem is that this function returns an error, which I am not able to fix.Is there anything to do to fix it? I tried running it with and without modoboa environment. Modoboa is the latest version installed using modoboa-installer. Thanks