All of emails available in Roundcube but I can't see them in Outlook.
Hi,
I recently bought a new server and install everything from scratch and I set all the accounts exactly like the previous server. Create mail accounts the same as the old server with the same name and same password and move /home/account/mail/domain.ltd from the old server to the new server.
All emails are now available on the new server and I can see the all of old and new emails in the Roundcube Webmail.
But, I have a problem with the Outlook program. I add mail account to Outlook, It retrieves all sent items and other folders but can't retrieve completely Inbox folder, for example in one of my email accounts I have about 10,000 emails and I can see all of them in Roundcube Webmail but I can see only 7 of them in Outlook.
I try to reset the view setting in Outlook or delete the account and add it again in Outlook but It's not useful.
Do you think I have made mistakes in the server settings? Where can the origin of this problem be?
Thanks
-
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 -
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 -
And rsync command was as follows: rsync -avz /home/account/mail/domain.ltd root@new_server_ip:/home/account/mail/domain.ltd 0 -
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 -
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 -
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 -
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 -
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 -
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 -
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 -
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 -
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 -
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 -
I'm glad you were able to get that working! 0
Please sign in to leave a comment.
Comments
14 comments