imapsync
imapsync copied to clipboard
New Mail Box Mail's Deleted Problem
Hello there, I've run the code twice or 3 times before, but whenever I run the code some mails in the new mailbox disappear.
How can I synchronize non-only mails from old mailbox to new mailbox?
imapsync code
imapsync --host1 $SRCHOST --ssl1 --port1 993 --authmech1 PLAIN --user1 $SRCUSER --passfile1 imap-secret-src \
--host2 $DSTHOST --ssl2 --port2 993 --authmech2 PLAIN --user2 $DSTUSER --passfile2 imap-secret-dst \
--delete2 --delete2folders --nolog --addheader
I don't understand your issue. You use the option --delete2 so it looks like normal that some emails in the new mailbox disappear, they should be the ones that disappeared from the source account. Can you be more explicit on what happens and seems buggy for you? A log file will help me.