OnWorks favicon

mailsync - Online in the Cloud

Run mailsync in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command mailsync that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



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

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.

-n Don't delete messages when synchronizing.

-D Delete any empty mailboxes after synchronizing..

-m Show from, subject, etc. of messages that are killed or moved when synchronzing.

-M Also show message-ids (turns on -m).

-s 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.

-v Show IMAP chatter.

-vb Show warning about braindammaged message ids

-vw Show warnings

-vp Show RFC 822 mail parsing errors

-h Show help.

-d 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.

Use mailsync online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    OfficeFloor provides inversion of
    coupling control, with its: - dependency
    injection - continuation injection -
    thread injection For more information
    visit the...
    Download OfficeFloor
  • 2
    DivKit is an open source Server-Driven
    UI (SDUI) framework. It allows you to
    roll out server-sourced updates to
    different app versions. Also, it can be
    used fo...
    Download DivKit
  • 3
    Utility to convert between various
    subscription format. Shadowrocket users
    should use ss, ssr or v2ray as target.
    You can add &remark= to
    Telegram-liked HT...
    Download subconverter
  • 4
    SWASH is a general-purpose numerical
    tool for simulating unsteady,
    non-hydrostatic, free-surface,
    rotational flow and transport phenomena
    in coastal waters as ...
    Download SWASH
  • 5
    VBA-M (Archived - Now on Github)
    VBA-M (Archived - Now on Github)
    Project has moved to
    Features:Cheat creationsave statesmulti
    system, supports gba, gbc, gb, sgb,
    Download VBA-M (Archived - Now on Github)
  • 6
    Linux System Optimizer and Monitoring
    Github Repository:
    Audience: End Users/Desktop. User
    interface: Qt. Programming La...
    Download Stacer
  • More »

Linux commands