Comments (6)
Well thats crazy: --f1f2 "Slash/Test=Slash-Test" says there is no folder on host1.
--f1f2 is picky, the Slash/Test folder has to exist verbatim, ie, as shown in the folders listing.
https://imapsync.lamiral.info/README
--f1f2 str1=str2 : Force folder str1 to be synced to str2,
--f1f2 overrides --automap and --regextrans2.
Use several --f1f2 options to map several folders.
Option --f1f2 is a one-to-one-only folder mapping,
and str1 and str2 must be full path folder names.
Use --regextrans2 for more general mappings.
I updated
https://imapsync.lamiral.info/FAQ.d/FAQ.David_Tobit.txt
Q. There are slashes / in folder names that are not separators. How can
I keep them or change them in the destination account with imapsync?
A. You can't do it properly with imapsync or any other IMAP client.
By default, imapsync will consider those / characters as separators
and get empty folders where they stand. If you change "/" to
another character, say "_", with --regextrans2, then all / are
transformed to _ and the folder hierarchy disappears.
Solution? Yes. Change the / on the source account manually, using
the same email tool that allowed to create them, the David Tobit
native email client tool.
See https://github.com/imapsync/imapsync/issues/440
from imapsync.
I'm curious about how the slashes are represented in IMAP in David Tobit.
Can you show the beginning of the output, the part "Host1: folders list"?
Host1: folders list (first the raw imap format then the [X] = [Y]):
* LIST (\HasNoChildren) "." Spam
* LIST (\HasNoChildren) "." Entw&APw-rfe
* LIST (\HasNoChildren \Drafts) "." Drafts
Try this:
imapsync ... --create_folder_old
from imapsync.
Output:
Host1: folders list (first the raw imap format then the [X] = [Y]):
* LIST () "/" "INBOX/GPR/GPA"
* LIST () "/" "INBOX/GPR/GPA/Bilanz"
* LIST () "/" "INBOX/GPR/GPA/Rechnungen "
* LIST () "/" "INBOX/GPR/GPA/GPA Logo neu"
* LIST () "/" "INBOX/GPR/GPA/Steuerbescheide"
* LIST () "/" "INBOX/Haus Autunstra&AN8-e"
Currently trying your suggest "--create_folder_old".
from imapsync.
--create_folder_old does not change the behavior
David:
Outlook:
from imapsync.
You're doomed to
- ask the user to convert his slashes to another character before the migration.
- or ask him for the list of all his slashed folders and use imapsync options --regextrans2 or even --f1f2 to change them.
from imapsync.
Well thats crazy: --f1f2 "Slash/Test=Slash-Test" says there is no folder on host1. So it seems the only possibility is to rename them on host1 before the sync.
I also did some further research and it seems that this is a known problem with David Mailserver. The David native client displays these folders correct but the imap implementation screws it up. Found several entries of email archiving systems which had the same problem. They also mentioned that the folders on the David had to be renamed in first place.
Thx @gilleslamiral , maybe this post makes people aware of this problem.
from imapsync.
Related Issues (20)
- NO [CANNOT] APPEND Contains Deleted flag HOT 4
- Question: Deleting what was not synced only from host1 HOT 2
- parsing headers of folder It can take time for huge folders. Be patient. HOT 12
- Changelog version 2.269 HOT 8
- identify the message HOT 1
- delete2folders does not delete folders that are excluded, because they are present on host1 HOT 4
- Zimbra and "NO LIST failed" was:Folder at the same level than INBOX HOT 11
- Mac version after 2.200 not working with error "Attempt to reload DynaLoader.pm aborted." HOT 6
- Docker: Internal server error HOT 6
- Question: Is there a better way to do unit test HOT 10
- Imapsync webserver and Debian 12 HOT 1
- could not be fetched: socket closed while reading data from server (4x) The most frequent error is ERR_Host1_FETCH. HOT 3
- After losing network connection, imapsync appears to not be able to sync ~2000 missed emails. HOT 3
- imapsync parallel command HOT 5
- mapsync Ended by a signal TERM HOT 1
- Install on M1 via brew HOT 1
- Syncing Imap Sync from Imap account to Mail Plus ? HOT 24
- log duplicates HOT 1
- Ignore "ERR_APPEND" HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imapsync.