hi there,
what if i want to restore only one email a/c out of many. The user accidentally deleted his emails.. but i managed to find a month old backup of the full website.. with the mail folder... if i restore all emails then other users will have an issue.. so only 1 email needs to be restored.
i have tried the following but no luck so far.
1. deleted the particular email a/c for example sake
[email protected]
2. recreated the email id
3. uploaded the zip file of sam located in mail/domainname.net folder from old backup to the current server and extracted the file.
tried to access email via webmail but no luck.. webmail is blank in Horde.
roundcube shows an error.
Got this error when tried to go to settings and tried to get the size of the folder. it does show a count of no of messages but nothing more.
Template::Exception:
[TYPE]=[undef]
[INFO]=[Mailboxes::get_mailbox_status_list(HASH(0x246aab0)) failed: “/usr/bin/doveadm” ended prematurely because it received the “ABRT” (6) signal: doveadm(
[email protected]): Error: Mailbox INBOX: UID=7270: read(/home/domainname/mail/domainname.net/sam/cur/1547211362.M545052P24749.web-de-1.server.com,S=231864,W=234890_2,S) failed: Cached message size smaller than expected (231864 < 234890, box=INBOX, UID=7270) (read reason=mail stream)
doveadm(
[email protected]): Error: Corrupted record in index cache file /home/domainname/mail/domainname.net/sam/dovecot.index.cache: UID 7270: Broken physical size in mailbox INBOX: read(/home/domainname/mail/domainname.net/sam/cur/1547211362.M545052P24749.web-de-1.server.com,S=231864,W=234890_2,S) failed: Cached message size smaller than expected (231864 < 234890, box=INBOX, UID=7270)
doveadm(
[email protected]): Panic: file istream.c: line 315 (i_stream_read_memarea): assertion failed: (old_size <= _stream->pos - _stream->skip)
doveadm(
[email protected]): Error: Raw backtrace: /usr/lib64/dovecot/libdovecot.so.0(+0xdf61a) [0x7fce6734e61a] -> /usr/lib64/dovecot/libdovecot.so.0(+0xdf6c1) [0x7fce6734e6c1] -> /usr/lib64/dovecot/libdovecot.so.0(+0x401f1) [0x7fce672af1f1] -> /usr/lib64/dovecot/libdovecot.so.0(i_stream_read_memarea+0x2fd) [0x7fce6735b2dd] -> /usr/lib64/dovecot/libdovecot.so.0(i_stream_read+0x31) [0x7fce6735b591] -> /usr/lib64/dovecot/libdovecot.so.0(i_stream_read_data+0x52) [0x7fce6735b952] -> /usr/lib64/dovecot/libdovecot.so.0(message_get_body_size+0xa9) [0x7fce67334789] -> /usr/lib64/dovecot/libdovecot-storage.so.0(index_mail_init_stream+0x12f) [0x7fce676c1a5f] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0x7458c) [0x7fce6767458c] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mail_get_stream_because+0x61) [0x7fce6763f2a1] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0x74f08) [0x7fce67674f08] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mail_get_virtual_size+0x30) [0x7fce6763eb80] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0xc28ba) [0x7fce676c28ba] -> /usr/lib64/dovecot/libdovecot-storage.so.0(index_mailbox_get_virtual_size+0x49) [0x7fce676c2f69] -> /usr/lib64/dovecot/libdovecot-storage.so.0(index_mailbox_get_metadata+0x353) [0x7fce676cbba3] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0x77680) [0x7fce67677680] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0xaefdf) [0x7fce676aefdf] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mailbox_get_metadata+0x71) [0x7fce6764e2d1] -> /usr/bin/doveadm(+0x33ca7) [0x7fce67ff2ca7] -> /usr/bin/doveadm(+0x2b9b2) [0x7fce67fea9b2] -> /usr/bin/doveadm(+0x2bbfc) [0x7fce67feabfc] -> /usr/bin/doveadm(doveadm_cmd_ver2_to_mail_cmd_wrapper+0x1e8) [0x7fce67fec208] -> /usr/bin/doveadm(doveadm_cmd_run_ver2+0x512) [0x7fce67ffc8f2] -> /usr/bin/doveadm(doveadm_cmd_try_run_ver2+0x37) [0x7fce67ffc997] -> /usr/bin/doveadm(main+0x21a) [0x7fce67fff5ca] -> /lib64/libc.so.6(__libc_start_main+0x100) [0x7fce66c75d20] -> /usr/bin/doveadm(+0x1c1d9) [0x7fce67fdb1d9]
]
[TEXT]=[]
at cpanel.pl line 1078.
cpanel::cpanel::cptt_exectag("/usr/local/cpanel/base/frontend/paper_lantern/mail/manage_dis"..., 1) called at cpanel.pl line 4411
cpanel::cpanel::run_standard_mode() called at cpanel.pl line 879
cpanel::cpanel::script("cpanel::cpanel", "-webmail", "./webmail/paper_lantern/mail/manage_disk_usage/index.html.tt") called at cpanel.pl line 322