<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.mail.imap.offlineimap.general">
    <title>gmane.mail.imap.offlineimap.general</title>
    <link>http://blog.gmane.org/gmane.mail.imap.offlineimap.general</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6225"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6224"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6223"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6222"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6221"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6220"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6219"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6218"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6217"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6216"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6215"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6214"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6213"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6212"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6211"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6210"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6209"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6208"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6207"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6206"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6225">
    <title>Re: messages created in the new folder with the trashed flag</title>
    <link>http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6225</link>
    <description>&lt;pre&gt;

From the maildir docs:
http://cr.yp.to/proto/maildir.html


cu,
&lt;/pre&gt;</description>
    <dc:creator>Christian Neukirchen</dc:creator>
    <dc:date>2013-05-23T12:51:50</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6224">
    <title>Re: messages created in the new folder with the trashed flag</title>
    <link>http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6224</link>
    <description>&lt;pre&gt;

This is what I was told on another mailing list.
https://groups.google.com/d/msg/mu-discuss/3MjUIen8B1s/cnzpePkT148J

Best,

Alan

_______________________________________________
OfflineIMAP-project mailing list
OfflineIMAP-project&amp;lt; at &amp;gt;lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepage: http://software.complete.org/offlineimap

&lt;/pre&gt;</description>
    <dc:creator>Alan Schmitt</dc:creator>
    <dc:date>2013-05-23T12:43:37</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6223">
    <title>Re: messages created in the new folder with the trashed flag</title>
    <link>http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6223</link>
    <description>&lt;pre&gt;Hi,

 Do you have a reference for "as mails in the new folder should not have
any flag." ?

Best regards,
Cyril

On Wed, May 15, 2013 at 12:18 PM, Alan Schmitt &amp;lt;
alan.schmitt&amp;lt; at &amp;gt;polytechnique.org&amp;gt; wrote:

_______________________________________________
OfflineIMAP-project mailing list
OfflineIMAP-project&amp;lt; at &amp;gt;lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepage: http://software.complete.org/offlineimap&lt;/pre&gt;</description>
    <dc:creator>X Ryl</dc:creator>
    <dc:date>2013-05-23T09:14:41</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6222">
    <title>Re: offlineimap hangs, several threads running then despite -1 flag</title>
    <link>http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6222</link>
    <description>&lt;pre&gt;
PREEMPT x86_64,
run in background etc).
'AUTH=PLAIN', 'IDLE',
system (with Python 2.6) and
but it doesn't seem to give anything
attach one later on if necessary.
starts to sync my account (i have
rounds. I'm currently using 5 minutes
varies from every run), but now it
happens after a while _every_ time i run offlineimap.
it only uses 1 thread as it
after the sync is complete. When offlineimap
outputed at an even interval when its hanged:
random time, but that output is constantly
when it's counts down to refresh.
FUTE_WAIT_PRIVATE call that never returns.
flag (I've also tried to hardcode
know whats wrong?
the hangs).

Hi, 

Is there any solution to this problem? I have exactly the same issue as
described below. Since it hangs forever, it stops me from using OfflineIMAP.
Any idea will be much appreciated.

I am using the latest code from
https://github.com/OfflineIMAP/offlineimap.git in master branch. (SHA1:
a73b4b34652e7bac694179a96fee679ff95ce008)

Machine Environment: Python 2.7.4, Ubuntu Linux 13.04.

Thanks,
Lei



_______________________________________________
OfflineIMAP-project mailing list
OfflineIMAP-project&amp;lt; at &amp;gt;lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepage: http://software.complete.org/offlineimap&lt;/pre&gt;</description>
    <dc:creator>Lei</dc:creator>
    <dc:date>2013-05-20T16:57:56</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6221">
    <title>Speed up gmail message removal</title>
    <link>http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6221</link>
    <description>&lt;pre&gt;Hi,

Having fought a lot before having a proper working setup (mutt + msmtp
+ offlineimap), I am still puzzled by gmail mechanisms.
I have read this post
http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/5265
and even if I don't know imap specs I can't help but wonder if it's
not possible to move a mail from Inbox to Trash on the webserver
instead of removing it from Inbox and then reupload it. I want to
delete 15 MB messages but uploading 15MB is hard for my connection and
i have this kind of errors:

Copy message 206480 (33527 of 44298) gmail-remote:[Gmail]/All Mail -&amp;gt;
gmail-local
Copy message from gmail-remote:[Gmail]/All Mail:
Establishing connection to imap.gmail.com:993
Thread 'Copy message from gmail-remote:INBOX' terminated with exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/offlineimap/threadutil.py",
line 156, in run
Thread.run(self)
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/lib/python2.7/dist-packages/offlineimap/folder/Base.py",
line 330, in copymessageto
message = self.getmessage(uid)
File "/usr/lib/python2.7/dist-packages/offlineimap/folder/IMAP.py",
line 217, in getmessage
imapobj.select(self.getfullname(), readonly = True)
File "/usr/lib/python2.7/dist-packages/offlineimap/imaplibutil.py",
line 57, in select
raise OfflineImapError(errstr, severity)
OfflineImapError: Server 'imap.gmail.com' closed connection, error on
SELECT 'INBOX'. Server said: command: EXAMINE =&amp;gt; socket error: &amp;lt;type
'exceptions.IOError'&amp;gt; - Too many read 0


Folder [Gmail]/Trash [acc: gmail]:
ERROR: command: APPEND =&amp;gt; no response after 60.0 secs

Regards

MAtt

I was also wondering if it was possible to download ails without their
attached files (especially on first import downloading 40k mails took
me 2 days)

_______________________________________________
OfflineIMAP-project mailing list
OfflineIMAP-project&amp;lt; at &amp;gt;lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepage: http://software.complete.org/offlineimap

&lt;/pre&gt;</description>
    <dc:creator>Teto</dc:creator>
    <dc:date>2013-05-19T15:16:15</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6220">
    <title>[PATCH] mbnames: Allow custom sorting of mailboxes</title>
    <link>http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6220</link>
    <description>&lt;pre&gt;mutt-sidebar shows mailboxes in the order they are listed in the file
written by mbnames. Therefore, to allow customization of the order with
which mailboxes are listed, introduce the new 'sortkey' directive in
the [mbnames] section.

'sortkey' specifies a function that will be called once for each
mailbox (passing a dict with 2 items: 'accountname' and 'foldername'),
and should return a suitable sort key that mailbox.

If 'sortkey' is not given, we default to the current alphabetical
sorting provided by using (d['accountname'], d['foldername']) as sort
key.

Signed-off-by: Johan Herland &amp;lt;johan&amp;lt; at &amp;gt;herland.net&amp;gt;
---

(Please keep me CCed, as I'm not subscribed.)

This is just to scratch my own itch which I encountered while trying to
get offlineimap and mutt-sidebar to play nice together.

I already sent this as a pull request on GitHub [1] before reading the
SubmittingPatches document. Sorry about that.

Have fun! :)

...Johan

[1]: https://github.com/OfflineIMAP/offlineimap/pull/34

 Changelog.rst          |  3 +++
 offlineimap.conf       | 12 ++++++++++++
 offlineimap/mbnames.py | 12 ++++++++----
 3 files changed, 23 insertions(+), 4 deletions(-)

diff --git a/Changelog.rst b/Changelog.rst
index 643e63e..cf6d7a4 100644
--- a/Changelog.rst
+++ b/Changelog.rst
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -7,6 +7,9 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; ChangeLog
 WIP (add new stuff for the next release)
 ========================================
 
+* Allow mbnames output to be sorted by a custom sort key by specifying a
+  'sortkey' function in the [mbnames] section of the config.
+
 OfflineIMAP v6.5.5-rc1 (2012-09-05)
 ===================================
 
diff --git a/offlineimap.conf b/offlineimap.conf
index fccceab..4b45757 100644
--- a/offlineimap.conf
+++ b/offlineimap.conf
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -145,6 +145,18 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; footer = "\n"
 #
 # Note that this filter can be used only to further restrict mbnames
 # to a subset of folders that pass the account's folderfilter.
+#
+# You can customize the order in which mailbox names are listed in the
+# generated file by specifying a sortkey, which takes a single dict
+# argument containing the accountname and foldername. The sortkey will
+# be called once for each mailbox, and should return a suitable sort
+# key that defines this mailbox' position in the custom ordering.
+# This is useful with e.g. Mutt-sidebar, which uses the mailbox order
+# from the generated file when listing mailboxes in the sidebar.
+# If sortkey is not given, we default to alphabetical sorting of
+# mailboxes, equivalent to this:
+#
+# sortkey = lambda d: (d['accountname'], d['foldername'])
 
 
 ##################################################
diff --git a/offlineimap/mbnames.py b/offlineimap/mbnames.py
index fb8af74..b0f164e 100644
--- a/offlineimap/mbnames.py
+++ b/offlineimap/mbnames.py
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -58,17 +58,21 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; def genmbnames():
         if config.has_option("mbnames", "folderfilter"):
             folderfilter = localeval.eval(config.get("mbnames", "folderfilter"),
                                           {'re': re})
+        mb_sort_key = lambda d: (d['accountname'], d['foldername'])
+        if config.has_option("mbnames", "sortkey"):
+            mb_sort_key = localeval.eval(config.get("mbnames", "sortkey"),
+                                         {'re': re})
         itemlist = []
         for accountname in boxes.keys():
             for foldername in boxes[accountname]:
                 if folderfilter(accountname, foldername):
-                    itemlist.append(config.get("mbnames", "peritem", raw=1) % \
-                                    {'accountname': accountname,
+                    itemlist.append({'accountname': accountname,
                                      'foldername': foldername})
+        itemlist.sort(key = mb_sort_key)
+        format_string = config.get("mbnames", "peritem", raw=1)
+        itemlist = [format_string % d for d in itemlist]
         file.write(localeval.eval(config.get("mbnames", "sep")).join(itemlist))
         file.write(localeval.eval(config.get("mbnames", "footer")))
         file.close()
     finally:
         mblock.release()
-    
-    
&lt;/pre&gt;</description>
    <dc:creator>Johan Herland</dc:creator>
    <dc:date>2013-05-19T12:23:48</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6219">
    <title>messages created in the new folder with the trashed flag</title>
    <link>http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6219</link>
    <description>&lt;pre&gt;Hello,

I'm am seeing several messages in a "new/" folder with the trashed
flag:

# schmitta at top in ~/.Maildir/INBOX [12:16:26]
$ ls -1 new
1368606618_0.23494.top.irisa.fr,U=681593,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,
1368606921_0.23494.top.irisa.fr,U=681596,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,
1368607527_0.23494.top.irisa.fr,U=681600,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,
1368607527_1.23494.top.irisa.fr,U=681601,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,
1368607527_3.23494.top.irisa.fr,U=681599,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,
1368607830_0.23494.top.irisa.fr,U=681602,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,
1368610858_0.23494.top.irisa.fr,U=681619,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,T
1368610858_1.23494.top.irisa.fr,U=681621,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,T
1368610858_2.23494.top.irisa.fr,U=681623,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,T
1368612373_0.23494.top.irisa.fr,U=681625,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,

This seems to pose problems to some mail viewer (such as mu4e), as mails
in the new folder should not have any flag. Is it a bug of offlineimap
that these messages have these flags?

Is there a way to tell offlineimap to not download any message with a
trashed flag?

Thanks,

Alan

_______________________________________________
OfflineIMAP-project mailing list
OfflineIMAP-project&amp;lt; at &amp;gt;lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepage: http://software.complete.org/offlineimap

&lt;/pre&gt;</description>
    <dc:creator>Alan Schmitt</dc:creator>
    <dc:date>2013-05-15T10:18:09</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6218">
    <title>4 Lời Khuyên Quan Trọng Khi Lập Kế Hoạch E.Marketing</title>
    <link>http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6218</link>
    <description>&lt;pre&gt;Your email client cannot read this email.
To view it online, please go here:
http://emo.dichvu-email.com/display.php?M=1682079&amp;amp;C=c7412790b50959417283cb3770cf7cd0&amp;amp;S=748&amp;amp;L=514&amp;amp;N=217


To stop receiving these
emails:http://emo.dichvu-email.com/unsubscribe.php?M=1682079&amp;amp;C=c7412790b50959417283cb3770cf7cd0&amp;amp;L=514&amp;amp;N=748
POWERED BY BITS

_______________________________________________
OfflineIMAP-project mailing list
OfflineIMAP-project&amp;lt; at &amp;gt;lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepage: http://software.complete.org/offlineimap&lt;/pre&gt;</description>
    <dc:creator>BITS</dc:creator>
    <dc:date>2013-05-14T01:50:28</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6217">
    <title>Re: Gmail, Duplicate Messages, All Mail and deletion problem</title>
    <link>http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6217</link>
    <description>&lt;pre&gt;Dear Rainer,

Many thanks for your message.

I can confirm that *normally* all it takes to delete an email from Gmail's All Mail folder via offlineimap is either to delete it (in which case Gmail will delete it) or move it to the Bin/Trash folder (in which case Gmail will also move it to the Bin/Trash).

For some reason, this method didn't work for me with duplicate messages (messages with the same Message-ID header), so I ended up deleting those messages manually. For all normal messages, however, the above method works just fine.

I did discover that there is an important setting Gmail's preferences. In the settings for Forwarding and POP/IMAP there are two sections regarding deletion behaviour: "When I mark a message in IMAP as deleted (Auto-Expunge)" and "When a message is marked as deleted and expunged from the last visible IMAP folder". I have left those settings at their default values with Auto-Expunge on, but if others are having difficulty with deletion they might want to try other settings.

Thanks,

Geoff


"Rainer M. Krug" &amp;lt;Rainer&amp;lt; at &amp;gt;krugs.de&amp;gt; writes:


_______________________________________________
OfflineIMAP-project mailing list
OfflineIMAP-project&amp;lt; at &amp;gt;lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepage: http://software.complete.org/offlineimap&lt;/pre&gt;</description>
    <dc:creator>Geoffrey Ferrari</dc:creator>
    <dc:date>2013-05-13T14:54:15</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6216">
    <title>Re: Gmail, Duplicate Messages, All Mail and deletion problem</title>
    <link>http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6216</link>
    <description>&lt;pre&gt;

No - why don't you *copy* the messages in the bin folder? GMAIL will
take care of the actual deletion then at the next sync. If I remember
correctly, that's what I did.

&amp;lt;#secure method=pgpmime mode=sign&amp;gt;

&lt;/pre&gt;</description>
    <dc:creator>Rainer M. Krug</dc:creator>
    <dc:date>2013-05-13T08:40:36</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6215">
    <title>Synchro one way only.</title>
    <link>http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6215</link>
    <description>&lt;pre&gt;Hello,

I am using offlineimap since few days only. But it helps me a lot. Thanks
for this great job.

I am running two accounts, on two differents remote server.
The first one is running perfectly.
The second one (managed by infomaniak.ch) is not. During the
synchronisation, I am receiving what is on the remote, but he other way,
nothing is done. Thus the sent message from local server are not copied to
the remote, the moved message on local are not moved on the remote, even the
read message on the local still appear as "not read" on the remote server. I
guess it could come from the offlineimap config or the remote server config.
I don't think it comes from the offlineimap config as it is the same than
for the other account, only the server names and password change. As the
synchro is done in one way, that means the connexion is done anyway. But
maybe I am missing something here.
If it is coming from the remote server config, do you have any idea of what
it could be? I don't have access to the log of the server, but I may ask for
a small parameter change if I am clear in my request.

I suspect a read-only parameter in the remote server on some folder as the
debug mode of offlineimap return me that:

"

Folder sync [XYZ]:
Syncing Drafts: IMAP -&amp;gt; MappedIMAP
DEBUG[]: Not syncing to read-only repository 'remote_XYZ'
Syncing INBOX: IMAP -&amp;gt; MappedIMAP
DEBUG[]: Not syncing to read-only repository 'remote_XYZ'

"

and
"
 DEBUG[imap]:   30:48.73 Account sync XYZ _get_untagged_response(OK) =&amp;gt;
['[UNSEEN 1] First unseen.']
 DEBUG[imap]:   30:48.73 Account sync XYZ _get_untagged_response(READ-ONLY)
=&amp;gt; ['']

"

But I can use normal imap behavior (with updating) while connecting directly
to the remote server from a mail client (Thunderbird). So should I suspect
the connection mode?
Here is my current way, which is default. when connecting directly from the
mail client, the port is the same… and it use TTLS.

"
[Account XYZ]
########## Basic settings
localrepository = local_XYZ
remoterepository = remote_XYZ
########## Advanced settings
autorefresh = 5
quick = 12
maxsize = 200000000
maxage = 90
maildir-windows-compatible = no

[Repository local_XYZ]
type = IMAP
remotehost = localhost
remoteuser = XYZ
remotepass = XXXX
localfolders = ~/Maildir
sep = .
restoreatime = no

[Repository remote_XYZ]
type = IMAP
remotehost = mail.infomaniak.ch
#ssl = yes
#remoteport = 143
remoteuser = AAA&amp;lt; at &amp;gt;XYZ.com
remotepass = XXXX
"

Thanks for your kindly help!






_______________________________________________
OfflineIMAP-project mailing list
OfflineIMAP-project&amp;lt; at &amp;gt;lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepage: http://software.complete.org/offlineimap&lt;/pre&gt;</description>
    <dc:creator>FDF</dc:creator>
    <dc:date>2013-05-09T13:34:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6214">
    <title>Bug with exit codes?</title>
    <link>http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6214</link>
    <description>&lt;pre&gt;If I run an offlineimap invocation where a cert_fingerprint is not set for
a server I'm connecting to with SSL, I (rightly) see this:

ERROR: Server SSL fingerprint 'XXX' for hostname YYY.com' does not match
configured fingerprint. Please verify and set 'cert_fingerprint'
accordingly if not set yet.

However, the exit code from offlineimap is still 0, which makes this
condition more difficult to detect as part of a script. In my case, the UI
being used is 'basic', so that I can log the output, which makes the error
harder to spot amongst the other output. If I set it to 'quiet', I just get
the error message, but not the rest of the log.

I think this is probably a bug - offlineimap should be setting a non-zero
exit code in this case?

Thanks,
Andrew.

&lt;/pre&gt;</description>
    <dc:creator>Andrew Ferrier</dc:creator>
    <dc:date>2013-05-09T10:12:30</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6213">
    <title>Re: Gmail, Duplicate Messages, All Mail and deletion problem</title>
    <link>http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6213</link>
    <description>&lt;pre&gt;Dear Tomasz,

Many thanks for the quick reply - it raises an important question for me
though.

At the moment, the only mailboxes I keep locally are All Mail and Bin
(Trash). Your answer seems to suggest that there is no way to delete emails
with this setup. Is that right? If so, that's really annoying and I'll have
to rethink my whole approach to using offlineimap with Gmail. (I realise
it's probably Gmail's fault though.)

Thanks again,

Geoff




On 7 May 2013 15:25, Tomasz Żok &amp;lt;tomasz.zok&amp;lt; at &amp;gt;gmail.com&amp;gt; wrote:




&lt;/pre&gt;</description>
    <dc:creator>Geoffrey Ferrari</dc:creator>
    <dc:date>2013-05-07T14:33:57</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6212">
    <title>Re: Gmail, Duplicate Messages, All Mail and deletion problem</title>
    <link>http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6212</link>
    <description>&lt;pre&gt;Dear Geoff,

On 05/07/13 at 03:12pm, Geoffrey Ferrari wrote:

Quote from https://support.google.com/mail/answer/78892?hl=en
    Do not save deleted messages to your [Gmail]/All Mail folder as some
    clients will try to empty this folder and ultimately fail.

IIRC, When you use OfflineIMAP and delete from local folder synced to
[Gmail]/All Mail, this is the equivalent of the situation described by
support.google.com -&amp;gt; it does not work due to how Gmail treats All Mail.

You should delete the message in [Gmail]/INBOX, then after synchronization it
will be propagated and the message will disappear in [Gmail]/All Mail as well.

Regards,
Tomasz

_______________________________________________
OfflineIMAP-project mailing list
OfflineIMAP-project&amp;lt; at &amp;gt;lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepage: http://software.complete.org/offlineimap

&lt;/pre&gt;</description>
    <dc:creator>Tomasz Żok</dc:creator>
    <dc:date>2013-05-07T14:25:51</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6211">
    <title>Gmail, Duplicate Messages, All Mail and deletion problem</title>
    <link>http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6211</link>
    <description>&lt;pre&gt;I use offlineimap 6.5.4 and I like it a lot - thanks everyone who makes
this software possible!

I currently have a big problem though. For whatever reason, after many
years my Gmail account contains around 1400 duplicate messages. I've been
trying to delete them but, no matter what I try, offlineimap eventually
downloads them again from Gmail.

My current setup is that I sync two folders from Gmail, the All Mail folder
and the Bin Folder.

So here are my questions:

1) What is the correct way to delete messages from the All Mail folder?
Should I just delete the local file in the All Mail folder? Move the local
file to the Bin folder? Leave the original local file in All but copy it to
the Bin folder? Something else?

2) Does anyone know why offlineimap keeps downloading duplicate messages
from Gmail rather than simply deleting them?

Many thanks for your help,

Geoff
_______________________________________________
OfflineIMAP-project mailing list
OfflineIMAP-project&amp;lt; at &amp;gt;lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepage: http://software.complete.org/offlineimap&lt;/pre&gt;</description>
    <dc:creator>Geoffrey Ferrari</dc:creator>
    <dc:date>2013-05-07T14:12:30</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6210">
    <title>Getting an error when trying to sync Drafts</title>
    <link>http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6210</link>
    <description>&lt;pre&gt;I have begun using offllineimap today with my fastmail.fm mail account.

However, when performing a sync between local folders and remote, I'm
getting the following error:

OfflineIMAP 6.5.4
  Licensed under the GNU GPL v2+ (v2 or any later version)
*** Processing account Fastmail
Establishing connection to mail.messagingengine.com:993
Creating folder Drafts[Fastmail_Remote]
ERROR: Creating folder Drafts on repository Fastmail_Remote
  Folder 'Drafts'[Fastmail_Remote] could not be created. Server
  responded: ('NO', ['Permission denied'])
ERROR: Folder 'Drafts'[Fastmail_Remote] could not be created. Server
responded: ('NO', ['Permission denied'])
*** Finished account 'Fastmail' in 0:00
ERROR: Exceptions occurred during the run!
ERROR: Creating folder Drafts on repository Fastmail_Remote
  Folder 'Drafts'[Fastmail_Remote] could not be created. Server
  responded: ('NO', ['Permission denied'])
ERROR: Folder 'Drafts'[Fastmail_Remote] could not be created. Server
responded: ('NO', ['Permission denied'])

I have my mail setup locally in my home folder at ~/.mail/fastmail/

and the following in my .muttrc (which is likely wrong.  I realize it's
not consistent and looking for guidance):

set mbox_type=Maildir
set folder="~/.mail/fastmail/"
set mask="!^\\.[^.]"
set mbox="~/.mail/fastmail/"
set record="+Sent Items"
set postponed="~/.mail/fastmail/INBOX.drafts"
set spoolfile="~/.mail/fastmail/INBOX"

I've tried a few variations on the 'set postponed' directory, but still
getting the same error.  Also, sent messages are not being synced
either, but not seeing an error message concerning creating the remote
folder.

I created a draft message and it's showing up locally in
~/.mail/fastmail/INBOX.Drafts/cur/ but not sync'ing to the fastmail
remote server.

Any and all help appreciated.

&lt;/pre&gt;</description>
    <dc:creator>Trey Sizemore</dc:creator>
    <dc:date>2013-05-06T02:52:58</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6209">
    <title>sslcacertfile: make a build-time option to configure this in?</title>
    <link>http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6209</link>
    <description>&lt;pre&gt;For users who get offlineimap as a pre-built package, e.g. on Debian, it
should be possible to avoid their having ever to read the FAQ and configure
sslcacertfile, as there is a system-wide one in a well-known location.

Could this possibly be detected at build-time, or simply provided as a
configure option for packagers? Users could still override the setting if
they either wanted to use a different file, or didn't trust their system
certificate file.

&lt;/pre&gt;</description>
    <dc:creator>Reuben Thomas</dc:creator>
    <dc:date>2013-05-04T17:40:08</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6208">
    <title>Synchro one way only.</title>
    <link>http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6208</link>
    <description>&lt;pre&gt;Hello,

I am using offlineimap since few days only. But it helps me a lot. 
Thanks for this great job.

I am running two accounts, on two differents remote server.
The first one is running perfectly.
The second one (managed by infomaniak.ch) is not. During the 
synchronisation, I am receiving what is on the remote, but he other way, 
nothing is done. Thus the sent message from local server are not copied 
to the remote, the moved message on local are not moved on the remote, 
even the read message on the local still appear as "not read" on the 
remote server. I guess it could come from the offlineimap config or the 
remote server config. I don't think it comes from the offlineimap config 
as it is the same than for the other account, only the server names and 
password change. As the synchro is done in one way, that means the 
connexion is done anyway. But maybe I am missing something here.
If it is coming from the remote server config, do you have any idea of 
what it could be? I don't have access to the log of the server, but I 
may ask for a small parameter change if I am clear in my request.

I suspect a read-only parameter in the remote server on some folder as 
the debug mode of offlineimap return me that:

"

Folder sync [XYZ]:
Syncing Drafts: IMAP -&amp;gt; MappedIMAP
DEBUG[]: Not syncing to read-only repository 'remote_XYZ'
Syncing INBOX: IMAP -&amp;gt; MappedIMAP
DEBUG[]: Not syncing to read-only repository 'remote_XYZ'


"

But I can use normal imap behavior (with updating) while connecting 
directly to the remote server from a mail client (Thunderbird). So 
should I suspect the connexion mode?
Here is my current way, which is default. when connecting directly from 
the mail client, the port is the same… and it use TTLS.

"
[Account XYZ]
########## Basic settings
localrepository = local_XYZ
remoterepository = remote_XYZ
########## Advanced settings
autorefresh = 5
quick = 12
maxsize = 200000000
maxage = 90
maildir-windows-compatible = no

[Repository local_XYZ]
type = IMAP
remotehost = localhost
remoteuser = XYZ
remotepass = XXXX
localfolders = ~/Maildir
sep = .
restoreatime = no

[Repository remote_XYZ]
type = IMAP
remotehost = mail.infomaniak.ch
#ssl = yes
#remoteport = 143
remoteuser = AAA&amp;lt; at &amp;gt;XYZ.com
remotepass = XXXX

"

Thanks for your kindly help!




_______________________________________________
OfflineIMAP-project mailing list
OfflineIMAP-project&amp;lt; at &amp;gt;lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepage: http://software.complete.org/offlineimap&lt;/pre&gt;</description>
    <dc:creator>Pierig</dc:creator>
    <dc:date>2013-05-01T03:05:40</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6207">
    <title>Re: Problem connecting to gmail after new installation of UbuntuRaring Ringtail</title>
    <link>http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6207</link>
    <description>&lt;pre&gt;Thanks, Rainer,
  This was not just due to updating to Raring. I've been running Raring for 
a month, and the first problem you describe just started for me about 12 
hours ago, after my midnight.  I already had a cert_fingerprint value in 
my .offlineimaprc, but it wasn't the one shown in the error code. Updating 
it fixed the problem.

Cheers,
Chris


On Tue, 30 Apr 2013, Rainer M Krug wrote:


OfflineIMAP-project mailing list
OfflineIMAP-project&amp;lt; at &amp;gt;lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepage: http://software.complete.org/offlineimap&lt;/pre&gt;</description>
    <dc:creator>cpblpublic+offlineimap&lt; at &gt;gmail.com</dc:creator>
    <dc:date>2013-04-30T16:43:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6206">
    <title>Re: Problem connecting to gmail after new installation of UbuntuRaring Ringtail</title>
    <link>http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6206</link>
    <description>&lt;pre&gt;Yup - it is valid.

And now the embarrassing part:

1) It was not gmail, but localhost
2) I access it via imap and I changed my local password.

But working now.

Thanks,

Rainer



On 30 April 2013 10:57, Tomasz Żok &amp;lt;tomasz.zok&amp;lt; at &amp;gt;gmail.com&amp;gt; wrote:




&lt;/pre&gt;</description>
    <dc:creator>Rainer M Krug</dc:creator>
    <dc:date>2013-04-30T09:24:34</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6205">
    <title>Re: Problem connecting to gmail after new installation of UbuntuRaring Ringtail</title>
    <link>http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/6205</link>
    <description>&lt;pre&gt;
You should check /etc/ssl/certs/ and look for the certificate file of the
following entity: (the one which certifies Google)
    C=US, O=Equifax, OU=Equifax Secure Certificate Authority

In my case, it is in a file named:
    Equifax_Secure_CA.crt

To check if this is the correct one, run:
    $ openssl x509 -text -in Equifax_Secure_CA.crt

You will see the text output of the certificate and will be able to assess if
that is the correct one (if the field Subject: and Issuer: are both equal to
the name I pasted above)

Hope this helps, best regards,
Tomasz

_______________________________________________
OfflineIMAP-project mailing list
OfflineIMAP-project&amp;lt; at &amp;gt;lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepage: http://software.complete.org/offlineimap

&lt;/pre&gt;</description>
    <dc:creator>Tomasz Żok</dc:creator>
    <dc:date>2013-04-30T08:57:49</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.mail.imap.offlineimap.general">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.mail.imap.offlineimap.general</link>
  </textinput>
</rdf:RDF>
