/offlineimap/head: changeset 161

Added Noninteractive.Basic and Noninteractive.Quiet, fixing
[complete.org #14]
This commit is contained in:
jgoerzen 2002-07-22 07:55:27 +01:00
parent fac88fbe6b
commit 3147dd36a1
11 changed files with 443 additions and 367 deletions

View File

@ -4,6 +4,8 @@ offlineimap (3.0.4) unstable; urgency=low
the message is stored weirdly. That way, everything is uniform.
Fixes [complete.org #11].
* Manual: added UW IMAPD example with references from docwhat@gerf.org.
* New UI modules: Noninteractive.Basic and Noninteractive.Quiet.
Fixes [complete.org #14].
-- John Goerzen <jgoerzen@complete.org> Sun, 21 Jul 2002 16:09:42 -0500

View File

@ -25,7 +25,7 @@
<hr>
<!-- Creator : groff version 1.17.2 -->
<!-- CreationDate: Sun Jul 21 19:55:27 2002 -->
<!-- CreationDate: Sun Jul 21 20:54:05 2002 -->
<a name="NAME"></a>
<h2>NAME</h2>
<table width="100%" border=0 rules="none" frame="void"
@ -414,8 +414,10 @@ be. Use this option with care.</td></table>
<tr valign="top" align="left">
<td width="21%"></td><td width="79%">
The pre-defined options are <b>Tk.TKUI</b> (a graphical
interface) and <b>TTY.TTYUI</b> (a text-mode
interface).</td></table>
interface), <b>TTY.TTYUI</b> (a text-mode interface),
<b>Noninteractive.Basic</b> (a non-interactive mode suitable
for cronning), and <b>Noninteractive.Quiet</b> (a mode that
generates no output except for errors).</td></table>
<a name="EXAMPLES"></a>
<h2>EXAMPLES</h2>

Binary file not shown.

View File

@ -1,6 +1,6 @@
%!PS-Adobe-3.0
%%Creator: groff version 1.17.2
%%CreationDate: Sun Jul 21 19:55:24 2002
%%CreationDate: Sun Jul 21 20:54:02 2002
%%DocumentNeededResources: font Times-Roman
%%+ font Times-Bold
%%+ font Times-Italic
@ -423,264 +423,269 @@ SF<ad75>108 84 Q/F2 10/Times-Italic@0 SF(interface)2.5 E F0 1.133
5.28 F F1(-u)2.78 E F0 .281(will be forced to be used, e)2.78 F -.15(ve)
-.25 G 2.781(ni).15 G 2.781(fi)-2.781 G(ts)-2.781 E F1(isuable\(\))2.781
E F0(method)2.781 E(states that it cannot be.)144 120 Q
(Use this option with care.)5 E .158(The pre-de\214ned options are)144
136.8 R F1(Tk.TKUI)2.658 E F0 .158(\(a graphical interf)2.658 F .157
(ace\) and)-.1 F F1(TTY)2.657 E(.TTYUI)-.92 E F0 .157(\(a te)2.657 F
.157(xt-mode inter)-.15 F(-)-.2 E -.1(fa)144 148.8 S(ce\).).1 E/F3 10.95
/Times-Bold@0 SF(EXAMPLES)72 165.6 Q F0(Here is an e)108 177.6 Q
(Use this option with care.)5 E 1.485(The pre-de\214ned options are)144
136.8 R F1(Tk.TKUI)3.985 E F0 1.485(\(a graphical interf)3.985 F(ace\),)
-.1 E F1(TTY)3.984 E(.TTYUI)-.92 E F0 1.484(\(a te)3.984 F 1.484
(xt-mode inter)-.15 F(-)-.2 E -.1(fa)144 148.8 S(ce\),).1 E F1
(Noninteracti)5.044 E -.1(ve)-.1 G(.Basic).1 E F0 2.544
(\(a non-interacti)5.044 F 2.844 -.15(ve m)-.25 H 2.545
(ode suitable for cronning\), and).15 F F1(Noninterac-)5.045 E(ti)144
160.8 Q -.1(ve)-.1 G(.Quiet).1 E F0(\(a mode that generates no output e)
2.5 E(xcept for errors\).)-.15 E/F3 10.95/Times-Bold@0 SF(EXAMPLES)72
177.6 Q F0(Here is an e)108 189.6 Q
(xample con\214guration for a particularly comple)-.15 E 2.5(xs)-.15 G
(ituation; more e)-2.5 E(xamples will be added later)-.15 E(.)-.55 E F1
(MUL)87 194.4 Q(TIPLE A)-.92 E(CCOUNTS WITH MUTT)-.55 E F0 .513(This e)
108 206.4 R .513(xample sho)-.15 F .513(ws you ho)-.25 F 3.014(wt)-.25 G
3.014(os)-3.014 G .514(et up)-3.014 F F1(Of\215ineIMAP)3.014 E F0 .514
(MUL)87 206.4 Q(TIPLE A)-.92 E(CCOUNTS WITH MUTT)-.55 E F0 .514(This e)
108 218.4 R .514(xample sho)-.15 F .514(ws you ho)-.25 F 3.014(wt)-.25 G
3.014(os)-3.014 G .514(et up)-3.014 F F1(Of\215ineIMAP)3.014 E F0 .513
(to synchronize multiple accounts with the mutt mail)3.014 F(reader)108
218.4 Q(.)-.55 E(Start by creating a directory to hold your folders:)108
235.2 Q F1(mkdir ~/Mail)108 247.2 Q F0(In your)108 264 Q F2(~/.of)2.5 E
230.4 Q(.)-.55 E(Start by creating a directory to hold your folders:)108
247.2 Q F1(mkdir ~/Mail)108 259.2 Q F0(In your)108 276 Q F2(~/.of)2.5 E
(\215ineimapr)-.18 E(c,)-.37 E F0(specify this:)2.5 E F1(accounts = P)
108 276 Q(ersonal, W)-.2 E(ork)-.75 E F0(Mak)108 292.8 Q 2.821(es)-.1 G
.321(ure that you ha)-2.821 F .621 -.15(ve b)-.2 H .321(oth a).15 F F1
([P)2.821 E(ersonal])-.2 E F0 .321(and a)2.821 F F1([W)2.821 E(ork])-.75
E F0 .32(section, with dif)2.82 F .32(ferent localfolder pathnames and)
-.25 F(enable)108 304.8 Q F1([mbnames].)2.5 E F0
(In each account section, do something lik)108 321.6 Q 2.5(et)-.1 G
(his:)-2.5 E F1(localf)108 333.6 Q(olders = ~/Mail/P)-.25 E(ersonal)-.2
E F0(Add these lines to your)108 350.4 Q F2(~/.muttr)2.5 E(c:)-.37 E F1
(sour)108 362.4 Q(ce ~/path-to-mbnames-muttr)-.18 E(c-mailboxes)-.18 E
-.25(fo)108 374.4 S(lder).25 E(-hook P)-.37 E(ersonal set fr)-.2 E
(om="y)-.18 E(our)-.25 E(email@personal.com")-.18 E -.25(fo)108 386.4 S
108 288 Q(ersonal, W)-.2 E(ork)-.75 E F0(Mak)108 304.8 Q 2.82(es)-.1 G
.32(ure that you ha)-2.82 F .62 -.15(ve b)-.2 H .32(oth a).15 F F1([P)
2.821 E(ersonal])-.2 E F0 .321(and a)2.821 F F1([W)2.821 E(ork])-.75 E
F0 .321(section, with dif)2.821 F .321(ferent localfolder pathnames and)
-.25 F(enable)108 316.8 Q F1([mbnames].)2.5 E F0
(In each account section, do something lik)108 333.6 Q 2.5(et)-.1 G
(his:)-2.5 E F1(localf)108 345.6 Q(olders = ~/Mail/P)-.25 E(ersonal)-.2
E F0(Add these lines to your)108 362.4 Q F2(~/.muttr)2.5 E(c:)-.37 E F1
(sour)108 374.4 Q(ce ~/path-to-mbnames-muttr)-.18 E(c-mailboxes)-.18 E
-.25(fo)108 386.4 S(lder).25 E(-hook P)-.37 E(ersonal set fr)-.2 E
(om="y)-.18 E(our)-.25 E(email@personal.com")-.18 E -.25(fo)108 398.4 S
(lder).25 E(-hook W)-.37 E(ork set fr)-.75 E(om="y)-.18 E(our)-.25 E
(email@w)-.18 E(ork.com")-.1 E(set mbox_type=Maildir)108 398.4 Q(set f)
108 410.4 Q(older=$HOME/Mail)-.25 E(set spool\214le=+P)108 422.4 Q
(ersonal/INBO)-.2 E(X)-.4 E F0(That')108 439.2 Q 2.5(si)-.55 G(t!)-2.5 E
F1(UW)87 456 Q(-IMAPD AND REFERENCES)-.37 E F0 .493
(Some users with a UW)108 468 R .493(-IMAPD serv)-.65 F .493
(email@w)-.18 E(ork.com")-.1 E(set mbox_type=Maildir)108 410.4 Q(set f)
108 422.4 Q(older=$HOME/Mail)-.25 E(set spool\214le=+P)108 434.4 Q
(ersonal/INBO)-.2 E(X)-.4 E F0(That')108 451.2 Q 2.5(si)-.55 G(t!)-2.5 E
F1(UW)87 468 Q(-IMAPD AND REFERENCES)-.37 E F0 .494
(Some users with a UW)108 480 R .493(-IMAPD serv)-.65 F .493
(er need to use)-.15 F F1(Of\215ineIMAP')2.993 E(s)-.37 E F0 .493
("reference" feature to get at their mail-)2.993 F(box)108 480 Q .46(es\
("reference" feature to get at their mail-)2.993 F(box)108 492 Q .46(es\
, specifying a reference of "~/Mail" or "#mh/" depending on the con\214\
guration.)-.15 F .46(The belo)5.46 F 2.96(wc)-.25 G(on\214gura-)-2.96 E
.465(tion from docwhat@gerf.or)108 492 R 2.965(gs)-.18 G(ho)-2.965 E
.465(tion from docwhat@gerf.or)108 504 R 2.965(gs)-.18 G(ho)-2.965 E
.465(ws using a reference of Mail, a nametrans that strips the leading \
Mail/ of)-.25 F(f)-.25 E(incoming folder names, and a folder\214lter th\
at limits the folders synced to just three.)108 504 Q F1([Gerf])108
520.8 Q(localf)108 532.8 Q(olders = ~/Mail)-.25 E -.18(re)108 544.8 S
(motehost = gerf).18 E(.or)-.15 E(g)-.1 E(ssl = y)108 556.8 Q(es)-.1 E
-.18(re)108 568.8 S(moteuser = docwhat).18 E -.18(re)108 580.8 S(fer).18
E(ence = Mail)-.18 E 2.5(#T)108 592.8 S(rims off the pr)-3.24 E
at limits the folders synced to just three.)108 516 Q F1([Gerf])108
532.8 Q(localf)108 544.8 Q(olders = ~/Mail)-.25 E -.18(re)108 556.8 S
(motehost = gerf).18 E(.or)-.15 E(g)-.1 E(ssl = y)108 568.8 Q(es)-.1 E
-.18(re)108 580.8 S(moteuser = docwhat).18 E -.18(re)108 592.8 S(fer).18
E(ence = Mail)-.18 E 2.5(#T)108 604.8 S(rims off the pr)-3.24 E
(eceeding Mail on all the f)-.18 E(older names.)-.25 E
(nametrans = lambda f)108 604.8 Q(older)-.25 E(name: \\)-.15 E -.18(re)
138 616.8 S(.sub\('^Mail/', ').18 E(', f)-.63 E(older)-.25 E(name\))-.15
E 2.5(#Y)108 628.8 S(eah, y)-3.61 E(ou ha)-.25 E .2 -.1(ve t)-.25 H 2.5
(nametrans = lambda f)108 616.8 Q(older)-.25 E(name: \\)-.15 E -.18(re)
138 628.8 S(.sub\('^Mail/', ').18 E(', f)-.63 E(older)-.25 E(name\))-.15
E 2.5(#Y)108 640.8 S(eah, y)-3.61 E(ou ha)-.25 E .2 -.1(ve t)-.25 H 2.5
(om).1 G(ention the Mail dir)-2.5 E 2.5(,e)-.92 G -.1(ve)-2.65 G 2.5(nt)
.1 G(hough it)-2.5 E 2.5(#w)108 640.8 S(ould seem intuiti)-2.6 E .2 -.1
.1 G(hough it)-2.5 E 2.5(#w)108 652.8 S(ould seem intuiti)-2.6 E .2 -.1
(ve t)-.1 H(hat r).1 E(efer)-.18 E(ence w)-.18 E(ould trim it.)-.1 E
-.25(fo)108 652.8 S(lder\214lter = lambda f).25 E(older)-.25 E(name: f)
-.15 E(older)-.25 E(name in [)-.15 E('Mail/INBO)125.5 664.8 Q(X',)-.4 E
('Mail/list/zaurus-general',)125.5 676.8 Q('Mail/list/zaurus-de)125.5
688.8 Q(v',)-.15 E(])125.5 700.8 Q(maxconnections = 1)108 712.8 Q
(holdconnectionopen = no)108 724.8 Q F0(John Goerzen)72 768 Q
(July 12, 2002)151.655 E(3)201.915 E EP
-.25(fo)108 664.8 S(lder\214lter = lambda f).25 E(older)-.25 E(name: f)
-.15 E(older)-.25 E(name in [)-.15 E('Mail/INBO)125.5 676.8 Q(X',)-.4 E
('Mail/list/zaurus-general',)125.5 688.8 Q('Mail/list/zaurus-de)125.5
700.8 Q(v',)-.15 E(])125.5 712.8 Q(maxconnections = 1)108 724.8 Q F0
(John Goerzen)72 768 Q(July 12, 2002)151.655 E(3)201.915 E EP
%%Page: 4 4
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF 111.22(OFFLINEIMAP\(1\) Of)72 48 R
(\215ineIMAP manual)-.25 E(OFFLINEIMAP\(1\))113.72 E/F1 10.95
/Times-Bold@0 SF(ERR)72 84 Q(ORS)-.329 E F0(If you get one of some freq\
uently-encountered or confusing errors, please check this section.)108
96 Q/F2 10/Times-Bold@0 SF(UID v)87 112.8 Q(alidity pr)-.1 E(oblem f)
-.18 E(or f)-.25 E(older)-.25 E F0 1.638(IMAP serv)108 124.8 R 1.637
(\215ineIMAP manual)-.25 E(OFFLINEIMAP\(1\))113.72 E/F1 10/Times-Bold@0
SF(holdconnectionopen = no)108 84 Q/F2 10.95/Times-Bold@0 SF(ERR)72
100.8 Q(ORS)-.329 E F0(If you get one of some frequently-encountered or\
confusing errors, please check this section.)108 112.8 Q F1(UID v)87
129.6 Q(alidity pr)-.1 E(oblem f)-.18 E(or f)-.25 E(older)-.25 E F0
1.637(IMAP serv)108 141.6 R 1.637
(ers use a unique ID \(UID\) to refer to a speci\214c message.)-.15 F
1.637(This number is guaranteed to be)6.637 F 1.109
(unique to a particular message FOREVER.)108 136.8 R 1.109
(No other message in the same folder will e)6.109 F -.15(ve)-.25 G 3.61
(rg).15 G 1.11(et the same)-3.61 F 2.874(UID. UIDs)108 148.8 R .373
(are an inte)2.874 F .373(gral part of Of)-.15 F(\215ineIMAP')-.25 E
1.638(This number is guaranteed to be)6.637 F 1.11
(unique to a particular message FOREVER.)108 153.6 R 1.109
(No other message in the same folder will e)6.11 F -.15(ve)-.25 G 3.609
(rg).15 G 1.109(et the same)-3.609 F 2.873(UID. UIDs)108 165.6 R .373
(are an inte)2.873 F .373(gral part of Of)-.15 F(\215ineIMAP')-.25 E
2.873(ss)-.55 G .373(ynchronization scheme; the)-2.873 F 2.873(ya)-.15 G
.373(re used to match up mes-)-2.873 F
(sages on your computer to messages on the serv)108 160.8 Q(er)-.15 E(.)
-.55 E .107(Sometimes, the UIDs on the serv)108 177.6 R .108
(sages on your computer to messages on the serv)108 177.6 Q(er)-.15 E(.)
-.55 E .108(Sometimes, the UIDs on the serv)108 194.4 R .108
(er might get reset.)-.15 F .108
(Usually this will happen if you delete and then recreate)5.108 F 3.743
(af)108 189.6 S(older)-3.743 E 6.243(.W)-.55 G 1.243
(hen you create a folder)-6.243 F 3.742(,t)-.4 G 1.242(he serv)-3.742 F
1.242(er will often start the UID back from 1.)-.15 F(But)6.242 E F2
(Of\215ineIMAP)3.742 E F0 .302(might still ha)108 201.6 R .602 -.15
(ve t)-.2 H .302(he UIDs from the pre).15 F .302
(vious folder by the same name stored.)-.25 F F2(Of\215ineIMAP)5.303 E
F0 .303(will detect this)2.803 F(condition and skip the folder)108 213.6
(Usually this will happen if you delete and then recreate)5.108 F 3.742
(af)108 206.4 S(older)-3.742 E 6.242(.W)-.55 G 1.242
(hen you create a folder)-6.242 F 3.742(,t)-.4 G 1.242(he serv)-3.742 F
1.242(er will often start the UID back from 1.)-.15 F(But)6.243 E F1
(Of\215ineIMAP)3.743 E F0 .303(might still ha)108 218.4 R .603 -.15
(ve t)-.2 H .303(he UIDs from the pre).15 F .302
(vious folder by the same name stored.)-.25 F F1(Of\215ineIMAP)5.302 E
F0 .302(will detect this)2.802 F(condition and skip the folder)108 230.4
Q 5(.T)-.55 G(his is GOOD, because it pre)-5 E -.15(ve)-.25 G
(nts data loss.).15 E -1.1(Yo)108 230.4 S 2.827(uc)1.1 G .327
(an \214x it by remo)-2.827 F .327
(nts data loss.).15 E -1.1(Yo)108 247.2 S 2.826(uc)1.1 G .326
(an \214x it by remo)-2.826 F .327
(ving your local folder and cache data.)-.15 F -.15(Fo)5.327 G 2.827(ri)
.15 G .327(nstance, if your folders are under)-2.827 F/F3 10
/Times-Italic@0 SF(~/F)2.826 E(old-)-1.05 E(er)108 242.4 Q(s)-.1 E F0
/Times-Italic@0 SF(~/F)2.827 E(old-)-1.05 E(er)108 259.2 Q(s)-.1 E F0
(and the folder with the problem is INBO)2.5 E(X, you')-.4 E 2.5(dt)-.5
G(ype this:)-2.5 E F2(rm -r ~/F)108 259.2 Q(olders/INBO)-.25 E(X)-.4 E
(rm ~/.of\215ineimap/AccountName/INBO)108 271.2 Q(X)-.4 E F0
(\(replacing AccountName with the account name as speci\214ed in)108 288
Q F3(~/.of)2.5 E(\215ineimapr)-.18 E(c\))-.37 E F0(Ne)108 304.8 Q .801
(xt time you run)-.15 F F2(Of\215ineIMAP)3.301 E(,)-.92 E F0 .802
G(ype this:)-2.5 E F1(rm -r ~/F)108 276 Q(olders/INBO)-.25 E(X)-.4 E
(rm ~/.of\215ineimap/AccountName/INBO)108 288 Q(X)-.4 E F0
(\(replacing AccountName with the account name as speci\214ed in)108
304.8 Q F3(~/.of)2.5 E(\215ineimapr)-.18 E(c\))-.37 E F0(Ne)108 321.6 Q
.802(xt time you run)-.15 F F1(Of\215ineIMAP)3.302 E(,)-.92 E F0 .802
(it will re-do)3.302 F .802(wnload the folder with the ne)-.25 F 3.302
(wU)-.25 G 3.302(IDs. Note)-3.302 F .802(that the proce-)3.302 F
(dure speci\214ed abo)108 316.8 Q .3 -.15(ve w)-.15 H(ill lose an).15 E
2.5(yl)-.15 G(ocal changes made to the folder)-2.5 E(.)-.55 E .523
(Some IMAP serv)108 333.6 R .522(ers are brok)-.15 F .522
(wU)-.25 G 3.301(IDs. Note)-3.302 F .801(that the proce-)3.301 F
(dure speci\214ed abo)108 333.6 Q .3 -.15(ve w)-.15 H(ill lose an).15 E
2.5(yl)-.15 G(ocal changes made to the folder)-2.5 E(.)-.55 E .522
(Some IMAP serv)108 350.4 R .522(ers are brok)-.15 F .522
(en and do not support UIDs properly)-.1 F 5.522(.I)-.65 G 3.022(fy)
-5.522 G .522(ou continue to get this error for all)-3.022 F .066
(your folders e)108 345.6 R -.15(ve)-.25 G 2.566(na).15 G .066
-5.522 G .522(ou continue to get this error for all)-3.022 F .067
(your folders e)108 362.4 R -.15(ve)-.25 G 2.566(na).15 G .066
(fter performing the abo)-2.566 F .366 -.15(ve p)-.15 H .066
(rocedure, it is lik).15 F .066(ely that your IMAP serv)-.1 F .066(er f)
-.15 F .067(alls into this cat-)-.1 F -.15(eg)108 357.6 S(ory).15 E(.)
-.65 E F2(Of\215ineIMAP)5.984 E F0 .984(is incompatible with such serv)
3.484 F 3.484(ers. Using)-.15 F F2(Of\215ineIMAP)3.484 E F0 .984
(with them will not destro)3.484 F(y)-.1 E(an)108 369.6 Q 2.769(ym)-.15
G .269(ail, b)-2.769 F .269
-.15 F .066(alls into this cat-)-.1 F -.15(eg)108 374.4 S(ory).15 E(.)
-.65 E F1(Of\215ineIMAP)5.983 E F0 .984(is incompatible with such serv)
3.483 F 3.484(ers. Using)-.15 F F1(Of\215ineIMAP)3.484 E F0 .984
(with them will not destro)3.484 F(y)-.1 E(an)108 386.4 Q 2.77(ym)-.15 G
.27(ail, b)-2.77 F .27
(ut at the same time, it will not actually synchronize it either)-.2 F
5.27(.\()-.55 G(Of)-5.27 E .27(\215ineIMAP will detect this con-)-.25 F
(dition and abort prior to synchronization\))108 381.6 Q F1 -.438(OT)72
410.4 S(HER FREQ).438 E(UENTL)-.11 E 2.738(YA)-1.007 G(SKED Q)-2.738 E
(UESTIONS)-.11 E F0 .684(There are some other F)108 422.4 R -.55(AQ)-.74
5.269(.\()-.55 G(Of)-5.269 E .269(\215ineIMAP will detect this con-)-.25
F(dition and abort prior to synchronization\))108 398.4 Q F2 -.438(OT)72
427.2 S(HER FREQ).438 E(UENTL)-.11 E 2.738(YA)-1.007 G(SKED Q)-2.738 E
(UESTIONS)-.11 E F0 .683(There are some other F)108 439.2 R -.55(AQ)-.74
G 3.184(st).55 G .684
(hat might not \214t into another section of this document, and the)
-3.184 F 3.183(ya)-.15 G .683(re enumer)-3.183 F(-)-.2 E(ated here.)108
434.4 Q F2(What platf)108 451.2 Q(orms does Of\215ineIMAP run on?)-.25 E
-3.184 F 3.184(ya)-.15 G .684(re enumer)-3.184 F(-)-.2 E(ated here.)108
451.2 Q F1(What platf)108 468 Q(orms does Of\215ineIMAP run on?)-.25 E
F0(It should run on most platforms supported by Python, which are quite\
a fe)144 463.2 Q -.65(w.)-.25 G F2 .688
(I'm using Mutt. Other IMAP sync pr)108 480 R .689(ograms r)-.18 F
a fe)144 480 Q -.65(w.)-.25 G F1 .689
(I'm using Mutt. Other IMAP sync pr)108 496.8 R .689(ograms r)-.18 F
(equir)-.18 E 3.189(em)-.18 G 3.189(et)-3.189 G 3.189(ou)-3.189 G .689
(se set maildir_trash=y)-3.189 F .689(es . Do I need to)-.1 F
(do that with Of\215ineIMAP?)108 492 Q F0(No.)144 504 Q F2
(se set maildir_trash=y)-3.189 F .688(es . Do I need to)-.1 F
(do that with Of\215ineIMAP?)108 508.8 Q F0(No.)144 520.8 Q F1
(Of\215ineIMAP)7.27 E F0 2.27
(is smart enough to \214gure out message deletion without this e)4.77 F
2.27(xtra crutch.)-.15 F -1.1(Yo)144 516 S(u')1.1 E
2.27(xtra crutch.)-.15 F -1.1(Yo)144 532.8 S(u')1.1 E
(ll get the best results if you don')-.1 E 2.5(tu)-.18 G
(se this setting, in f)-2.5 E(act.)-.1 E F2(Ho)108 532.8 Q 2.5(wd)-.1 G
(se this setting, in f)-2.5 E(act.)-.1 E F1(Ho)108 549.6 Q 2.5(wd)-.1 G
2.5(oIs)-2.5 G(pecify the names of my f)-2.5 E(olders?)-.25 E F0 -1.1
(Yo)144 544.8 S 3.55(ud)1.1 G 3.55(on)-3.55 G 1.05(ot need to.)-3.55 F
F2(Of\215ineIMAP)6.05 E F0 1.05
(Yo)144 561.6 S 3.55(ud)1.1 G 3.55(on)-3.55 G 1.05(ot need to.)-3.55 F
F1(Of\215ineIMAP)6.05 E F0 1.05
(is smart enough to automatically \214gure out what folders are)3.55 F
.678(present on the IMAP serv)144 556.8 R .678(er and synchronize them.)
-.15 F -1.1(Yo)5.679 G 3.179(uc)1.1 G .679(an use the)-3.179 F F2 -.25
(fo)3.179 G(lder\214lter).25 E F0(and)3.179 E F2 -.25(fo)3.179 G
.679(present on the IMAP serv)144 573.6 R .679(er and synchronize them.)
-.15 F -1.1(Yo)5.679 G 3.178(uc)1.1 G .678(an use the)-3.178 F F1 -.25
(fo)3.178 G(lder\214lter).25 E F0(and)3.178 E F1 -.25(fo)3.178 G
(ldertrans).25 E F0(con\214guration \214le options to request certain f\
olders and rename them as the)144 568.8 Q 2.5(yc)-.15 G
(ome in if you lik)-2.5 E(e.)-.1 E F2(Ho)108 585.6 Q 2.5(wc)-.1 G
olders and rename them as the)144 585.6 Q 2.5(yc)-.15 G
(ome in if you lik)-2.5 E(e.)-.1 E F1(Ho)108 602.4 Q 2.5(wc)-.1 G
(an I pr)-2.5 E -2.3 -.15(ev e)-.18 H(nt certain f).15 E(olders fr)-.25
E(om being synced?)-.18 E F0(Use the)144 597.6 Q F2 -.25(fo)2.5 G
(lder\214lter).25 E F0(option in the con\214guration \214le.)2.5 E F2
(Ho)108 614.4 Q 2.5(wc)-.1 G(an I add or delete a f)-2.5 E(older?)-.25 E
(Of\215ineIMAP)144 626.4 Q F0 .504(does not currently pro)3.004 F .504
(vide this feature, b)-.15 F .504(ut if you create a ne)-.2 F 3.003(wf)
-.25 G .503(older on the IMAP)-3.003 F(serv)144 638.4 Q(er)-.15 E 2.5
E(om being synced?)-.18 E F0(Use the)144 614.4 Q F1 -.25(fo)2.5 G
(lder\214lter).25 E F0(option in the con\214guration \214le.)2.5 E F1
(Ho)108 631.2 Q 2.5(wc)-.1 G(an I add or delete a f)-2.5 E(older?)-.25 E
(Of\215ineIMAP)144 643.2 Q F0 .503(does not currently pro)3.003 F .504
(vide this feature, b)-.15 F .504(ut if you create a ne)-.2 F 3.004(wf)
-.25 G .504(older on the IMAP)-3.004 F(serv)144 655.2 Q(er)-.15 E 2.5
(,i)-.4 G 2.5(tw)-2.5 G(ill be created locally automatically)-2.5 E(.)
-.65 E F2(Ar)108 655.2 Q 2.5(et)-.18 G(her)-2.5 E 2.5(ea)-.18 G
-.65 E F1(Ar)108 672 Q 2.5(et)-.18 G(her)-2.5 E 2.5(ea)-.18 G
(ny other war)-2.5 E(nings that I should be awar)-.15 E 2.5(eo)-.18 G
(f?)-2.5 E F0 -1(Ye)144 667.2 S(s; see the NO)1 E(TES section belo)-.4 E
-.65(w.)-.25 G F2(What is the mailbox name r)108 684 Q
(f?)-2.5 E F0 -1(Ye)144 684 S(s; see the NO)1 E(TES section belo)-.4 E
-.65(w.)-.25 G F1(What is the mailbox name r)108 700.8 Q
(ecorder \(mbnames\) f)-.18 E(or?)-.25 E F0 1.019(The Mutt mail reader \
is not capable of automatically determining the names of your mailbox)
144 696 R(es.)-.15 E(Of)144 708 Q .266(\215ineIMAP can help it \(or man)
-.25 F 2.765(yo)-.15 G .265
144 712.8 R(es.)-.15 E(Of)144 724.8 Q .265
(\215ineIMAP can help it \(or man)-.25 F 2.765(yo)-.15 G .265
(ther\) programs out be writing these names out in a format you)-2.765 F
(specify)144 720 Q 5(.S)-.65 G(ee the e)-5 E(xample of)-.15 E
(\215ineimap.conf \214le for details.)-.25 E(John Goerzen)72 768 Q
(July 12, 2002)151.655 E(4)201.915 E EP
(John Goerzen)72 768 Q(July 12, 2002)151.655 E(4)201.915 E EP
%%Page: 5 5
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF 111.22(OFFLINEIMAP\(1\) Of)72 48 R
(\215ineIMAP manual)-.25 E(OFFLINEIMAP\(1\))113.72 E/F1 10/Times-Bold@0
SF(Can I synchr)108 84 Q(onize multiple accounts with Of\215ineIMAP?)
-.18 E F0 3.344(Sure. Just)144 96 R .845(name them all in the accounts \
line in the general section of the con\214g \214le, and add a)3.344 F
(per)144 108 Q(-account section for each one.)-.2 E F1
(Does Of\215ineIMAP support POP?)108 124.8 Q F0 4.077(No. POP)144 136.8
R 1.576(is not rob)4.077 F 1.576(ust enough to do a completely reliable\
multi-machine synchronization lik)-.2 F(e)-.1 E(Of)144 148.8 Q
(\215ineIMAP manual)-.25 E(OFFLINEIMAP\(1\))113.72 E(specify)144 84 Q 5
(.S)-.65 G(ee the e)-5 E(xample of)-.15 E
(\215ineimap.conf \214le for details.)-.25 E/F1 10/Times-Bold@0 SF
(Can I synchr)108 100.8 Q(onize multiple accounts with Of\215ineIMAP?)
-.18 E F0 3.345(Sure. Just)144 112.8 R .845(name them all in the accoun\
ts line in the general section of the con\214g \214le, and add a)3.345 F
(per)144 124.8 Q(-account section for each one.)-.2 E F1
(Does Of\215ineIMAP support POP?)108 141.6 Q F0 4.076(No. POP)144 153.6
R 1.576(is not rob)4.076 F 1.576(ust enough to do a completely reliable\
multi-machine synchronization lik)-.2 F(e)-.1 E(Of)144 165.6 Q
(\215ineIMAP can do.)-.25 E(Of)5 E(\215ineIMAP will not support it.)-.25
E F1(Do y)108 165.6 Q(ou support mailbox f)-.25 E
(ormats other than Maildir?)-.25 E F0 .409(Not at present.)144 177.6 R
.409(There is no technical reason not to; just no demand yet.)5.409 F
.41(Maildir is a superior for)5.41 F(-)-.2 E(mat an)144 189.6 Q(yw)-.15
E(ay)-.1 E(.)-.65 E F1([technical] Wh)108 206.4 Q 2.5(ya)-.15 G .36 -.18
E F1(Do y)108 182.4 Q(ou support mailbox f)-.25 E
(ormats other than Maildir?)-.25 E F0 .41(Not at present.)144 194.4 R
.41(There is no technical reason not to; just no demand yet.)5.41 F .409
(Maildir is a superior for)5.409 F(-)-.2 E(mat an)144 206.4 Q(yw)-.15 E
(ay)-.1 E(.)-.65 E F1([technical] Wh)108 223.2 Q 2.5(ya)-.15 G .36 -.18
(re y)-2.5 H(our Maildir message \214lenames so huge?)-.07 E
(Of\215ineIMAP)144 218.4 Q F0 .959(has tw)3.459 F 3.459(or)-.1 G(ele)
-3.459 E -.25(va)-.25 G .959(nt principles: 1\) ne).25 F -.15(ve)-.25 G
3.459(rm).15 G .958(odifying your messages in an)-3.459 F 3.458(yw)-.15
G .958(ay and 2\))-3.558 F .493
(ensuring 100% reliable synchronizations.)144 230.4 R .493
(Of\215ineIMAP)144 235.2 Q F0 .958(has tw)3.458 F 3.458(or)-.1 G(ele)
-3.458 E -.25(va)-.25 G .958(nt principles: 1\) ne).25 F -.15(ve)-.25 G
3.459(rm).15 G .959(odifying your messages in an)-3.459 F 3.459(yw)-.15
G .959(ay and 2\))-3.559 F .493
(ensuring 100% reliable synchronizations.)144 247.2 R .493
(In order to do a reliable sync,)5.493 F F1(Of\215ineIMAP)2.993 E F0
.494(must ha)2.993 F -.15(ve)-.2 G 3.095(aw)144 242.4 S .595
(ay to uniquely identify each e-mail.)-3.195 F .594
(Three pieces of information are required to do this: your)5.594 F .537
(account name, the folder name, and the message UID.)144 254.4 R .538
(The account name can be calculated from)5.537 F 1.082
(the path in which your messages are.)144 266.4 R 1.082
(The folder name can usually be as well, B)6.082 F 1.081(UT some mail)
-.1 F(clients mo)144 278.4 Q .3 -.15(ve m)-.15 H
.493(must ha)2.993 F -.15(ve)-.2 G 3.094(aw)144 259.2 S .594
(ay to uniquely identify each e-mail.)-3.194 F .595
(Three pieces of information are required to do this: your)5.594 F .538
(account name, the folder name, and the message UID.)144 271.2 R .537
(The account name can be calculated from)5.537 F 1.081
(the path in which your messages are.)144 283.2 R 1.082
(The folder name can usually be as well, B)6.082 F 1.082(UT some mail)
-.1 F(clients mo)144 295.2 Q .3 -.15(ve m)-.15 H
(essages between folders by simply mo).15 E(ving the \214le, lea)-.15 E
(ving the name intact.)-.2 E(So,)144 295.2 Q F1(Of\215ineIMAP)3.2 E F0
.7(must store both a UID folder ID.)3.2 F .7
(The folder ID is necessary so)5.7 F F1(Of\215ineIMAP)3.2 E F0 .456
(can detect a message mo)144 307.2 R -.15(ve)-.15 G 2.956(dt).15 G 2.955
(oad)-2.956 G(if)-2.955 E .455(ferent folder)-.25 F(.)-.55 E F1
(Of\215ineIMAP)5.455 E F0 .455(stores the UID \(U= number\) and)2.955 F
(an md5sum of the foldername \(FMD5= number\) to f)144 319.2 Q
(acilitate this.)-.1 E F1(What is the speed of Of\215ineIMAP')108 336 Q
2.5(ss)-.37 G(ync?)-2.5 E(Of\215ineIMAP)144 348 Q F0 -.15(ve)2.89 G .39
(rsions 2.0 and abo).15 F .691 -.15(ve c)-.15 H .391
(ontain a multithreaded system.).15 F 2.891(Ag)5.391 G .391(ood w)-2.891
F .391(ay to e)-.1 F(xperiment)-.15 E(is by setting maxsyncaccounts to \
3 and maxconnections to 3 in each account clause.)144 360 Q .382
(This lets Of)144 376.8 R .382
(\215ineIMAP open up multiple connections simultaneously)-.25 F 5.381
(.T)-.65 G .381(hat will let it process mul-)-5.381 F
(tiple folders and messages at once.)144 388.8 Q
(ving the name intact.)-.2 E(So,)144 312 Q F1(Of\215ineIMAP)3.2 E F0 .7
(must store both a UID folder ID.)3.2 F .7
(The folder ID is necessary so)5.7 F F1(Of\215ineIMAP)3.2 E F0 .455
(can detect a message mo)144 324 R -.15(ve)-.15 G 2.955(dt).15 G 2.955
(oad)-2.955 G(if)-2.955 E .455(ferent folder)-.25 F(.)-.55 E F1
(Of\215ineIMAP)5.455 E F0 .456(stores the UID \(U= number\) and)2.955 F
(an md5sum of the foldername \(FMD5= number\) to f)144 336 Q
(acilitate this.)-.1 E F1(What is the speed of Of\215ineIMAP')108 352.8
Q 2.5(ss)-.37 G(ync?)-2.5 E(Of\215ineIMAP)144 364.8 Q F0 -.15(ve)2.891 G
.391(rsions 2.0 and abo).15 F .691 -.15(ve c)-.15 H .391
(ontain a multithreaded system.).15 F 2.891(Ag)5.391 G .39(ood w)-2.891
F .39(ay to e)-.1 F(xperiment)-.15 E(is by setting maxsyncaccounts to 3\
and maxconnections to 3 in each account clause.)144 376.8 Q .381
(This lets Of)144 393.6 R .381
(\215ineIMAP open up multiple connections simultaneously)-.25 F 5.382
(.T)-.65 G .382(hat will let it process mul-)-5.382 F
(tiple folders and messages at once.)144 405.6 Q
(In most cases, this will increase performance of the sync.)5 E(Don')144
405.6 Q 3.103(ts)-.18 G .603(et the number too high.)-3.103 F .603
(If you do that, things might actually slo)5.603 F 3.104(wd)-.25 G -.25
(ow)-3.104 G 3.104(na).25 G 3.104(sy)-3.104 G .604(our link gets)-3.104
F 2.633(saturated. Also,)144 417.6 R .133(too man)2.633 F 2.633(yc)-.15
G .132(onnections can cause mail serv)-2.633 F .132(ers to ha)-.15 F
.432 -.15(ve ex)-.2 H(cessi).15 E .432 -.15(ve l)-.25 H 2.632
(oad. Administra-).15 F .506(tors might tak)144 429.6 R 3.006(eu)-.1 G
.506(nkindly to this, and the serv)-3.006 F .507(er might bog do)-.15 F
3.007(wn. There)-.25 F .507(are man)3.007 F 3.007(yv)-.15 G .507
(ariables in the)-3.257 F(optimal setting; e)144 441.6 Q
422.4 Q 3.104(ts)-.18 G .604(et the number too high.)-3.104 F .603
(If you do that, things might actually slo)5.604 F 3.103(wd)-.25 G -.25
(ow)-3.103 G 3.103(na).25 G 3.103(sy)-3.103 G .603(our link gets)-3.103
F 2.632(saturated. Also,)144 434.4 R .132(too man)2.632 F 2.632(yc)-.15
G .132(onnections can cause mail serv)-2.632 F .132(ers to ha)-.15 F
.433 -.15(ve ex)-.2 H(cessi).15 E .433 -.15(ve l)-.25 H 2.633
(oad. Administra-).15 F .507(tors might tak)144 446.4 R 3.007(eu)-.1 G
.507(nkindly to this, and the serv)-3.007 F .506(er might bog do)-.15 F
3.006(wn. There)-.25 F .506(are man)3.006 F 3.006(yv)-.15 G .506
(ariables in the)-3.256 F(optimal setting; e)144 458.4 Q
(xperimentation may help.)-.15 E
(An informal benchmark yields these results for my setup:)144 458.4 Q
(10 minutes with MacOS X Mail.app "manual cache")144 475.2 Q 2.5(5m)144
487.2 S(inutes with GNUS agent sync)-2.5 E(20 seconds with Of)144 499.2
Q(\215ineIMAP 1.x)-.25 E 2.5(9s)144 511.2 S(econds with Of)-2.5 E
(\215ineIMAP 2.x)-.25 E 2.5(3s)144 523.2 S(econds with Of)-2.5 E
(\215ineIMAP 3.x "cold start")-.25 E 2.5(2s)144 535.2 S(econds with Of)
(An informal benchmark yields these results for my setup:)144 475.2 Q
(10 minutes with MacOS X Mail.app "manual cache")144 492 Q 2.5(5m)144
504 S(inutes with GNUS agent sync)-2.5 E(20 seconds with Of)144 516 Q
(\215ineIMAP 1.x)-.25 E 2.5(9s)144 528 S(econds with Of)-2.5 E
(\215ineIMAP 2.x)-.25 E 2.5(3s)144 540 S(econds with Of)-2.5 E
(\215ineIMAP 3.x "cold start")-.25 E 2.5(2s)144 552 S(econds with Of)
-2.5 E(\215ineIMAP 3.x "held connection")-.25 E/F2 10.95/Times-Bold@0 SF
(CONFORMING T)72 552 Q(O)-.197 E F0 32.5<8349>108 564 S
(CONFORMING T)72 568.8 Q(O)-.197 E F0 32.5<8349>108 580.8 S
(nternet Message Access Protocol v)-32.5 E(ersion 4re)-.15 E
(v1 \(IMAP 4re)-.25 E(v1\) as speci\214ed in RFC2060)-.25 E 32.5<834d>
108 580.8 S 8.92(aildir as speci\214ed in http://www)-32.5 F(.qmail.or)
108 597.6 S 8.92(aildir as speci\214ed in http://www)-32.5 F(.qmail.or)
-.65 E(g/qmail-manual-html/man5/maildir)-.18 E 8.92(.html and)-.55 F
(http://cr)144 592.8 Q(.yp.to/proto/maildir)-.55 E(.html.)-.55 E 32.5
<8353>108 609.6 S
(http://cr)144 609.6 Q(.yp.to/proto/maildir)-.55 E(.html.)-.55 E 32.5
<8353>108 626.4 S
(tandard Python 2.2.1 as implemented on POSIX-compliant systems.)-32.5 E
F2(NO)72 626.4 Q(TES)-.438 E F1(DELETING LOCAL FOLDERS)87 638.4 Q
(Of\215ineIMAP)108 650.4 Q F0 .532(does a tw)3.032 F(o-w)-.1 E .532
F2(NO)72 643.2 Q(TES)-.438 E F1(DELETING LOCAL FOLDERS)87 655.2 Q
(Of\215ineIMAP)108 667.2 Q F0 .533(does a tw)3.033 F(o-w)-.1 E .533
(ay synchronization.)-.1 F .532(That is, if you mak)5.532 F 3.032(eac)
-.1 G .532(hange to the mail on the serv)-3.032 F(er)-.15 E 3.033(,i)-.4
G(t)-3.033 E .897(will be propog)108 662.4 R .897
-.1 G .532(hange to the mail on the serv)-3.032 F(er)-.15 E 3.032(,i)-.4
G(t)-3.032 E .896(will be propog)108 679.2 R .896
(ated to your local cop)-.05 F 2.197 -.65(y, a)-.1 H .897(nd vise-v).65
F 3.397(ersa. Some)-.15 F .896(people might think that it w)3.397 F .896
F 3.397(ersa. Some)-.15 F .897(people might think that it w)3.397 F .897
(ould be wise to)-.1 F 1.59
(just delete all their local mail folders periodically)108 674.4 R 6.59
(just delete all their local mail folders periodically)108 691.2 R 6.59
(.I)-.65 G 4.09(fy)-6.59 G 1.59(ou do this with Of)-4.09 F(\215ineIMAP)
-.25 E 4.09(,r)-1.11 G 1.59(emember to also)-4.09 F(remo)108 686.4 Q
-.25 E 4.09(,r)-1.11 G 1.59(emember to also)-4.09 F(remo)108 703.2 Q
1.67 -.15(ve y)-.15 H 1.37(our local status cache \(~/.of).15 F 1.37
(\215ineimap by def)-.25 F 3.87(ault\). Otherwise,)-.1 F(Of)3.87 E 1.37
(\215ineIMAP will tak)-.25 F 3.87(et)-.1 G 1.37(his as an)-3.87 F .415
(intentional deletion of man)108 698.4 R 2.915(ym)-.15 G .416(essages a\
(\215ineIMAP will tak)-.25 F 3.87(et)-.1 G 1.37(his as an)-3.87 F .416
(intentional deletion of man)108 715.2 R 2.916(ym)-.15 G .416(essages a\
nd will interpret your action as requesting them to be deleted from)
-2.915 F(the serv)108 710.4 Q(er as well.)-.15 E(\(If you don')5 E 2.5
-2.916 F(the serv)108 727.2 Q(er as well.)-.15 E(\(If you don')5 E 2.5
(tu)-.18 G(nderstand this, don')-2.5 E 2.5(tw)-.18 G
(orry; you probably w)-2.6 E(on')-.1 E 2.5(te)-.18 G
(ncounter this situation\))-2.5 E(John Goerzen)72 768 Q(July 12, 2002)
@ -692,52 +697,52 @@ BP
/F0 10/Times-Roman@0 SF 111.22(OFFLINEIMAP\(1\) Of)72 48 R
(\215ineIMAP manual)-.25 E(OFFLINEIMAP\(1\))113.72 E/F1 10/Times-Bold@0
SF(COPYING MESSA)87 84 Q(GES BETWEEN FOLDERS)-.55 E F0(Normally)108 96 Q
5.859(,w)-.65 G 3.359(hen you cop)-5.859 F 5.859(yam)-.1 G 3.359
(essage between folders or add a ne)-5.859 F 5.859(wm)-.25 G 3.358
5.858(,w)-.65 G 3.358(hen you cop)-5.858 F -8.357 5.858(ya m)-.1 H 3.359
(essage between folders or add a ne)-5.858 F 5.859(wm)-.25 G 3.359
(essage to a folder locally)-5.859 F(,)-.65 E F1(Of\215ineIMAP)108 108 Q
F0 .853(will just do the right thing.)3.352 F(Ho)5.853 E(we)-.25 E -.15
F0 .853(will just do the right thing.)3.353 F(Ho)5.853 E(we)-.25 E -.15
(ve)-.25 G 1.653 -.4(r, s).15 H .853(ometimes this can be trick).4 F
3.353(y-)-.15 G 3.353(-i)-3.353 G 3.353(fy)-3.353 G .853(our IMAP serv)
-3.353 F(er)-.15 E .29(does not pro)108 120 R .29
(vide the SEARCH command, or does not return something useful,)-.15 F F1
(Of\215ineIMAP)2.79 E F0 .29(cannot deter)2.79 F(-)-.2 E .173
(mine the ne)108 132 R 2.673(wU)-.25 G .173(ID of the message.)-2.673 F
.173(So, in these rare instances, Of)5.173 F .174
(Of\215ineIMAP)2.79 E F0 .29(cannot deter)2.79 F(-)-.2 E .174
(mine the ne)108 132 R 2.674(wU)-.25 G .174(ID of the message.)-2.674 F
.173(So, in these rare instances, Of)5.173 F .173
(\215ineIMAP will upload the message to the)-.25 F .64(IMAP serv)108 144
R .64(er and delete it from your local folder)-.15 F 5.64(.T)-.55 G .64
(hen, on your ne)-5.64 F .64(xt sync, the message will be re-do)-.15 F
(wn-)-.25 E 1.472(loaded with the proper UID.)108 156 R F1
(wn-)-.25 E 1.473(loaded with the proper UID.)108 156 R F1
(Of\215ineIMAP)6.473 E F0(mak)3.973 E 1.473(es sure that the message w)
-.1 F 1.473(as properly uploaded before)-.1 F
-.1 F 1.472(as properly uploaded before)-.1 F
(deleting it, so there should be no risk of data loss.)108 168 Q F1
(MAILING LIST)87 184.8 Q F0(There is an Of)108 196.8 Q
(\215ineIMAP mailing list a)-.25 E -.25(va)-.2 G(ilable.).25 E 2.448 -.8
(\215ineIMAP mailing list a)-.25 E -.25(va)-.2 G(ilable.).25 E 2.447 -.8
(To s)108 213.6 T .847(ubscribe, send the te).8 F .847
(xt "Subscribe" in the subject of a mail to of)-.15 F
(\215ineimap-request@complete.or)-.25 E 3.347(g. T)-.18 F(o)-.8 E
(\215ineimap-request@complete.or)-.25 E 3.348(g. T)-.18 F(o)-.8 E
(post, send the message to of)108 225.6 Q(\215ineimap@complete.or)-.25 E
(g.)-.18 E/F2 10.95/Times-Bold@0 SF -.11(BU)72 242.4 S(GS).11 E F0 4.419
(g.)-.18 E/F2 10.95/Times-Bold@0 SF -.11(BU)72 242.4 S(GS).11 E F0 4.42
(Reports of b)108 254.4 R 4.419(ugs should be sent via e-mail to the)-.2
F F1(Of\215ineIMAP)6.919 E F0 -.2(bu)6.92 G 4.42
F F1(Of\215ineIMAP)6.919 E F0 -.2(bu)6.919 G 4.419
(g-tracking system \(BTS\) at).2 F(of)108 266.4 Q(\215ineimap@b)-.25 E
(ugs.complete.or)-.2 E 3.397(go)-.18 G 3.397(rs)-3.397 G .897
(ubmitted on-line using the W)-3.397 F .896(eb interf)-.8 F .896
(ugs.complete.or)-.2 E 3.396(go)-.18 G 3.396(rs)-3.396 G .897
(ubmitted on-line using the W)-3.396 F .897(eb interf)-.8 F .897
(ace at http://b)-.1 F(ugs.complete.or)-.2 E(g/.)-.18 E(The W)108 278.4
Q(eb site also lists all current b)-.8 E
(ugs, where you can check their status or contrib)-.2 E
(ute to \214xing them.)-.2 E F2(COPYRIGHT)72 295.2 Q F0(Of)108 307.2 Q
(\215ineIMAP is Cop)-.25 E(yright \(C\) 2002 John Goerzen.)-.1 E .286
(This program is free softw)108 324 R .286(are; you can redistrib)-.1 F
.287(ute it and/or modify it under the terms of the GNU General)-.2 F
(\215ineIMAP is Cop)-.25 E(yright \(C\) 2002 John Goerzen.)-.1 E .287
(This program is free softw)108 324 R .287(are; you can redistrib)-.1 F
.286(ute it and/or modify it under the terms of the GNU General)-.2 F
.766(Public License as published by the Free Softw)108 336 R .766(are F)
-.1 F .766(oundation; either v)-.15 F .766
(ersion 2 of the License, or \(at your)-.15 F(option\) an)108 348 Q 2.5
(yl)-.15 G(ater v)-2.5 E(ersion.)-.15 E .579(This program is distrib)108
364.8 R .579(uted in the hope that it will be useful, b)-.2 F .58
(ut WITHOUT ANY W)-.2 F(ARRANTY)-1.2 E 3.08(;w)-.92 G(ithout)-3.08 E
-2.15 -.25(ev e)108 376.8 T 2.73(nt).25 G .23(he implied w)-2.73 F .229
(arranty of MERCHANT)-.1 F .229(ABILITY or FITNESS FOR A P)-.93 F(AR)
-.92 E .229(TICULAR PURPOSE.)-.6 F(See)5.229 E
(yl)-.15 G(ater v)-2.5 E(ersion.)-.15 E .58(This program is distrib)108
364.8 R .579(uted in the hope that it will be useful, b)-.2 F .579
(ut WITHOUT ANY W)-.2 F(ARRANTY)-1.2 E 3.079(;w)-.92 G(ithout)-3.079 E
-2.15 -.25(ev e)108 376.8 T 2.729(nt).25 G .229(he implied w)-2.729 F
.229(arranty of MERCHANT)-.1 F .229(ABILITY or FITNESS FOR A P)-.93 F
(AR)-.92 E .23(TICULAR PURPOSE.)-.6 F(See)5.23 E
(the GNU General Public License for more details.)108 388.8 Q -1.1(Yo)
108 405.6 S 2.77(us)1.1 G .27(hould ha)-2.77 F .57 -.15(ve r)-.2 H(ecei)
.15 E -.15(ve)-.25 G 2.77(dac).15 G(op)-2.77 E 2.77(yo)-.1 G 2.77(ft)
@ -747,21 +752,21 @@ Q(eb site also lists all current b)-.8 E
(oundation, Inc.)-.15 E(59 T)108 446.4 Q(emple Place)-.7 E(Suite 330)108
458.4 Q(Boston, MA)108 470.4 Q(02111-1307)5 E(USA)108 482.4 Q F2 -.548
(AU)72 499.2 S(THOR).548 E F1(Of\215ineIMAP)108 511.2 Q(,)-.92 E F0 .488
(its libraries, documentation, and all included \214les, e)2.988 F .488
(xcept where noted, w)-.15 F .487(as written by John)-.1 F
(its libraries, documentation, and all included \214les, e)2.987 F .488
(xcept where noted, w)-.15 F .488(as written by John)-.1 F
(Goerzen <jgoerzen@complete.or)108 523.2 Q(g> and cop)-.18 E
(yright is held as stated in the COPYRIGHT section.)-.1 E(Of)108 540 Q
(\215ineIMAP may be do)-.25 E(wnloaded, and information found, from its\
homepage via either Gopher or HTTP:)-.25 E(gopher://quux.or)108 556.8 Q
(g/1/de)-.18 E -.15(ve)-.25 G(l/of).15 E(\215ineimap)-.25 E
(http://quux.or)108 568.8 Q(g/de)-.18 E -.15(ve)-.25 G(l/of).15 E
(\215ineimap)-.25 E(Of)108 585.6 Q 2.528(\215ineIMAP may also be do)-.25
(\215ineimap)-.25 E(Of)108 585.6 Q 2.529(\215ineIMAP may also be do)-.25
F 2.528(wnloaded using Sub)-.25 F -.15(ve)-.15 G 5.028
(rsion. Additionally).15 F 5.028(,t)-.65 G 2.529(he distrib)-5.028 F
2.529(uted tar)-.2 F 2.529(.gz may be)-.55 F .718
(rsion. Additionally).15 F 5.028(,t)-.65 G 2.528(he distrib)-5.028 F
2.528(uted tar)-.2 F 2.528(.gz may be)-.55 F .717
(updated with a simple "svn update" command; it is ready to go.)108
597.6 R -.15(Fo)5.717 G 3.217(ri).15 G .717(nformation on getting Of)
-3.217 F(\215ineIMAP)-.25 E(with Sub)108 609.6 Q -.15(ve)-.15 G
597.6 R -.15(Fo)5.718 G 3.218(ri).15 G .718(nformation on getting Of)
-3.218 F(\215ineIMAP)-.25 E(with Sub)108 609.6 Q -.15(ve)-.15 G
(rsion, please visit:).15 E(http://svn.complete.or)108 626.4 Q(g/)-.18 E
F2(SEE ALSO)72 643.2 Q F1(mutt)108 655.2 Q F0(\(1\),)A F1(python)2.5 E
F0(\(1\).)A(John Goerzen)72 768 Q(July 12, 2002)151.655 E(6)201.915 E EP

View File

@ -190,7 +190,10 @@ OPTIONS
care.
The pre-defined options are Tk.TKUI (a graphical
interface) and TTY.TTYUI (a text-mode interface).
interface), TTY.TTYUI (a text-mode interface), Non-
interactive.Basic (a non-interactive mode suitable
for cronning), and Noninteractive.Quiet (a mode
that generates no output except for errors).
EXAMPLES
Here is an example configuration for a particularly com-
@ -258,8 +261,8 @@ ERRORS
UID validity problem for folder
IMAP servers use a unique ID (UID) to refer to a specific
message. This number is guaranteed to be unique to a par-
ticular message FOREVER. No other message in the same
message. This number is guaranteed to be unique to a
particular message FOREVER. No other message in the same
folder will ever get the same UID. UIDs are an integral
part of OfflineIMAP's synchronization scheme; they are
used to match up messages on your computer to messages on
@ -327,8 +330,8 @@ OTHER FREQUENTLY ASKED QUESTIONS
file.
How can I add or delete a folder?
OfflineIMAP does not currently provide this
feature, but if you create a new folder on the IMAP
OfflineIMAP does not currently provide this fea-
ture, but if you create a new folder on the IMAP
server, it will be created locally automatically.
Are there any other warnings that I should be aware of?

View File

@ -257,10 +257,13 @@ method states that it cannot be. Use this option with care.
.IP
The pre-defined options are
.B Tk.TKUI
(a graphical interface)
and
(a graphical interface),
.B TTY.TTYUI
(a text-mode interface).
(a text-mode interface),
.B Noninteractive.Basic
(a non-interactive mode suitable for cronning), and
.B Noninteractive.Quiet
(a mode that generates no output except for errors).
.\".TP
.\".B \-v, \-\-version
.\"Show version of program.

View File

@ -56,6 +56,9 @@ maxsyncaccounts = 1
# The pre-defined options are:
# Tk.TkUI -- A graphical interface
# TTY.TTYUI -- a text-based (terminal) interface
# Noninteractive.Basic -- Noninteractive interface suitable for cronning
# Noninteractive.Quiet -- Noninteractive interface, generates no output
# except for errors.
#
# You can override this with a command-line option -u.

View File

@ -0,0 +1,44 @@
# Noninteractive UI
# Copyright (C) 2002 John Goerzen
# <jgoerzen@complete.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
import sys, time
from UIBase import UIBase
class Basic(UIBase):
def getpass(s, accountname, config):
raise NotImplementedError, "Prompting for a password is not supported in noninteractive mode."
def _msg(s, msg):
print msg
def warn(s, msg):
sys.stderr.write("WARNING: " + str(msg) + "\n")
def sleep(s, sleepsecs):
if s.verbose >= 0:
s._msg("Sleeping for %d:%02d" % (sleepsecs / 60, sleepsecs % 60))
UIBase.sleep(s, sleepsecs)
def sleeping(s, sleepsecs, remainingsecs):
if sleepsecs > 0:
time.sleep(sleepsecs)
return 0
class Quiet(Basic):
def __init__(s, verbose = -1):
Basic.__init__(s, verbose)

View File

@ -59,18 +59,22 @@ class UIBase:
call except isusable(). Displays the copyright banner. This is
where the UI should do its setup -- TK, for instance, would
create the application window here."""
if s.verbose >= 0:
s._msg(offlineimap.version.banner)
def acct(s, accountname):
if s.verbose >= 0:
s._msg("***** Processing account %s" % accountname)
def syncfolders(s, srcrepos, destrepos):
if s.verbose >= 0:
s._msg("Copying folder structure from %s to %s" % \
(s.getnicename(srcrepos), s.getnicename(destrepos)))
############################## Folder syncing
def syncingfolder(s, srcrepos, srcfolder, destrepos, destfolder):
"""Called when a folder sync operation is started."""
if s.verbose >= 0:
s._msg("Syncing %s: %s -> %s" % (srcfolder.getname(),
s.getnicename(srcrepos),
s.getnicename(destrepos)))
@ -80,34 +84,37 @@ class UIBase:
folder.getname())
def loadmessagelist(s, repos, folder):
if s.verbose:
if s.verbose > 0:
s._msg("Loading message list for %s[%s]" % (s.getnicename(repos),
folder.getname()))
def messagelistloaded(s, repos, folder, count):
if s.verbose:
if s.verbose > 0:
s._msg("Message list for %s[%s] loaded: %d messages" % \
(s.getnicename(repos), folder.getname(), count))
############################## Message syncing
def syncingmessages(s, sr, sf, dr, df):
if s.verbose:
if s.verbose > 0:
s._msg("Syncing messages %s[%s] -> %s[%s]" % (s.getnicename(sr),
sf.getname(),
s.getnicename(dr),
df.getname()))
def copyingmessage(s, uid, src, destlist):
if s.verbose >= 0:
ds = s.folderlist(destlist)
s._msg("Copy message %d %s[%s] -> %s" % (uid, s.getnicename(src),
src.getname(), ds))
def deletingmessage(s, uid, destlist):
if s.verbose >= 0:
ds = s.folderlist(destlist)
s._msg("Deleting message %d in %s" % (uid, ds))
def deletingmessages(s, uidlist, destlist):
if s.verbose >= 0:
ds = s.folderlist(destlist)
s._msg("Deleting %d messages (%s) in %s" % \
(len(uidlist),
@ -115,11 +122,13 @@ class UIBase:
ds))
def addingflags(s, uid, flags, destlist):
if s.verbose >= 0:
ds = s.folderlist(destlist)
s._msg("Adding flags %s to message %d on %s" % \
(", ".join(flags), uid, ds))
def deletingflags(s, uid, flags, destlist):
if s.verbose >= 0:
ds = s.folderlist(destlist)
s._msg("Deleting flags %s to message %d on %s" % \
(", ".join(flags), uid, ds))

View File

@ -29,4 +29,8 @@ except ImportError:
else:
import Tk
import Noninteractive
# Must be last
import detector

View File

@ -20,7 +20,8 @@ from offlineimap.ui import *
import sys
def findUI(config):
uistrlist = ['Tk.TkUI', 'TTY.TTYUI']
uistrlist = ['Tk.TkUI', 'TTY.TTYUI', 'Noninteractive.Basic',
'Noninteractive.Quiet']
if config.has_option("general", "ui"):
uistrlist = config.get("general", "ui").replace(" ", "").split(",")
for uistr in uistrlist: