Email account can't sync emails to client

m.eid

Well-Known Member
Jun 4, 2014
54
7
83
Jordan
cPanel Access Level
Root Administrator
Twitter
Hi,
I've transferred email account from a server to other and transfer the emails manually "cur file", after that I've installed these accounts (actually 4 accounts) into outlook 2016, all of them worked well and downloaded the emails as previous, but one of them stopped sync the emails and even if new email revived it finished send/receive process and nothing shown in inbox, I've installed it at mobile and same issue, no new emails received just from this account while others work very well, I've check the webmail and it has all emails revived well.
I have tried to initial quotas (since I've reset the quota after transferring emails) and checked for permission issues, but nothing solved the issue, finally I've tried to check maillog file and found the following, couldn't identify the issue or the reason, what do you suggest?
Code:
Apr 27 01:42:27 hs01 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=92.253.18.5, lip=x.x.x.x, mpid=16771, session=<4DonpnaHUxhc/RIF>
Apr 27 01:42:29 hs01 dovecot: imap([email protected])<16771><4DonpnaHUxhc/RIF>: Error: zlib.read(/home/tawheed/mail/example.com/m.eid/cur/1556198380.M644505P12824.hs01.example.com,S=22592946:2,): unexpected EOF at 11806100
Apr 27 01:42:29 hs01 dovecot: imap([email protected])<16771><4DonpnaHUxhc/RIF>: Error: Mailbox INBOX: UID=1314: read(zlib(/home/tawheed/mail/example.com/m.eid/cur/1556198380.M644505P12824.hs01.example.com,S=22592946:2,)) failed: read(/home/tawheed/mail/example.com/m.eid/cur/1556198380.M644505P12824.hs01.example.com,S=22592946:2,) failed: zlib.read(/home/tawheed/mail/example.com/m.eid/cur/1556198380.M644505P12824.hs01.example.com,S=22592946:2,): unexpected EOF at 11806100 (read reason=mail stream)
Apr 27 01:42:29 hs01 dovecot: imap([email protected])<16771><4DonpnaHUxhc/RIF>: FETCH failed: Internal error occurred. Refer to server log for more information. [2019-04-27 01:42:29] in=356, out=1530, bytes=356/1530
Apr 27 01:42:30 hs01 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=92.253.18.5, lip=x.x.x.x, mpid=16775, session=<S1NXpnaHVhhc/RIF>
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello @m.eid,

Can you provide more information about the specific steps you took to manually transfer the email data from another server?

Thank you.
 

m.eid

Well-Known Member
Jun 4, 2014
54
7
83
Jordan
cPanel Access Level
Root Administrator
Twitter
Hello @m.eid,

Can you provide more information about the specific steps you took to manually transfer the email data from another server?

Thank you.
I've compressed cur directory in the old server for each account within /home/mail/domain.com/account/cur
After that, I've downloaded it and uploaded it to the new server (where I've created the same mail accounts) and upload the files within the old cur directory to the new one by ftp client software, after that I've removed the maildirsize file and reset the quota (all quota working well) .
Finally, went to email section in WHM and repair the permissions.
All of accounts work well except this account, have nothing different that others.
 

m.eid

Well-Known Member
Jun 4, 2014
54
7
83
Jordan
cPanel Access Level
Root Administrator
Twitter
Update: I've tried to navigate the email through webmail, where everything working well, and as usual read emails and remove unwanted emails, suddenly everything work well after removing noted email files in the log above!!
Is it a usual issue when alerting for error to a file there to prevent all emails from synchronizing?
It has happened just for one account from about 90 accounts!