This repository has been archived by the owner on Jun 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
offlineimap migration script might corrupt messages #1
Comments
|
i ended up rolling my own script here: https://gitlab.com/anarcat/scripts/blob/master/strip_header it seems to work more reliably than the |
|
Thanks! If you submit a PR with your script I'd gladly merge it. Or you prefer to keep the script in your repo? |
|
No, I'd be happy to contribute this back. How should the thing be named?
|
|
I would call it |
|
i think i'll stick with strip-header because it is possible to strip other headers with it, if you don't mind. i'll tweak the |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi!
i couldn't help but notice that the suggested way of removing the
X-Offlineimapmarkers might corrupt existing messages if they happen to have a line that starts with that string elsewhere in the message, for example in the body or in an attachment. Shouldn't there be something that keeps the modification restricted to the headers of files?The text was updated successfully, but these errors were encountered: