Skip to content

Instantly share code, notes, and snippets.

@epcim
Created October 26, 2020 07:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save epcim/dc5b1763e0e721a43ccc7bc14e48d8d4 to your computer and use it in GitHub Desktop.
Save epcim/dc5b1763e0e721a43ccc7bc14e48d8d4 to your computer and use it in GitHub Desktop.
imap sync
imapsync \
  --host1 mail.web4ce.cz --user1 info@acme.com --password1 '***' --port1 993 --ssl1 \
  --host2 imap.seznam.cz --user2 info@acme.com --password2 '***' --port2 993 --ssl2 \
  --split1 100 --split2 100 --allowsizemismatch --useheader Message-ID --exclude "Junk|Trash" \
  --automap --tmpdir /Users/dummy2/tmp --errorsmax 5000 --folderfirst INBOX
  
  # --dry
  # --prefix1 INBOX 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment