On Tue, Oct 21, 2014 at 06:00:17PM +0800, Eric Abrahamsen wrote:
> What I just noticed is that the authenticate string that isync is
> sending to dovecot:
> 
> ZXJpY0BwYXBlci1yZXB1YmxpYy5vcmcAZXJpYwBQUndvcms=
> 
> Which is being rejected, is the correct string *minus* the null
> characters. Ie isync is sending the results of 
> 
> echo -en "[email protected]" | base64
> 
> while what works with dovecot is:
> 
> echo -en "\[email protected]\0PRwork" | base64

 Тhe last string evaluates to "AGVyaWNAcGFwZXItcmVwdWJsaWMub3JnAFBSd29yaw==".

 The first ZXJpY0BwYXBlci1yZXB1YmxpYy5vcmcAZXJpYwBQUndvcms= is decoded to

   [email protected] \0 eric \0 PRwork

 This string is evidently different to "\[email protected]\0PRwork".
 So the original strings (and their base64 forms, of cause) are different.

 Then, look for PassCmd description in man page. I suspect your script
 produces irrelevant data.
-- 
 Eugene Berdnikov

------------------------------------------------------------------------------
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