Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 35

Thread: IMAP Sync and "received" date

  1. #11
    Arura is offline Junior Member
    Join Date
    Sep 2006
    Posts
    8
    Rep Power
    8

    Default

    Quote Originally Posted by phoenix View Post
    Which email client are you using? I've just tried it and it's working. Can you confirm the actual version of Zimbra you're using?
    I have asked support and version is: ZCS 4.0.5

  2. #12
    Arura is offline Junior Member
    Join Date
    Sep 2006
    Posts
    8
    Rep Power
    8

    Default

    Quote Originally Posted by phoenix View Post
    I suggest that you contact your provider and give them the details of your problem, they can contact Zimbra support for you. It seems (to me) that the "/tb" hack has stopped working, there is an outstanding bug entry in bugzilla here. When you contact your provider can you get them to mention whether they're using an external LDAP for authentication or whether it's Zimbra internal authentication.
    They use Zimbra Internal Authentication.

  3. #13
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,491
    Rep Power
    56

    Default

    So in your IMAP client you are putting your login information as 'username/tb' (or username@domain.com/tb) and it's failing to log you in, is that what you're saying? I've tried that with Evolution, Thunderbird and evn Outlook and the '/tb' allows me to login. Make sure that you don't have a space between your login id & the '/tb'.

    Can you confirm which client you're using? What error message are you seeing?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  4. #14
    Arura is offline Junior Member
    Join Date
    Sep 2006
    Posts
    8
    Rep Power
    8

    Default

    Quote Originally Posted by phoenix View Post
    So in your IMAP client you are putting your login information as 'username/tb' (or username@domain.com/tb) and it's failing to log you in, is that what you're saying? I've tried that with Evolution, Thunderbird and evn Outlook and the '/tb' allows me to login. Make sure that you don't have a space between your login id & the '/tb'.

    Can you confirm which client you're using? What error message are you seeing?
    With latest thunderbird.
    Login to server ****** failed.

  5. #15
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,491
    Rep Power
    56

    Default

    All I can say is that it works for me on Thunderbird 1.5 & 2beta. Is this a single account you have at this host or is there a test account I can login to? send me the detail sby PM if you want me to try a login.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #16
    Rich Graves is offline Outstanding Member
    Join Date
    Jan 2007
    Location
    Minnesota
    Posts
    718
    Rep Power
    9

    Default imapsync 1.200 broke --syncinternaldates

    At revision 1.200, imapsync was changed to use append_file() instead of append_string(). This can be a good thing; otherwise, large messages need to be duplicated in RAM as perl strings, which can be expensive. See http://www.mail-archive.com/info-cyr.../msg31356.html

    But this broke the --syncinternaldates option because Mail::IMAPClient version 2.2.9 ignores the 4th argument. Correct replication of INTERNALDATE is *critical* for migrations to Zimbra.

    The /tb flag suggested in this thread doesn't really do the right thing. If we considered Date: headers to be trustworthy, then Zimbra would just use Date: rather than INTERNALDATE. (Although I must say, there are times that I wish it did, or at least that I could choose when searching/sorting.)

    The best fix would be to change the behavior of append_file() in Mail::IMAPClient, which doesn't seem to have been maintained since 2003, to accept and act on the same arguments as append_string(). Alternatively, undo the imapsync 1.199->1.200 change and use append_string(), and make sure you have lots of RAM on the imapsync host.

  7. #17
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,491
    Rep Power
    56

    Default

    Thanks for that information, very interesting. Now, I wonder if there's any coders up for the challenge.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #18
    marcdm is offline Junior Member
    Join Date
    Jan 2007
    Posts
    6
    Rep Power
    8

    Talking imapsync modified

    I downloaded the latest imapsync (version 1.204) and modified it to use append_string so that --syncinternal dates would work properly.

    Lines 1123 to 1132 are as below.

    Code:
    unless ($dry) {
    	my $mmstr = file_to_string($message_file);
    	unless($new_id = $to->append_string($t_fold,$mmstr, $flags_f, $d)){
    	#unless($new_id = $to->append_file($t_fold, $message_file, $flags_f, $d)){
    		warn "Couldn't append msg #$f_msg (Subject:[".$from->subject($f_msg)."]) to folder $t_fold: ",
    					  $to->LastError, "\n";
    		$error++;
    		$mess_size_total_error += $f_size;
    		next MESS;
    The change is the introduction of the $mmstr variable and the use of $to->append_string instead of $to->append_file (commented out)

    Warning : This will use more RAM per message but it syncs the internal dates properly.

  9. #19
    RJB
    RJB is offline Member
    Join Date
    Jan 2007
    Location
    Netherlands
    Posts
    13
    Rep Power
    8

    Default

    Perfect .... it works

    Also other flags are now good.
    Like read/unread and zimbra-tags.
    Last edited by RJB; 01-20-2007 at 07:25 PM.

  10. #20
    bobby is offline Zimbra Employee
    Join Date
    Nov 2005
    Posts
    518
    Rep Power
    10

    Default

    can't you just uncomment the append_string line that's already there?

    Code:
    #unless($new_id = $to->append_string($t_fold,$string, $flags_f, $d)){
    unless($new_id = $to->append_file($t_fold, $message_file, $flags_f, $d)){

Page 2 of 4 FirstFirst 1234 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to display time and date in "Received" column
    By celeron in forum Administrators
    Replies: 3
    Last Post: 01-28-2009, 02:26 AM

Posting Permissions

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