Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Contact Us
Online Help
Domain Status
Man Pages

Virtual Servers

Topology Map

Server Agreement
Year 2038

USA Flag



Man Pages
MAILSYNC(1) FreeBSD General Commands Manual MAILSYNC(1)

mailsync - Synchronize IMAP mailboxes

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

This manual page documents briefly the mailsync command.
mailsync is a way of keeping a collection of mailboxes synchronized. The mailboxes may be on the local filesystem or on an IMAP server.
There are three invocations of mailsync:
The first will synchronize two sets of mailboxes - in mailsync referred to as "stores".
The second form will list the contents of a store. It's usage is recommended before synchronizing two stores to check whether mailsync is seeing what you are expecting it to see.
The third form will show you what has changed in a store since the last sync.

A summary of options is included below.
-f file
Use alternate 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 would 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.
-t mid
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.

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

Originally written by Jaldhar H. Vyas <> for the Debian GNU/Linux system. Updates by T. Pospisek <>.
February 15, 2003

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.