Skip to main content

All of emails available in Roundcube but I can't see them in Outlook.

Comments

14 comments

  • cPRex Jurassic Moderator
    Hey there! When you moved the files to the new server, did you use rsync? You may want to check the files and folder structure of the mail directories to ensure they have the correct ownership and permissions.
    0
  • vahidmoghadam
    Yes, moved them with rsync and run chown -R user:user /home/account/mail/domain.ltd after it. This is very confusing because I can see all of the emails in the Roundcube Webmail. And one thing I forgot to say is The mobile version of the Outlook application word correctly and retrieves all emails.
    0
  • vahidmoghadam
    And rsync command was as follows: rsync -avz /home/account/mail/domain.ltd root@new_server_ip:/home/account/mail/domain.ltd
    0
  • cPRex Jurassic Moderator
    If the mobile version of Outlook and Roundcube works, it sounds like an issue with that particular desktop version. Could you try something like Thunderbird to see if that also works properly on the desktop?
    0
  • vahidmoghadam
    I really want to cry... I tried with the Thunderbird and worked correctly. There is a problem with the Outlook Desktop. I tried from three other computers and there is the same problem. It may be from the Outlook cache. I really don't know what to do. Do you have any ideas?
    0
  • cPRex Jurassic Moderator
    I'm not sure why Thunderbird would work correctly but Outlook would have issues across multiple machines. Do you see anything useful in /var/log/maillog when you try to connect with Outlook?
    0
  • vahidmoghadam
    Can not see any error in the log file. Actually, there is a problem with IMAP. I try to add the mail account in POP3 and its works correctly. I just have a problem with the mail account in Outlook in IMAP.
    0
  • vahidmoghadam
    Now I get this line in the maillog: Aug 2 22:36:31 cloud dovecot[11674]: imap(user@domain.ltd)<26246>: Disconnected: FETCH failed in=200, out=383917, bytes=200/383917
    0
  • vahidmoghadam
    imap(user@domain.ltd)<26246>: Error: Mailbox INBOX: Deleting corrupted cache record uid=27202: UID 27202: Broken virtual size in mailbox INBOX: read(/home/account/mail/domain.ltd/user/cur/1690775060.M202194P16414.NAMESERVER,S=377259,W=3822772,): FETCH BODY[] got too little data: 382277 vs 3822772
    0
  • cPRex Jurassic Moderator
    That seems like normal log entries, and wouldn't be related to the IMAP issue. I would first ensure that all IMAP ports you are trying to use are open in the firewall and you are able to connect to them through a basic telnet test.
    0
  • vahidmoghadam
    imap(user@domain.ltd)<28333>: Error: Mailbox INBOX: Deleting corrupted cache record uid=10047: UID 10047: Broken virtual size in mailbox INBOX: read(/home/account/mail/domain.ltd/user/cur/1690775060.M202194P16414.SERVERNAME,S=377259,W=3822772,:2,S): FETCH BODY[] got too little data: 382277 vs 3822772 Is it normal log? I think there is no problem with ports because other users can fetch all of the emails on their outlook imap.
    0
  • vahidmoghadam
    Turns out that a number of emails were corrupt which caused issues. After removing these, it appears the issue was resolved. for example this file in previous reply ( 1690775060.M202194P16414.SERVERNAME,S=377259,W=3822772,:2,S ) corrupted. When I remove it Outlook starts to retrieve all emails. Thanks for your kindly helping. cPRex, Do you have any idea about fixing these files?
    0
  • vahidmoghadam
    cPRex, Thank you very much for your cooperation and for helping me to find a solution to this problem. I resolve this problem with rename the corrupted files and as a result, Outlook worked correctly and retrieved all of the emails. for example, this is one of the corrupted files: 1690775060.M202194P16414.SERVERNAME,S=377259,W=3822772,:2,S actually, the weight of this file (W) is 382277 but while of transfer (I don't know how) this file was renamed to W=3822772 (added a 2 at the end of this number), I removed 2 from the end of this number, and renamed it and solved the problem. Thanks again, have a good one ;)
    0
  • cPRex Jurassic Moderator
    I'm glad you were able to get that working!
    0

Please sign in to leave a comment.