<s>
OfflineIMAP	B-Language
is	O
IMAP	B-Protocol
synchronization	B-General_Concept
utility	B-Application
software	I-Application
,	O
capable	O
of	O
synchronizing	O
mail	O
on	O
IMAP	B-Protocol
server	I-Protocol
with	O
local	O
Maildir	O
folder	O
or	O
another	O
server	O
.	O
</s>
<s>
The	O
synchronization	B-General_Concept
is	O
performed	O
bidirectionally	O
between	O
two	O
endpoints	O
(	O
"	O
Remote	O
"	O
and	O
"	O
Local	O
"	O
repositories	O
)	O
.	O
</s>
<s>
OfflineIMAP	B-Language
accesses	O
mail	O
servers	O
only	O
via	O
Internet	B-Protocol
Message	I-Protocol
Access	I-Protocol
Protocol	I-Protocol
(	O
Post	B-Protocol
Office	I-Protocol
Protocol	I-Protocol
–	O
another	O
popular	O
way	O
to	O
get	O
mail	O
from	O
server	O
–	O
is	O
not	O
supported	O
)	O
,	O
it	O
works	O
faster	O
(	O
though	O
it	O
is	O
sensitive	O
to	O
connection	O
's	O
latency	O
)	O
and	O
supports	O
more	O
advanced	O
features	O
than	O
most	O
mail	B-Protocol
clients	I-Protocol
.	O
</s>
<s>
The	O
special	O
mode	O
for	O
better	O
handling	O
the	O
non-standard	O
implementation	O
of	O
IMAP	B-Protocol
in	O
Gmail	B-Application
may	O
optionally	O
be	O
enabled	O
in	O
a	O
configuration	B-Protocol
file	I-Protocol
.	O
</s>
<s>
When	O
configured	O
to	O
store	O
mail	O
locally	O
,	O
OfflineIMAP	B-Language
uses	O
the	O
Maildir	O
format	O
.	O
</s>
<s>
Several	O
synchronizations	O
account	O
,	O
each	O
consisting	O
of	O
Remote	O
and	O
Local	O
repositories	O
,	O
may	O
be	O
defined	O
in	O
configuration	B-Protocol
file	I-Protocol
.	O
</s>
<s>
OfflineIMAP	B-Language
is	O
capable	O
of	O
filtering	O
the	O
folders	O
of	O
Remote	O
repository	O
,	O
so	O
that	O
only	O
partial	O
synchronization	B-General_Concept
would	O
occur	O
if	O
needed	O
.	O
</s>
<s>
To	O
use	O
this	O
capability	O
one	O
has	O
to	O
define	O
the	O
mask	O
that	O
would	O
be	O
matched	O
against	O
the	O
list	O
of	O
folders	O
with	O
each	O
synchronization	B-General_Concept
.	O
</s>
<s>
This	O
is	O
achieved	O
by	O
using	O
Python	B-Language
's	O
lambda	B-General_Concept
capability	O
;	O
for	O
example	O
,	O
to	O
synchronize	O
only	O
"	O
INBOX	O
"	O
,	O
"	O
Sent	O
Mail	O
"	O
and	O
"	O
Received	O
"	O
folders	O
one	O
should	O
specify	O
the	O
following	O
rule	O
:	O
</s>
<s>
This	O
technique	O
may	O
also	O
be	O
used	O
to	O
synchronize	O
the	O
content	O
of	O
an	O
IMAP	B-Protocol
server	I-Protocol
to	O
the	O
folder	O
of	O
another	O
server	O
.	O
</s>
<s>
Each	O
account	O
has	O
to	O
use	O
separate	O
directory	O
;	O
otherwise	O
the	O
synchronization	B-General_Concept
process	O
may	O
suffer	O
from	O
unexpected	O
behavior	O
or	O
even	O
data	O
loss	O
.	O
</s>
<s>
OfflineIMAP	B-Language
provides	O
several	O
command-line	B-Application
interfaces	I-Application
,	O
including	O
interactive	O
color	O
curses-based	O
,	O
non-interactive	B-General_Concept
console	B-Application
logging	I-Application
,	O
and	O
several	O
yet	O
less	O
verbose	O
modes	O
.	O
</s>
<s>
Tk-based	O
graphical	B-Application
user	I-Application
interface	I-Application
is	O
also	O
available	O
.	O
</s>
