Imapsync Problem

I am migrating my emails from current iPlanet to new Zimbra server. I keep getting this error when using imapsync. I can transfer mail using fetchmail but i intended to use the imapsync --syncinternaldates feature which is good.