modoboa / modoboa-imap-migration

An extension to ease the migration between 2 IMAP servers using offlineimap
ISC License
16 stars 12 forks source link

UID validity problem for folder ... skipping it. #46

Closed cremesk closed 5 years ago

cremesk commented 5 years ago

UID validity problem for folder Sent (repo Local_user@domain.com) (saved 1551646541; got 1551654809); skipping it. Please see FAQ and manual on how to handle this.

Simply deleting the user is not enough. Everyone has a Solution for me? :/

runuser -l vmail -c '/srv/modoboa/env/bin/python /srv/modoboa/instance/manage.py generate_offlineimap_config --output .offlineimaprc && /usr/bin/offlineimap'
OfflineIMAP 7.0.12
  Licensed under the GNU GPL v2 or any later version (with an OpenSSL exception)
/srv/modoboa/env/lib/python2.7/site-packages/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.22) or chardet (2.3.0) doesn't match a supported version!
  RequestsDependencyWarning)
Account sync user@domain.com:
 *** Processing account user@domain.com
 Establishing connection to mail.domain.com:143 (Remote_user@domain.com)
 Establishing connection to localhost:143 (Local_user@domain.com)
 Creating folder Notes[Local_user@domain.com]
 Creating new Local Status db for Local_user@domain.com:Notes
Folder Drafts [acc: user@domain.com]:
 Syncing Drafts: IMAP -> MappedIMAP
Folder INBOX [acc: user@domain.com]:
 Syncing INBOX: IMAP -> MappedIMAP
Folder Drafts [acc: user@domain.com]:
 UID validity problem for folder Drafts (repo Local_user@domain.com) (saved 1551646538; got 1551654806); skipping it. Please see FAQ and manual on how to handle this.
Folder INBOX [acc: user@domain.com]:
 UID validity problem for folder INBOX (repo Local_user@domain.com) (saved 1551646542; got 1551654810); skipping it. Please see FAQ and manual on how to handle this.
Folder Junk [acc: user@domain.com]:
 Syncing Junk: IMAP -> MappedIMAP
Folder Notes [acc: user@domain.com]:
 Syncing Notes: IMAP -> MappedIMAP
Folder Sent [acc: user@domain.com]:
 Syncing Sent: IMAP -> MappedIMAP
 UID validity problem for folder Sent (repo Local_user@domain.com) (saved 1551646541; got 1551654809); skipping it. Please see FAQ and manual on how to handle this.
Folder Trash [acc: user@domain.com]:
 Syncing Trash: IMAP -> MappedIMAP
Account sync user@domain.com:
 *** Finished account 'user@domain.com' in 0:01
At least one folder skipped due to UID validity problem
cremesk commented 5 years ago

Need to delete the '/srv/vmail/.offlineimap/Account-user@domain.com/'!