joeyates / imap-backup

Backup and Migrate IMAP Email Accounts
MIT License
1.33k stars 74 forks source link

Miration failed with "Character not allowed in mailbox name" #199

Closed slgfire closed 1 month ago

slgfire commented 3 months ago

Hello, i try to migrate local backup with filename like Bestellungen.Hardware.Netzwerk.imap and Bestellungen.Hardware.Netzwerk.mbox

on the old imap account that was a folder like Bestellungen/Hardware/Netzwerk

when i try

docker run -v ./my-config:/config -v ./:/data -ti ghcr.io/joeyates/imap-backup:latest \ imap-backup migrate name-old@mail.com name@mail.com -c /config/imap-backup.json

migration failes with "Character not allowed in mailbox name: '.'"

i try source-prefixes="." and source-delimiter="." but the same error.

what can i do?

thanks for help!

joeyates commented 2 months ago

Hi @slgfire

I think it's the destination-prefix that you need to set. Try using the imap-backup remote namespaces EMAIL command to see what delimiter is used on "name@mail.com"