![]() Imasync is not totally protected against sniffers on the network since passwords may be transferred in plain text if CRAM-MD5 is not supported by your imap servers. With -password1 option any user on your host can see the password by using the 'ps auxSo, saving the password in a well protected file (600 or rw-) is the best solution. You can use -passfile1 instead of -password1 to give the password since it is safer. Use offlineimap (written by John Goerzen) or mbsync (written by Michael R. Imapsync is not adequate for maintaining two active imap accounts in synchronization where the user plays independently on both sides. In that case -delete2 can be used, it deletes messages in host2 folder B that are not in host1 folder A. You can also just synchronize a mailbox B from another mailbox A in case you just want to keep a "live" copy of A in B. (you can use -noexpunge to avoid this but I don't see any good real world scenario for the combinaison -delete -noexpunge). ![]() Option -delete implies also option -expunge so all messages marked deleted on host1 will be really deleted. You can decide to delete the messages from the source mailbox after a successful transfer, it can be a good feature when migrating live mailboxes since messages will be only one side. ![]() You can stop the transfer at any time and restart it later, imapsync works well with bad connections. All flags are preserved, unread will stay unread, read will stay read, deleted will stay deleted. Same headers and the transfer is done only once. Imapsync is a good tool because it reduces the amount of data transferred by not transferring a given message if it is already on both sides. We sometimes need to transfer mailboxes from one imap server to another. The command imapsync is a tool allowing incremental and recursive imap transfer from one mailbox to another.īy default all folders are transferred, recursively. Imapsync To get a description of each option just run imapsync like this: imapsync -help imapsyncThe option list: imapsync Description
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |