Feature Request – Header Cleanup
I confirm I have upgraded to the latest GYB release from https://github.com/jay0lee/got-your-back/releases and I still have this issue. I confirm I am typing the command as described in the GAM Wiki at https://github.com/jay0lee/got-your-back/wiki
Full steps to reproduce the issue:
- Export Inbox: gyb --email [email protected] --service-account --action backup
- Restore Inbox to another account: gyb --email [email protected] --action restore --local-folder "C:\GAMADV-XTD3\[email protected]" --service-account --label-prefix "ABC's Emails"
Expected outcome (what are you trying to do?): Restore ABC's emails to [email protected]
Actual outcome (what errors or bad behavior do you see instead?):
restoring 15 messages (74/28498) ERROR: 400: Expected a single 'From' header. Skipping message restore. ERROR: 400: Expected a single 'From' header. Skipping message restore. restoring 17.1mb message (75/28498)
A Header Cleanup feature would be greatly appreciated!
Also encountering this error restoring while restoring email backed up from a Workplace domain to a gmail.com address.
I am having the same issue
File are from a V10- Folder on an Apple computer
All files were converted from Apple Mbox files to .eml file with partial-emlx-converter
Then I run this command
\Volumes/ServerData/gyb/companyname/gyb --action restore-mbox --label-restored "UserName-Email-Date" --local-folder /Volumes/ServerData/GMail-Backup-UsersName --email [email protected] --service-account --batch-size 4
I have thousands of .eml files giving the following message:
ERROR: 400: Expected a single 'From' header. Skipping message restore
If you can add a Header Clean up feature that would be appreciated
Thank you for your time and amazing work on GYB
This feature has existed for a while now. See:
https://github.com/GAM-team/got-your-back/releases/tag/v1.55
When --cleanup is specified GYB should detect duplicate headers. I haven't tested but you may need --cleanup-from also.
Jay
Thank you for the info.