Closed njakobsen closed 3 weeks ago
Hi @njakobsen
Yes, this should already be possible with the existing parameters using --destination-prefix=PATH
. Prefixes exist to handle differences in IMAP server setup, but can be used to add folders to the path.
FYI, I'm about to release a new copy
command, which will handle the functionality of the current mirror
and migrate
- I'm doing this as it confusing to have two separate commands with broadly overlapping function.
Let me know if --destination-prefix=PATH
does actually solve your problem!
I haven't had a chance to try yet, but I'll post my results on this ticket.
@joeyates it worked as you suggested, though I did run into a few other issues that made the process a little rougher. I've listed them here for posterity.
migrate
command instead.Error in IMAP command UID STORE: Invalid system flag \$NOTJUNK (0.001 + 0.001 secs)
which I haven't had a chance to look into yet. It's possibly an incompatibility with the dovecot install Synology's Mail app uses.
I have two backups from different sources I'm pushing to a backup IMAP server. I'd like mirror mail from the two sources into separate folders on the remote server.
Here's a picture of what I'm trying to achieve on the backup IMAP server.
I was hoping the mirror feature would allow me to do this, but it doesn't seem to support specific targeting of a backup into a particular folder. While I see there are namespaces, my understanding is these are more for hinting, and not for arbitrary organization, though perhaps that is what they're for.
@joeyates Before I begin working on such a feature, is this already possible with the current configuration? Does this sound like a feature that would be useful to others?