[SOLVED] To: Column displays Sender rather than Recipient
I'm planning a migration from cyrus imap to Zimbra, and have been fine tuning imapsync to work with our scenario. I've got it working well with one hitch: when viewing the Sent folder in either the Zimbra web client or Zimbra Desktop, the To column displays my name, rather than the name of the message's recipient. The message itself lists the correct data in the From: and To: fields, and when I do a Show Original, the From: and To: fields are also correct.
I'm using the following imapsync command for Sent messages in order to reconcile the folder names between the two systems:
imapsync --buffersize 8192000 --nosyncacls --subscribe --syncinternaldates --nofoldersizes --skipsize --host1 cyrus.mycompany.com --user1 testuser--passfile1 /home/testuser/pfile --authmech1 PLAIN --folderrec "Sent Items" --prefix1 "Sent Items" --host2 zimbra.mycompany.com --user2 testuser--passfile2 /home/testuser/pfile2 --authmech2 PLAIN --prefix2 "Sent" --useheader Message-ID
Any ideas would be much appreciated.
Delete and resync that folder
I still think it's a bug. It's also the kind of thing that makes me do test migrations first.
If I were you I'd just delete everything on the new server in the Sent foldesr that predates your imapsync, and then imapsync again, only running on that folder. Limiting the sync to just the sent messages should mean a sync that runs in an acceptable amount of time. You'll have to tweak the regexmess I posted to something that fits your situation, of course. Test on a single account, rather than 175!