OfflineIMAP

From Infogalactic: the planetary knowledge core
Jump to: navigation, search
OfflineIMAP
OfflineIMAP logo.png
OfflineIMAP TTYUI.png
OfflineIMAP with TTYUI interface
Original author(s) John Goerzen
Developer(s) Nicolas Sebrecht et al.
Initial release 2002; 22 years ago (2002)
Stable release 6.7.0 (March 11, 2016; 8 years ago (2016-03-11)) [±][1]
Development status Active
Written in Python
Operating system Unix-like, Windows
Available in English
Type Email synchronization
License GNU GPLv2+
Website www.offlineimap.org

OfflineIMAP is an IMAP synchronization utility software, capable of synchronizing mail on IMAP server with local Maildir folder or another server.

Description

The synchronization is performed bidirectionally between two endpoints ("Remote" and "Local" repositories).[2]

OfflineIMAP accesses mail servers only via Internet Message Access Protocol (Post Office Protocol – another popular way to get mail from server – is not supported),[3] it works faster (though it is sensitive to connection's latency) and supports more advanced features than most mail clients.[4] The special mode for better handling the non-standard implementation of IMAP in Gmail may optionally be enabled in a configuration file.[5]

When configured to store mail locally, OfflineIMAP uses the Maildir format.[2] Unix mail boxes support may be added in the future, though currently it is not implemented.[5]

Configuration

Several synchronizations account, each consisting of Remote and Local repositories, may be defined in configuration file. Each repository is then configured separately, allowing to specify credentials and access method.[2]

Filtering and translation

OfflineIMAP is capable of filtering the folders of Remote repository, so that only partial synchronization would occur if needed. To use this capability one has to define the mask that would be matched against the list of folders with each synchronization. This is achieved by using Python's lambda capability; for example, to synchronize only "INBOX", "Sent Mail" and "Received" folders one should specify the following rule:[4]

folderfilter = lambda foldername: foldername in
      ['INBOX', 'Sent Mail',
       'Received']

Remaining folders' names may be altered (translated) using similar construct:[2]

nametrans = lambda foldername: re.sub('^Sent$', 'root/Sent', re.sub('^(\[G.*ail\]|INBOX)', 'root', foldername))

This technique may also be used to synchronize the content of an IMAP server to the folder of another server.[4]

Limitations

Each account has to use separate directory; otherwise the synchronization process may suffer from unexpected behavior or even data loss.[4]

User interface

OfflineIMAP provides several command-line interfaces, including interactive color curses-based, non-interactive console logging, and several yet less verbose modes.[2] Tk-based graphical user interface is also available.[4]

See also

References

  1. Lua error in package.lua at line 80: module 'strict' not found.
  2. 2.0 2.1 2.2 2.3 2.4 Lua error in package.lua at line 80: module 'strict' not found.
  3. Lua error in package.lua at line 80: module 'strict' not found.
  4. 4.0 4.1 4.2 4.3 4.4 Lua error in package.lua at line 80: module 'strict' not found.
  5. 5.0 5.1 Lua error in package.lua at line 80: module 'strict' not found.