Results 1 to 7 of 7

Thread: [SOLVED] To: Column displays Sender rather than Recipient

  1. #1
    jtosburn is offline Junior Member
    Join Date
    May 2011
    Posts
    5
    Rep Power
    4

    Default [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.

    -Joel

  2. #2
    jtosburn is offline Junior Member
    Join Date
    May 2011
    Posts
    5
    Rep Power
    4

    Default

    Anyone? I tried to reindex the mailbox, but that has no apparent effect. Nor does deleting the messages and re-running imapsync.

    I'm pulling out my hair, here!
    -Joel

  3. #3
    jtosburn is offline Junior Member
    Join Date
    May 2011
    Posts
    5
    Rep Power
    4

    Default

    OK, I figured out what's going on: my test Zimbra machine is hosting users at user@subdomain.domain.com, but the mail being migrated is from user@domain.com. To Zimbra, they are (correctly) two different users.

    Then, for whatever reason, Zimbra does not get the recipients from the mail in the Sent folder for its display in the "To" column as one might think. Instead, it seems to just display the first email address that does not belong to the account owner.

    If I access the mail store via Thunderbird / imap, then the Sent folder's "To" column displays the actual recipients. This is what I would expect of Zimbra, too. No matter who sent an email, they are still not the recipients!

    To me, it's a bug. One workaround is to append the following to the imapsync command:

    --regexmess 's/user\@domain/user\@subdomain\.domain/g'

    -Joel

  4. #4
    PhD
    PhD is offline Senior Member
    Join Date
    Jun 2011
    Posts
    68
    Rep Power
    4

    Default

    is there any way to fix this post sync? - i just finished syncing 200gb of mail and 175 users to find this problem...

    the user's account is user@domain.com
    but their "sending address" on the old system was full.name@domain.com - which on the zimbra server, that fullname alias was added to the user account after doing the imapsync... this is an annoying "feature"

  5. #5
    jtosburn is offline Junior Member
    Join Date
    May 2011
    Posts
    5
    Rep Power
    4

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

    Joel

  6. #6
    PhD
    PhD is offline Senior Member
    Join Date
    Jun 2011
    Posts
    68
    Rep Power
    4

    Default

    Yeh I tried that afterwards on a small account. I added the full.name@ alias then imapsync'd and it worked as expected. I think what I'll do is just take each person who complains and do it as it comes. But it would be good if you could reindex the sent folder after syncing the old data so it can recreate the meta data in the db correctly. I don't have time to delete 175 sent folders and resync that folder only...

  7. #7
    jtosburn is offline Junior Member
    Join Date
    May 2011
    Posts
    5
    Rep Power
    4

    Default

    Well, doing them one at a time takes a lot longer than a simple shell script.

    By far the best would be for the Zimbra folks to just fix the client such that it displays the address in the To: field in the message header, actually in the To: column. Not exactly rocket science.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: 01-20-2011, 01:11 PM
  2. Replies: 0
    Last Post: 01-16-2011, 09:07 PM
  3. From Column displays "step 3."
    By Mike Scholes in forum Users
    Replies: 3
    Last Post: 01-04-2008, 08:03 AM
  4. Problem with meeting invitations
    By denisb in forum Zimbra Connector for Outlook
    Replies: 7
    Last Post: 08-03-2007, 01:11 PM
  5. None of your e-mail accounts could send to this recipient.
    By BarrySDCA in forum Zimbra Connector for Outlook
    Replies: 2
    Last Post: 05-25-2006, 05:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •