<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.yobi.be/index.php?action=history&amp;feed=atom&amp;title=Offlineimap</id>
	<title>Offlineimap - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.yobi.be/index.php?action=history&amp;feed=atom&amp;title=Offlineimap"/>
	<link rel="alternate" type="text/html" href="https://wiki.yobi.be/index.php?title=Offlineimap&amp;action=history"/>
	<updated>2026-05-23T08:13:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.yobi.be/index.php?title=Offlineimap&amp;diff=6867&amp;oldid=prev</id>
		<title>PhilippeTeuwen: Reverted edits by Etegohy (Talk) to last revision by PhilippeTeuwen</title>
		<link rel="alternate" type="text/html" href="https://wiki.yobi.be/index.php?title=Offlineimap&amp;diff=6867&amp;oldid=prev"/>
		<updated>2010-11-24T20:36:18Z</updated>

		<summary type="html">&lt;p&gt;Reverted edits by &lt;a href=&quot;/index.php?title=Special:Contributions/Etegohy&quot; title=&quot;Special:Contributions/Etegohy&quot;&gt;Etegohy&lt;/a&gt; (&lt;a href=&quot;/index.php?title=User_talk:Etegohy&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:Etegohy (page does not exist)&quot;&gt;Talk&lt;/a&gt;) to last revision by &lt;a href=&quot;/index.php?title=User:PhilippeTeuwen&quot; title=&quot;User:PhilippeTeuwen&quot;&gt;PhilippeTeuwen&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Can&#039;t load revision 6867&lt;/p&gt;</summary>
		<author><name>PhilippeTeuwen</name></author>
	</entry>
	<entry>
		<id>https://wiki.yobi.be/index.php?title=Offlineimap&amp;diff=6709&amp;oldid=prev</id>
		<title> at 00:32, 24 November 2010</title>
		<link rel="alternate" type="text/html" href="https://wiki.yobi.be/index.php?title=Offlineimap&amp;diff=6709&amp;oldid=prev"/>
		<updated>2010-11-24T00:32:14Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Can&#039;t load revision 6709&lt;/p&gt;</summary>
		<author><name></name></author>
	</entry>
	<entry>
		<id>https://wiki.yobi.be/index.php?title=Offlineimap&amp;diff=5253&amp;oldid=prev</id>
		<title>PhilippeTeuwen: /* Installation */</title>
		<link rel="alternate" type="text/html" href="https://wiki.yobi.be/index.php?title=Offlineimap&amp;diff=5253&amp;oldid=prev"/>
		<updated>2008-10-27T20:37:24Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Installation&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:37, 27 October 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 52:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 52:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;holdconnectionopen = yes                                          ## Changed&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;holdconnectionopen = yes                                          ## Changed&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;keepalive = 60                                                    ## Changed&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;keepalive = 60                                                    ## Changed&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;nametrans = lambda foldername: re.sub(&#039;^INBOX\.&#039;, &#039;.&#039;, foldername)&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  &lt;/del&gt;## Changed&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;nametrans = lambda foldername: re.sub(&#039;^INBOX\.&#039;, &#039;.&#039;, foldername)## Changed&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For remote repository via ssh:&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For remote repository via ssh:&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key mediawiki-mw_:diff:1.41:old-5252:rev-5253:wikidiff2=table:1.14.1:bc2a06be --&gt;
&lt;/table&gt;</summary>
		<author><name>PhilippeTeuwen</name></author>
	</entry>
	<entry>
		<id>https://wiki.yobi.be/index.php?title=Offlineimap&amp;diff=5252&amp;oldid=prev</id>
		<title>PhilippeTeuwen: /* Installation */</title>
		<link rel="alternate" type="text/html" href="https://wiki.yobi.be/index.php?title=Offlineimap&amp;diff=5252&amp;oldid=prev"/>
		<updated>2008-10-27T20:30:15Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Installation&lt;/span&gt;&lt;/p&gt;
&lt;a href=&quot;https://wiki.yobi.be/index.php?title=Offlineimap&amp;amp;diff=5252&amp;amp;oldid=4174&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>PhilippeTeuwen</name></author>
	</entry>
	<entry>
		<id>https://wiki.yobi.be/index.php?title=Offlineimap&amp;diff=4174&amp;oldid=prev</id>
		<title>PhilippeTeuwen: /* Global script for cron */</title>
		<link rel="alternate" type="text/html" href="https://wiki.yobi.be/index.php?title=Offlineimap&amp;diff=4174&amp;oldid=prev"/>
		<updated>2008-03-28T16:37:39Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Global script for cron&lt;/span&gt;&lt;/p&gt;
&lt;a href=&quot;https://wiki.yobi.be/index.php?title=Offlineimap&amp;amp;diff=4174&amp;amp;oldid=1520&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>PhilippeTeuwen</name></author>
	</entry>
	<entry>
		<id>https://wiki.yobi.be/index.php?title=Offlineimap&amp;diff=1520&amp;oldid=prev</id>
		<title>PhilippeTeuwen: /* Global cron to automate a maximum */</title>
		<link rel="alternate" type="text/html" href="https://wiki.yobi.be/index.php?title=Offlineimap&amp;diff=1520&amp;oldid=prev"/>
		<updated>2006-11-26T23:33:17Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Global cron to automate a maximum&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:33, 26 November 2006&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 97:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 97:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* On cron: offlineimap -u Noninteractive.Quiet&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* On cron: offlineimap -u Noninteractive.Quiet&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Global &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;cron&lt;/del&gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;to&lt;/del&gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;automate a maximum&lt;/del&gt;==&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Global &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;script&lt;/ins&gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;for&lt;/ins&gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;cron&lt;/ins&gt;==&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This can be called e.g. every hour, it will seek for ~/.offlineimaprc in each home directory &lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;and for each of them, find the configurations for remote directory and check if the remote directory is reachable and if yes, finally, execute offlineimap for this account.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; #! /bin/bash&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; #! /bin/bash&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key mediawiki-mw_:diff:1.41:old-1519:rev-1520:wikidiff2=table:1.14.1:bc2a06be --&gt;
&lt;/table&gt;</summary>
		<author><name>PhilippeTeuwen</name></author>
	</entry>
	<entry>
		<id>https://wiki.yobi.be/index.php?title=Offlineimap&amp;diff=1519&amp;oldid=prev</id>
		<title>PhilippeTeuwen at 23:29, 26 November 2006</title>
		<link rel="alternate" type="text/html" href="https://wiki.yobi.be/index.php?title=Offlineimap&amp;diff=1519&amp;oldid=prev"/>
		<updated>2006-11-26T23:29:33Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Installation==&lt;br /&gt;
&lt;br /&gt;
 root:# apt-get install offlineimap&lt;br /&gt;
 phil:$ zcat /usr/share/doc/offlineimap/examples/offlineimap.conf.gz &amp;gt; ~/.offlineimaprc&lt;br /&gt;
 phil:$ mkdir ~/Maildir&lt;br /&gt;
 phil:$ mkdir ~/Maildir/new&lt;br /&gt;
 phil:$ mkdir ~/Maildir/cur&lt;br /&gt;
 phil:$ mkdir ~/Maildir/tmp&lt;br /&gt;
Editer ~/.offlineimap&lt;br /&gt;
&lt;br /&gt;
 phil@mercure:~$ grep -v &amp;#039;^$\|^#&amp;#039; &amp;lt; ~/.offlineimaprc&lt;br /&gt;
 [general]&lt;br /&gt;
 metadata = ~/.offlineimap&lt;br /&gt;
 accounts = Test&lt;br /&gt;
 maxsyncaccounts = 1&lt;br /&gt;
 ui = Tk.Blinkenlights, Tk.VerboseUI, Curses.Blinkenlights, TTY.TTYUI,&lt;br /&gt;
      Noninteractive.Basic, Noninteractive.Quiet&lt;br /&gt;
 ignore-readonly = no&lt;br /&gt;
 [mbnames]&lt;br /&gt;
 enabled = no&lt;br /&gt;
 filename = ~/Mutt/muttrc.mailboxes&lt;br /&gt;
 header = &amp;quot;mailboxes &amp;quot;&lt;br /&gt;
 peritem = &amp;quot;+%(accountname)s/%(foldername)s&amp;quot;&lt;br /&gt;
 sep = &amp;quot; &amp;quot;&lt;br /&gt;
 footer = &amp;quot;\n&amp;quot;&lt;br /&gt;
 [ui.Tk.Blinkenlights]&lt;br /&gt;
 loglines = 5&lt;br /&gt;
 bufferlines = 500&lt;br /&gt;
 showlog = false&lt;br /&gt;
 fontfamily = Helvetica&lt;br /&gt;
 fontsize = 8&lt;br /&gt;
 [Account Test]&lt;br /&gt;
 localrepository = LocalExample&lt;br /&gt;
 remoterepository = RemoteExample&lt;br /&gt;
 autorefresh = 3                                                   ## Changed&lt;br /&gt;
 [Repository LocalExample]&lt;br /&gt;
 type = Maildir&lt;br /&gt;
 localfolders = ~/Maildir                                          ## Changed&lt;br /&gt;
 sep = .                                                           ## Changed&lt;br /&gt;
 [Repository RemoteExample]&lt;br /&gt;
 type = IMAP&lt;br /&gt;
 remotehost = ssl.teuwen.org                                       ## Changed&lt;br /&gt;
 ssl = yes&lt;br /&gt;
 remoteport = 993                                                  ## Changed&lt;br /&gt;
 remoteuser = philmail                                             ## Changed&lt;br /&gt;
 maxconnections = 3                                                ## Changed&lt;br /&gt;
 holdconnectionopen = yes                                          ## Changed&lt;br /&gt;
 keepalive = 60                                                    ## Changed&lt;br /&gt;
 nametrans = lambda foldername: re.sub(&amp;#039;^INBOX.&amp;#039;, &amp;#039;&amp;#039;, foldername)  ## Changed&lt;br /&gt;
&lt;br /&gt;
For remote repository via ssh:&lt;br /&gt;
 [Repository RemoteExample]&lt;br /&gt;
 type = IMAP&lt;br /&gt;
 remotehost = mx.yobi.be&lt;br /&gt;
 preauthtunnel = ssh -q mx.yobi.be&lt;br /&gt;
With on server side ~/.ssh/authorized_keys:&lt;br /&gt;
 command=&amp;quot;/usr/bin/imapd ~/Maildir&amp;quot; ssh-rsa xxxxxxxx(key)&lt;br /&gt;
&lt;br /&gt;
To avoid syncing of some directories from e.g. the remote server, add to the remote repository&lt;br /&gt;
 folderfilter = lambda foldername: not re.search(&amp;#039;(SPAM$|^shared|Mairix|NXP)&amp;#039;, foldername)&lt;br /&gt;
&lt;br /&gt;
==Deleting Local Folders==&lt;br /&gt;
&lt;br /&gt;
OfflineIMAP does a two-way synchronization. That is, if you make a change to the mail on the server, it will be propogated to your local copy, and vise-versa. Some people might think that it would be wise to just delete all their local mail folders periodically. If you do this with OfflineIMAP, remember to also remove your local status cache (~/.offlineimap by default). Otherwise, OfflineIMAP will take this as an intentional deletion of many messages and will interpret your action as requesting them to be deleted from the server as well.&lt;br /&gt;
&lt;br /&gt;
==Use with Evolution==&lt;br /&gt;
&lt;br /&gt;
OfflineIMAP can work with Evolution. To do so, first configure your OfflineIMAP account to have sep = / in its configuration. Then, configure Evolution with the &amp;quot;Maildir-format mail directories&amp;quot; server type. For the path, you will need to specify the name of the top-level folder inside your OfflineIMAP storage location. You&amp;#039;re now set!&lt;br /&gt;
&lt;br /&gt;
So from courierIMAP to Evolution:&lt;br /&gt;
 sep = /&lt;br /&gt;
 nametrans = lambda foldername: re.sub(&amp;#039;^INBOX.&amp;#039;, &amp;#039;&amp;#039;, foldername)&lt;br /&gt;
&lt;br /&gt;
From IMAP of ULg to courierIMAP:&lt;br /&gt;
 sep = .&lt;br /&gt;
 nametrans = lambda foldername: re.sub(&amp;#039;^INBOX\.&amp;#039;, &amp;#039;.&amp;#039;, foldername)&lt;br /&gt;
&lt;br /&gt;
==Errors==&lt;br /&gt;
&lt;br /&gt;
With ULg IMAP I got sometimes the following error, only for the folder INBOX, sub-folders are synchronized correctly:&lt;br /&gt;
* Syncing INBOX: IMAP -&amp;gt; Maildir&lt;br /&gt;
* WARNING: UID validity problem for folder INBOX (saved; got); skipping it&lt;br /&gt;
&lt;br /&gt;
To solve it, simply remove locally ~/.offlineimap/Repository-&amp;#039;&amp;#039;RemoteAccount&amp;#039;&amp;#039;/FolderValidity/INBOX&lt;br /&gt;
&lt;br /&gt;
This can be automated in your procmailrc with sth similar to the following rule:&lt;br /&gt;
 0HBc&lt;br /&gt;
 * ^Subject:.*cron&lt;br /&gt;
 * UID validity problem for folder \/[^ ]+&lt;br /&gt;
 |rm -f /home/user/.offlineimap/Repository-RemoteAccount/FolderValidity/$MATCH&lt;br /&gt;
Warning!!! This is valid only for the ULg server, problem could be deeper, cf [http://gopher.quux.org:70/devel/offlineimap/SVN/manual.html#AEN354 man offlineimap]&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
* On GUI: offlineimap, this will use the TK Blinkenlights by default&lt;br /&gt;
* On CLI: offlineimap -u Noninteractive.Basic&amp;lt;br&amp;gt;Curses.Blinkenlights is ok also but not that helpful to debug&lt;br /&gt;
* On cron: offlineimap -u Noninteractive.Quiet&lt;br /&gt;
&lt;br /&gt;
==Global cron to automate a maximum==&lt;br /&gt;
 #! /bin/bash&lt;br /&gt;
 &lt;br /&gt;
 # Philippe Teuwen &amp;lt;phil@teuwen.org&amp;gt; v0.2&lt;br /&gt;
 &lt;br /&gt;
 [ -x /usr/bin/offlineimap ] || exit 0&lt;br /&gt;
 &lt;br /&gt;
 # For every existing user who has &lt;br /&gt;
 # 	his homedir under /home and&lt;br /&gt;
 #	his ~/.offlineimaprc&lt;br /&gt;
 # we extract his offlineimap accounts activated (=in accounts list)&lt;br /&gt;
 # and we call offlineimap in his name only if the corresponding&lt;br /&gt;
 # remotehosts are responding to a ping&lt;br /&gt;
 &lt;br /&gt;
 for i in $(cut -f6 -d: /etc/passwd|grep /home);&lt;br /&gt;
 do &lt;br /&gt;
     if [ -e $i/.offlineimaprc ];&lt;br /&gt;
     then &lt;br /&gt;
 	eval $(\&lt;br /&gt;
 	    gawk -v user=$(basename $i) &amp;#039;&lt;br /&gt;
 &lt;br /&gt;
 		/^accounts/ {&lt;br /&gt;
 		    # Place list of accounts in table a[]&lt;br /&gt;
 		    split($3, a, &amp;quot;,&amp;quot;)&lt;br /&gt;
 		}&lt;br /&gt;
 &lt;br /&gt;
 		# For each [Account XXX] section&lt;br /&gt;
 		/\[Account/ {&lt;br /&gt;
 		    for(i in a)&lt;br /&gt;
 			# if it is an account existing in the table&lt;br /&gt;
 			if($2==a[i]&amp;quot;]&amp;quot;)&lt;br /&gt;
 			    # Parse the section and extract remoterepository name&lt;br /&gt;
 			    for(getline;$0!~/^\[/;getline)&lt;br /&gt;
 				if(/^remoterepository/){&lt;br /&gt;
 				    r[i]=$3&lt;br /&gt;
 				    next&lt;br /&gt;
 				}&lt;br /&gt;
 		}&lt;br /&gt;
 &lt;br /&gt;
 		# For each [Repository XXX] section&lt;br /&gt;
 		/\[Repository/ {&lt;br /&gt;
 		    for(i in r)&lt;br /&gt;
 			# if it is a repository related to our accounts&lt;br /&gt;
 			if($2==r[i]&amp;quot;]&amp;quot;)&lt;br /&gt;
 			    # Parse the section and extract hostname&lt;br /&gt;
 			    for(getline;$0!~/^\[/;getline)&lt;br /&gt;
 				if(/^remotehost/){&lt;br /&gt;
 				    h[i]=$3&lt;br /&gt;
 				    next&lt;br /&gt;
 				}&lt;br /&gt;
 		}&lt;br /&gt;
 &lt;br /&gt;
 		# Now:&lt;br /&gt;
 		#  a[] contains accounts&lt;br /&gt;
 		#  h[] contains hostnames&lt;br /&gt;
 		END {&lt;br /&gt;
 		    # For each hostname&lt;br /&gt;
 		    for(i in h)&lt;br /&gt;
 			# First try if hostname is reachable then &lt;br /&gt;
 			# call offlineimap as the user&lt;br /&gt;
 			printf &amp;quot;su - &amp;quot;user&amp;quot; -s /bin/bash -c \&amp;quot;\&lt;br /&gt;
 			    ping -c1 &amp;quot;h[i]&amp;quot; -q &amp;gt;/dev/null 2&amp;gt;&amp;amp;1 &amp;amp;&amp;amp; \&lt;br /&gt;
 			    nice -n19 offlineimap -1 -o -a &amp;quot;a[i]&amp;quot; -u Noninteractive.Basic &amp;gt; ~/.offlineimap.last.log 2&amp;gt;&amp;amp;1 \&lt;br /&gt;
 			\&amp;quot;;&amp;quot;&lt;br /&gt;
 		}&lt;br /&gt;
 	    &amp;#039; $i/.offlineimaprc\&lt;br /&gt;
 	)&lt;br /&gt;
     fi;&lt;br /&gt;
 done&lt;br /&gt;
 &lt;br /&gt;
 exit 0&lt;/div&gt;</summary>
		<author><name>PhilippeTeuwen</name></author>
	</entry>
</feed>