The isync-git package for Archlinux has already updated, and I'm having
a bit of trouble with local authentication with my local dovecot server.
I've looked at the recent commits, and made most of the changes, but am
still getting stuck. Here's an account, with the old config directives
commented out, and the new ones put in. Both remote and local servers
are connecting just fine, but I'm not authentically correctly with the
local dovecot server.

IMAPAccount pr
Host imap.gmail.com
User [email protected]
PassCmd "/usr/bin/pass email/pr"
#UseIMAPS yes
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt

IMAPAccount local-pr-dovecot
#RequireSSL no
SSLType None
Host localhost
User [email protected]
Pass ThisIsMyPassword
#UseIMAPS no
#UseTLSV1 no

I don't care that much about security on my local machine, so I'm using
the PLAIN auth mechanism. This worked fine until today's update. From my
dovecot.conf:

ssl = no
disable_plaintext_auth = no
auth_verbose = yes
auth_mechanisms = plain

>From /etc/dovecot/passwd:

[email protected]:{PLAIN}ThisIsMyPassword

The output of "mbsync -V -D"

S: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE 
AUTH=PLAIN] Dovecot ready.
S: >>> 1 AUTHENTICATE PLAIN ZXJpY0BwYXBlci1yZXB1YmxpYy5vcmcAZXJpYwBQUndvcms=
M: * OK Gimap ready for requests from 111.199.236.186 g10mb213891471pac
M: >>> 1 CAPABILITY
S: 1 NO [AUTHENTICATIONFAILED] Authentication failed.
IMAP command 'AUTHENTICATE PLAIN 
ZXJpY0BwYXBlci1yZXB1YmxpYy5vcmcAZXJpYwBQUndvcms=' returned an error: NO 
[AUTHENTICATIONFAILED] Authentication failed.
M: * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN 
X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH AUTH=XOAUTH2 AUTH=PLAIN 
AUTH=PLAIN-CLIENTTOK
EN                                                                              
                                                                          
M: 1 OK Thats all she wrote! g10mb213891471pac
M: >>> 2 AUTHENTICATE PLAIN 
ZXJpY0BwYXBlci1yZXB1YmxpYy5vcmcAZXJpYwBTdW96aHV6aTE5Nzg=
M: * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN 
X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE ENABLE MOVE CONDSTORE ESEARCH UTF8=ACCEPT
M: 2 OK [email protected] authenticated (Success)
M: >>> 3 NAMESPACE
M: * NAMESPACE (("" "/")) NIL NIL
M: 3 OK Success
M: >>> 4 LOGOUT
M: * BYE LOGOUT Requested
M: 4 OK 73 good day (Success)

Is my local plain password "ThisIsMyPassword" getting turned into
"ZXJpY0BwYXBlci1yZXB1YmxpYy5vcmcAZXJpYwBTdW96aHV6aTE5Nzg=" somehow?

Thanks for any hints!

Eric


------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to