Hi,

you might be missing the option UseIMAPS yes. Here's my whole config
file:

MaildirStore local
Path .maildb/
Inbox .maildb/INBOX
Flatten .

IMAPStore gmail
Host imap.gmail.com
User (edited)
Pass (edited)
UseIMAPS yes

Channel gmail-local
Master :gmail:
Slave :local:
Patterns INBOX "[Gmail]/All Mail" "[Gmail]/Drafts" "[Gmail]/Trash"
MaxMessages 1000
Create Slave

Also note that due to a bug which will be solved soon, the option
MaxMessages (limiting the size of your local mailstore) only works after
the first sync. That is, isync will download all your emails
initially. Only after that it will delete the oldest ones (to make your
mailbox size = 1000). If this is inconvenient, don't sync [Gmail]/All
Mail.

Best,
A.

On Sun, Apr 21, 2013 at 3:18 PM, Andreas Herz <[email protected]> wrote:
> Hi,
>
> i want to switch to isync/mbsync from offlineimap since offlineimap
> needs too much RAM. I have 1.0.6 installed on my gentoo system and i
> have two issues:
>
> 1. Syncing a gmail account doesn't work with the login i always get:
>
> Logging in...
> Password ([email protected]@imap.gmail.com):
> IMAP command 'LOGIN <user> <pass>' returned an error: NO
> [AUTHENTICATIONFAILED] Invalid credentials (Failure)
> IMAP error: LOGIN failed
>
> The config part is:
>
> Host imap.gmail.com
> User [email protected]
> Pass 1234
>
> I found several config files on the net that got it working like these
> :/
>
> 2. I have a normal account (not gmail) and i configured it the same way
> and login works, but then i get:
>
> Logging in...
> Channel kva
> Selecting slave INBOX.Trash... 0 messages, 0 recent
> Selecting master INBOX.Trash... IMAP command 'SELECT
> "INBOX.INBOX.Trash"' returned an error: NO Mailbox doesn't exist:
> INBOX.Trash
>
> Although i used Patterns *
>
> Did i miss anything?
>
> Thanks so far.
>
> --
> Andreas Herz
>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> isync-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/isync-devel

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to