Scroll to navigation

MAILSYNC(1) General Commands Manual MAILSYNC(1)

NAME

mailsync - Synchronize IMAP mailboxes

SYNOPSIS

mailsync [options] channel
mailsync [options] store
mailsync [options] channel store

DESCRIPTION

mailsync is a command line tool to keep collections of mailboxes synchronized. Mailboxes can reside on the local filesystem or on an IMAP server.

mailsync can be invoked in three ways:

Synchronizes two sets of mailboxes. In c-client taxonomy, a library on which mailsync relies to implement mailbox access, mailboxes are referred to as "stores".
Lists the contents of a store. It's recommended to execture this command before synchronizing two stores to check whether mailsync is seeing what you are expecting it to see.
Lists what has changed in a store since the last sync.

OPTIONS

Use alternative config file.
Don't delete messages when synchronizing.
Delete any empty mailboxes after synchronizing..
Show from, subject, etc. of messages that are killed or moved when synchronzing.
Also show message-ids (turns on -m).
Says what would be done without doing it (turns on -n). Attention: this will change the "Seen" flag of emails and will create new, empty mailboxes in order to be able to compare them.
Show IMAP chatter.
Show warning about braindammaged message ids
Show warnings
Show RFC 822 mail parsing errors
Show help.
Show debug info. -di Debug/log IMAP protocol telemetry. -dc Debug config.
Use mailsync with specified message-id algorithm. Currently you have the choice between md5 and msgid (default). msgid uses the Message-ID in the mail header to identify a message. md5 calculates a MD5 hash from the "From", "To", "Subject", "Date" and "Message-ID" headers and uses that as message identifier.

If you use mailclients and servers that allow empty Message-IDs (f.ex. in mail drafts) then you should use the md5 algorithm.

SEE ALSO

There is more documentation in /usr/share/doc/mailsync , and in /usr/share/doc/libc-clientxxxxxx/internal.txt

AUTHOR

Originally written by Jaldhar H. Vyas <jaldhar@debian.org> for the Debian GNU/Linux system. Updates by T. Pospisek <tpo_deb@sourcepole.ch>.

October 26, 2012