I've just upgraded to latest 1.1.0 (from 1.0.4), and in my
particular setup I've encountered a strange situation:  having
`MaxSize` set to zero both in global, store (both local and remote),
and channel, `mbsync` downloads only "some" of the messages.

    By "some" I mean I have no ideea how it computes it, because it
doesn't match neither the number of unread messages, for example it is
~450 out of a total of ~6000 of which ~2000 are unread.  This is for
GMail and the folder is a label.  Moreover a similar behaviour is
encountered even for the spam folder (although with a different number
of downloaded messages).

    However commenting out the `MaxSize` inside the channel sections
it behaves correctly and downloads "everything".

    Below is an extract of my configuration (with some "edits") which works:
~~~~
Sync none
MaxMessages 0
Create none
Expunge none
CopyArrivalDate no
SyncState *
FSync yes

Group default
Channel user+la...@gmail.com
Channel user+s...@gmail.com

MaildirStore u...@gmail.com@local
Path ./store/u...@gmail.com/
Inbox ./store/u...@gmail.com/__inbox__
MaxSize 0
MapInbox Inbox
Trash __trash__
TrashNewOnly no
TrashRemoteNew no
AltMap no
Flatten "#"

ImapAccount u...@gmail.com@remote
Host imap.gmail.com
Port 993
User user
PassCmd "..."
RequireCram no
PipelineDepth 16
UseImaps yes
RequireSsl yes
CertificateFile ./configuration/ca.equifax.com.pem
UseSSLv2 no
UseSSLv3 no
UseTLSv1 no
UseTLSv1.1 no
UseTLSv1.2 yes

ImapStore u...@gmail.com@remote
Account u...@gmail.com@remote
UseNamespace no
MaxSize 0
MapInbox Inbox
Trash Trash
TrashNewOnly no
TrashRemoteNew no
PathDelimiter "/"

Channel user+s...@gmail.com
Master :u...@gmail.com@remote:
Slave :u...@gmail.com@local:
Patterns !*
Patterns "[Gmail]/Spam"
#MaxSize 0
MaxMessages 0
ExpireUnread no
Sync pull
Create slave
Expunge slave
SyncState *

Channel user+la...@gmail.com
Master :u...@gmail.com@remote:
Slave :u...@gmail.com@local:
Patterns !*
Patterns "label"
#MaxSize 0
MaxMessages 0
ExpireUnread no
Sync pull pushdelete
Create slave
Expunge both
SyncState *
~~~~

    To "break it" just uncomment the `MaxSize` in the channels.

    Hope someone can shed some light,
    Ciprian.


    P.S.: My configuration contains all possible configuration
options, although many have the default value, due to the fact that I
want to have an "exact" idea of what happens behind the scenes with my
emails.  :)

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to