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

IMAP search fails on non-Google servers #1074

Open
Jimisa opened this issue Feb 24, 2022 · 4 comments
Open

IMAP search fails on non-Google servers #1074

Jimisa opened this issue Feb 24, 2022 · 4 comments
Assignees
Labels
restore related to restore

Comments

@Jimisa
Copy link

Jimisa commented Feb 24, 2022

Expected behaviour

Restore all backed up SMS from a 4.x Android to a new and empty 10 Android (LineageOS, /e/), using custom IMAP server.

Actual behaviour

When restoring, identification step passed, then stopped with a UID SEARCH 1:* (HEADER X-SMSSYNC-DATATYPE "SMS") UNDELETED; response: #4# [BAD,UID SEARCH bad parameters] message

Steps to reproduce the behaviour

  1. Save all SMS from the 4.x Android phone with custom IMAP configuration in the "SMS" folder (the save settings left as it is)
  2. Install the app on the new phone (/e/ OS on Fairphone 3)
  3. Configure IMAP settings
  4. Launch recovery

Please specify the following:

  • Android version : 10 (Lineage OS /e/)
  • Phone model / brand : Fairphone 3+
  • SMS Backup+ version installed : 1.5.11
  • Messaging app : (please specify the software that you usually use to read & send SMS & MMS messages)

sms_backup_plus/.log is empty

Screenshot_20220224-162058_SMS_Backup+

@kurahaupo
Copy link
Collaborator

Have you set the IMAP "folder" (Gmail "label") to match the previous installation that you want to restore from?

If not, it's likely that there are no messages in the folder/label that's actually used, so that the range 1:* is invalid, because there's no message numbered "1".

@kurahaupo
Copy link
Collaborator

kurahaupo commented Sep 5, 2022

« Messaging app » <- celui-ci veut le nom du logiciel que vous utilizez pour lire les SMS

@kurahaupo kurahaupo added the restore related to restore label Sep 5, 2022
@wvengen
Copy link

wvengen commented Jan 4, 2024

I have a similar problem, where the server logs show: Error: FTS Xapian: Unknown header 'x-smssync-datatype'.
Perhaps it would be useful to support iterating items without relying on this header being searchable.

@kurahaupo
Copy link
Collaborator

@wvengen I'll note that for a future update.

@kurahaupo kurahaupo self-assigned this Jan 22, 2024
@kurahaupo kurahaupo changed the title Restore process stopped after identication IMAP search fails on non-Google servers Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
restore related to restore
Projects
None yet
Development

No branches or pull requests

3 participants