Thank you -- this seems to have resolved my issue as well. Not sure why
* isn't working anymore, though . . .

---
dwrz|朱为文 

On 2016-11-27 14:24, David Brumley wrote:

> Hi, 
> After a bit more work, I found I was missing the following line (this email 
> is for anyone with similar problems): 
> --------------- 
> 
> AuthMechs LOGIN 
> 
> ---- 
> 
> All works now. 
> 
> Thanks! -david 
> 
> _ _ 
> _Bosch Professor of Computer Security and Privacy_ 
> _Professor of Electrical and Computer Engineering_ 
> Director, CMU CyLab Security and Privacy Institute
> 
> On Sun, Nov 27, 2016 at 6:48 AM, David Brumley <dbrum...@cmu.edu> wrote:
> 
>> Hi, 
>> I'm trying to configure mbsync with a password for gmail.  I get a SASL 
>> error: 
>> 
>> $ mbsync gmail 
>> C: 0/4  B: 0/3  M: +0/0 *0/0 #0/0  S: +0/0 *0/0 #0/0 
>> Password (gmail):  
>> Error: SASL(-7): invalid parameter supplied: Parameter Error in 
>> /BuildRoot/Library/Caches/com.apple.xbs/Sources/passwordserver_saslplugins/passwordserver_saslplugins-192/plain_clienttoken.c
>>  near line 195 
>> C: 4/4  B: 0/3  M: +0/0 *0/0 #0/0  S: +0/0 *0/0 #0/0 
>> 
>> My .mbsyncrc is below.  Anyone else run into this difficulty?  I'm running 
>> OSX 10.12.1 (Sierra) and installed isync (1.2.1) from homebrew.  
>> 
>> I searched the archives but nothing turned up. 
>> 
>> Thanks! 
>> -David 
>> 
>> _ _ 
>> 
>> # ACCOUNT INFORMATION 
>> IMAPAccount gmail 
>> Host imap.gmail.com [1] 
>> User dbrum...@gmail.com 
>> # PassCmd "security find-generic-password -s mbsync-gmail-password -w" 
>> Pass <Stuff> 
>> SSLType IMAPS 
>> CertificateFile /usr/local/etc/ssl/certs/ca-certificates.crt 
>> 
>> # THEN WE SPECIFY THE LOCAL AND REMOTE STORAGE 
>> # - THE REMOTE STORAGE IS WHERE WE GET THE MAIL FROM (E.G., THE 
>> #   SPECIFICATION OF AN IMAP ACCOUNT) 
>> # - THE LOCAL STORAGE IS WHERE WE STORE THE EMAIL ON OUR COMPUTER 
>> 
>> # REMOTE STORAGE (USE THE IMAP ACCOUNT SPECIFIED ABOVE) 
>> IMAPStore gmail-remote 
>> Account gmail 
>> 
>> # LOCAL STORAGE (CREATE DIRECTORIES with mkdir -p Maildir/gmail) 
>> MaildirStore gmail-local 
>> Path ~/Mail/Gmail-mbsync/ 
>> Inbox ~/Mail/Gmail-mbsync/INBOX 
>> 
>> # CONNECTIONS SPECIFY LINKS BETWEEN REMOTE AND LOCAL FOLDERS 
>> # 
>> # CONNECTIONS ARE SPECIFIED USING PATTERNS, WHICH MATCH REMOTE MAIl 
>> # FOLDERS. SOME COMMONLY USED PATTERS INCLUDE: 
>> # 
>> # 1 "*" TO MATCH EVERYTHING 
>> # 2 "!DIR" TO EXCLUDE "DIR" 
>> # 3 "DIR" TO MATCH DIR 
>> # 
>> # FOR INSTANCE IN THE SPECIFICATION BELOW: 
>> # 
>> # gmail-inbox gets the folder INBOX, ARCHIVE, and everything under 
>> "ARCHIVE*" 
>> # gmail-trash gets only the "[Gmail]/Trash" folder and stores it to the 
>> local "trash" folder 
>> 
>> #Channel gmail-inbox 
>> #Master :gmail-remote: 
>> #Slave :gmail-local: 
>> #Patterns "INBOX" "Arch*" 
>> #Create Both 
>> #Expunge Both 
>> #SyncState * 
>> 
>> Channel gmail-inbox 
>> Master ":gmail-remote:INBOX" 
>> Slave ":gmail-local:INBOX" 
>> Create Both 
>> SyncState * 
>> 
>> Channel gmail-trash 
>> Master :gmail-remote:"[Gmail]/Trash" 
>> Slave :gmail-local:trash 
>> Create Both 
>> Expunge Both 
>> SyncState * 
>> 
>> Channel gmail-sent 
>> Master :gmail-remote:"[Gmail]/Sent Mail" 
>> Slave :gmail-local:sent 
>> Create Both 
>> Expunge Both 
>> SyncState * 
>> 
>> Channel gmail-archive 
>> Master ":gmail-remote:[Gmail]/All Mail" 
>> Slave ":gmail-local:archive" 
>> Create Both 
>> SyncState * 
>> 
>> # GROUPS PUT TOGETHER CHANNELS, SO THAT WE CAN INVOKE 
>> # MBSYNC ON A GROUP TO SYNC ALL CHANNELS 
>> # 
>> # FOR INSTANCE: "mbsync gmail" GETS MAIL FROM  
>> # "gmail-inbox", "gmail-sent", and "gmail-trash" 
>> # 
>> Group gmail 
>> Channel gmail-inbox 
>> Channel gmail-sent 
>> Channel gmail-trash 
>> Channel gmail-archive
> 
> ------------------------------------------------------------------------------
>  
> _______________________________________________
> isync-devel mailing list
> isync-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/isync-devel
 

Links:
------
[1] http://imap.gmail.com
------------------------------------------------------------------------------
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to