'double' message with gmail IMAP?

Mark Smith mark at bbprojects.net
Mon Nov 12 05:36:33 PST 2007


On 12.11.2007, at 13:45, Paul Sargent wrote:

>
> On 12 Nov 2007, at 12:34, LuKreme wrote:
>
>> So, I have been using gmail's IMAP for a bit now and I am noticing  
>> that messages for mailing lists show up both in the gmail INBOX and  
>> in the gmail folder for the appropriate tag.  This means that I see  
>> (and am storing cached locally) two of every message to my gmail  
>> account.
>>
>> I have the mailbox name column turned on, so I can see that the  
>> messages are in both Inbox - Gmail and in, for example, mac-talk.   
>> And they are not the 'same' message because reading one doesn't  
>> mark the other one as read.
>>
>> Anyone else seeing this?  What's the solution?  Perhaps a setting  
>> in gmail?
>
> I think this is just a fact of life when using GMail IMAP. Labels  
> and Folders don't match up one to one

// not intended to be patronizing, but maybe the background is unclear  
for some folks //

A single gmail IMAP message is considered a member of all the IMAP- 
mapped "label folders" for which it is flagged (tagged). Inbox  
membership is one of those flags in gmail. So is "sent"^[1].

The only (non-spam, non-trashed) messages that exist in *only* one of  
the "label folders" on the IMAP-mapped side are those that are:

not in the inbox AND
unstarred AND
incoming rather than outgoing AND
unlabelled

and these are in "all mail"

There are no *real* duplicates - only in the client-side cache and I  
assume these are only generated when you poll the folders of which  
they are members. You can minimize this by using cunning smart folders  
to view your gmail IMAP messages - though not on the iPhone.

Mark.

[1]: that's why mapping gmail's "sent" "label folder" to Mail's "sent"  
mailbox is not necessarily the right thing to do.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2421 bytes
Desc: not available
Url : /mailman/archive/macosx-talk/attachments/20071112/78c734d5/smime.bin


More information about the MacOSX-talk mailing list