Oswald Buddenhagen <o...@kde.org> writes:

> On Fri, Nov 22, 2013 at 08:11:19PM +0700, Eric Abrahamsen wrote:
>> This is with a gmail account, no Sync customization (ie it should be
>> All), but I've seen this for a few days now (since I've been paying
>> attention, anyway):

[...]

> well, it certainly doesn't *look* normal at first sight, but it's
> impossible to tell without seeing the complete config + command line.

I'm not nuts, then...

So take the [Gmail]/Spam folder for example. Mbsync says slave 113,
master 13, and doesn't sync. Right now, gnus reports 119 messages, but
the folder actually only has 113 messages in it. Gnus accesses slave
like this:

/usr/lib/dovecot/imap -o
mail_location=maildir:/home/eric/.mail/pr:LAYOUT=fs:INDEX=/home/eric/.mail/indexes/pr

I run that command to log in to local dovecot, do:

, status "[Gmail]/Spam" (Messages)

Get:

* STATUS [Gmail]/Spam (MESSAGES 113)

I log in to remote gmail master with:

openssl s_client -crlf -connect imap.gmail.com:993

Run the same command, get:

* STATUS "[Gmail]/Spam" (MESSAGES 13)

The config for this account (same for all my gmail accounts) is:

IMAPAccount pr
Host imap.gmail.com
User e...@paper-republic.org
Pass <<password>>
UseIMAPS yes
CertificateFile /etc/ssl/certs/ca-certificates.crt

IMAPStore pr-remote
Account pr

IMAPAccount local-pr-dovecot
Tunnel "/usr/lib/dovecot/imap -o 
mail_location=maildir:/home/eric/.mail/pr:LAYOUT=fs:INDEX=/home/eric/.mail/indexes/pr"

IMAPStore pr-local
Account local-pr-dovecot

Channel pr
Master :pr-remote:
Slave :pr-local:
Patterns * !"[Gmail]/All Mail"
Create Both


I ran this command and pasted it:

mbsync -V pr:[Gmail]/Spam

http://pastebin.com/9tUJqLaH

Thanks for looking into this!

Eric


------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to