Results 1 to 4 of 4

Thread: Recover the mail after the crash HDD

  1. #1
    MrSnaKe is offline Intermediate Member
    Join Date
    Aug 2009
    Posts
    20
    Rep Power
    5

    Question Recover the mail after the crash HDD

    Hello,

    I have the crashed HDD with installed ZCS. After fsck I have next:
    Code:
        4 -r--r--r--  1 zimbra     zimbra           3105 2009-09-12 03:01 #10092577
         8 -r--r--r--  1 zimbra     zimbra           7137 2009-09-12 03:01 #10092578
        12 -r--r--r--  1 zimbra     zimbra           9130 2009-09-12 03:01 #10092579
         4 -r--r--r--  1 zimbra     zimbra           3641 2009-09-12 03:01 #10092580
        12 -r--r--r--  1 zimbra     zimbra           9664 2009-09-12 03:01 #10092581
         8 -r--r--r--  1 zimbra     zimbra           8087 2009-09-12 03:01 #10092582
        76 -r--r--r--  1 zimbra     zimbra          71962 2009-09-12 03:01 #10092583
         4 -r--r--r--  1 zimbra     zimbra            661 2009-09-12 03:01 #10092584
        16 -r--r--r--  1 zimbra     zimbra          14533 2009-09-12 03:01 #10092585
         4 -r--r--r--  1 zimbra     zimbra           3752 2009-09-12 03:01 #10092586
         4 -r--r--r--  1 zimbra     zimbra           1755 2009-09-12 03:01 #10092587
         8 -r--r--r--  1 zimbra     zimbra           4341 2009-09-12 03:01 #10092588
         4 -r--r--r--  1 zimbra     zimbra           1246 2009-09-12 03:01 #10092589
         8 -r--r--r--  1 zimbra     zimbra           7574 2009-09-12 03:01 #10092590
         4 -r--r--r--  1 zimbra     zimbra            679 2009-09-12 03:01 #10092591
    I think I found the mail this
    Code:
    total 560
    drwxr-x---  98 zimbra zimbra   4096 2009-11-19 09:05 .
    drwx------ 785 root   root   172032 2009-11-22 10:46 ..
    drwxr-x---   3 zimbra zimbra   4096 2009-07-07 01:11 1
    drwxr-x---   3 zimbra zimbra   4096 2009-07-07 11:53 10
    drwxr-x---   3 zimbra zimbra   4096 2009-10-21 03:28 102
    drwxr-x---   3 zimbra zimbra   4096 2009-10-26 07:34 104
    drwxr-x---   3 zimbra zimbra   4096 2009-10-26 08:28 105
    drwxr-x---   3 zimbra zimbra   4096 2009-11-11 03:30 108
    drwxr-x---   3 zimbra zimbra   4096 2009-11-16 03:59 109
    drwxr-x---   3 zimbra zimbra   4096 2009-07-08 03:09 11
    drwxr-x---   3 zimbra zimbra   4096 2009-11-17 10:40 110
    drwxr-x---   3 zimbra zimbra   4096 2009-11-19 06:35 111
    drwxr-x---   3 zimbra zimbra   4096 2009-11-19 09:05 112
    for example
    Code:
    root@mail:/mount/rec/lost+found/#10338790/1/index/0# more _0.cfs
    From MAILER-DAEMON Wed Oct 21 00:52:15 2009
    Return-path: <>
    Envelope-to: root@mail.airbites.net.ua
    Delivery-date: Wed, 21 Oct 2009 00:52:15 +0300
    Received: from Debian-exim by mail.xxxxx.xxx.ua with local (Exim 4.69)
    	id 1N0Mcp-00027R-Rk
    	for root@mail.xxxxx.xxx.ua; Wed, 21 Oct 2009 00:52:15 +0300
    X-Failed-Recipients: tarasikt@xx.xx
    Auto-Submitted: auto-replied
    From: Mail Delivery System <Mailer-Daemon@mail.xxxxx.xxx.ua>
    To: root@mail.xxxxx.xxx.ua
    Subject: Mail delivery failed: returning message to sender
    Message-Id: <E1N0Mcp-00027R-Rk@mail.xxxxx.xxx.ua>
    Date: Wed, 21 Oct 2009 00:52:15 +0300
    also I found this
    Code:
    root@mail:/mount/rec/lost+found/#10338796# ls -la
    total 500
    drwxr-x---  82 zimbra zimbra   4096 2009-11-19 09:54 .
    drwx------ 785 root   root   172032 2009-11-22 10:46 ..
    drwxr-x---   3 zimbra zimbra   4096 2009-07-07 01:11 1
    drwxr-x---   3 zimbra zimbra   4096 2009-07-07 11:53 10
    drwxr-x---   3 zimbra zimbra   4096 2009-10-22 07:07 100
    drwxr-x---   3 zimbra zimbra   4096 2009-10-21 03:27 101
    drwxr-x---   3 zimbra zimbra   4096 2009-10-22 06:23 102
    drwxr-x---   3 zimbra zimbra   4096 2009-10-22 07:52 103
    drwxr-x---   3 zimbra zimbra   4096 2009-11-11 03:37 108
    drwxr-x---   3 zimbra zimbra   4096 2009-11-16 04:00 109
    drwxr-x---   3 zimbra zimbra   4096 2009-07-09 06:26 11
    drwxr-x---   3 zimbra zimbra   4096 2009-11-17 10:41 110
    -rwxr-xr-x   1 root   root     1969 2008-05-14 10:39 112
    and
    Code:
    root@mail:/mount/rec/lost+found/#10338796/10/msg/0# ls -la
    total 107996
    drwxr-x---  4 zimbra  zimbra      36864 2009-11-21 12:10 .
    drwxr-x---  3 zimbra  zimbra       4096 2009-07-07 11:53 ..
    -rw-r-----  1 zimbra  zimbra       3721 2009-09-30 05:48 1000-5044.msg
    -rw-r-----  1 zimbra  zimbra      13953 2009-09-30 07:04 1001-5046.msg
    -rw-r-----  1 zimbra  zimbra       5699 2009-09-30 08:25 1002-5051.msg
    -rw-r-----  1 zimbra  zimbra       3493 2009-09-30 16:33 1006-5067.msg
    -rw-r--r--  1 root    root          555 2007-12-03 07:36 1007-5071.msg
    -rw-r-----  1 zimbra  zimbra     346635 2009-09-30 20:02 1008-5073.msg
    -rw-r-----  1 zimbra  zimbra      19428 2009-10-01 01:04 1009-5079.msg
    -rw-r-----  1 zimbra  zimbra      15354 2009-10-01 01:34 1010-5080.msg
    -rw-r-----  1 zimbra  zimbra       3117 2009-10-01 02:12 1011-5082.msg
    -rw-r-----  1 zimbra  zimbra      34273 2009-10-01 04:16 1014-5088.msg
    -rw-r-----  1 zimbra  zimbra      35677 2009-10-01 04:20 1015-5089.msg
    -rw-r-----  1 zimbra  zimbra       3946 2009-10-01 07:58 1018-5097.msg
    -rw-r-----  1 zimbra  zimbra       6560 2009-10-01 15:05 1022-5111.msg
    and

    Code:
    root@mail:/mount/rec/lost+found/#10338796/10/msg/0# more 1000-5044.msg
    Return-Path: ncc-announce-admin@ripe.net
    Received: from mail.xxxxx.xxx.ua (LHLO mail.airbites.net.ua)
     (79.124.111.6) by mail.xxxxx.xxx.ua with LMTP; Wed, 30 Sep 2009 12:48:40
     +0300 (EEST)
    Received: from localhost (localhost [127.0.0.1])
    	by mail.xxxxx.xxx.ua (Postfix) with ESMTP id ADD4B13F012D
    	for <andrij.xxxxx@xxxxx.xxx.ua>; Wed, 30 Sep 2009 12:48:40 +0300 (EEST)
    Now I already have installed ZCS into another HHD and the question how I can restore the letters from this crashed HDD to new server?
    Last edited by MrSnaKe; 11-25-2009 at 03:02 AM.

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,504
    Rep Power
    57

    Default

    Quote Originally Posted by MrSnaKe View Post
    Now I already have installed ZCS into another HHD and the question how I can restore the letters from this crashed HDD to new server?
    Search the forums and/or wiki for the word zmlmtpinject - you'll find a script in the forums that will set the dates correctly for the recovered email.

    Please update your forum profile with the output of the following command (do not post it in this thread):
    Code:
    zmcontrol -v
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    MrSnaKe is offline Intermediate Member
    Join Date
    Aug 2009
    Posts
    20
    Rep Power
    5

    Question

    root@mail:/home/snake/mail/#10338796/1/msg/0# /opt/zimbra/bin/zmlmtpinject -s alex.yurkovsky /home/snake/mail/#10338796/1/msg/0/* -r alex.yurkovsky@xxxxx.xxx.ua
    /home/snake/mail/#10338796/1/msg/0/258-6.msg does not contain a valid RFC 822 message.
    /home/snake/mail/#10338796/1/msg/0/259-7.msg does not contain a valid RFC 822 message.
    /home/snake/mail/#10338796/1/msg/0/260-8.msg does not contain a valid RFC 822 message.
    /home/snake/mail/#10338796/1/msg/0/261-9.msg does not contain a valid RFC 822 message.
    /home/snake/mail/#10338796/1/msg/0/262-10.msg does not contain a valid RFC 822 message.
    /home/snake/mail/#10338796/1/msg/0/263-11.msg does not contain a valid RFC 822 message.
    /home/snake/mail/#10338796/1/msg/0/264-12.msg does not contain a valid RFC 822 message.
    /home/snake/mail/#10338796/1/msg/0/265-13.msg does not contain a valid RFC 822 message.
    /home/snake/mail/#10338796/1/msg/0/266-14.msg does not contain a valid RFC 822 message.
    /home/snake/mail/#10338796/1/msg/0/267-15.msg does not contain a valid RFC 822 message.
    /home/snake/mail/#10338796/1/msg/0/268-16.msg does not contain a valid RFC 822 message.
    /home/snake/mail/#10338796/1/msg/0/269-17.msg does not contain a valid RFC 822 message.
    /home/snake/mail/#10338796/1/msg/0/270-18.msg does not contain a valid RFC 822 message.
    /home/snake/mail/#10338796/1/msg/0/271-19.msg does not contain a valid RFC 822 message.
    /home/snake/mail/#10338796/1/msg/0/272-20.msg does not contain a valid RFC 822 message.
    /home/snake/mail/#10338796/1/msg/0/273-21.msg does not contain a valid RFC 822 message.
    /home/snake/mail/#10338796/1/msg/0/274-22.msg does not contain a valid RFC 822 message.
    /home/snake/mail/#10338796/1/msg/0/275-23.msg does not contain a valid RFC 822 message.
    /home/snake/mail/#10338796/1/msg/0/276-24.msg does not contain a valid RFC 822 message.
    No files to inject.
    root@mail:/home/snake/mail/#10338796/1/msg/0#

    Can you help me with a man page for a zmlmtpinject?
    Release 6.0.2_GA_1912.UBUNTU8_64 UBUNTU8_64 FOSS edition.

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,504
    Rep Power
    57

    Default

    You can search the forums for some further information or this article or even:

    Code:
    zmlmtpinject --help
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 15
    Last Post: 11-19-2009, 12:16 AM
  2. Messages not being delivered
    By buee in forum Administrators
    Replies: 53
    Last Post: 10-23-2009, 10:28 AM
  3. Replies: 30
    Last Post: 01-13-2009, 08:00 AM
  4. server dropped connection
    By ferra in forum Installation
    Replies: 20
    Last Post: 10-06-2008, 04:32 PM
  5. zmamavisdctl stopped and won't restart
    By alto in forum Installation
    Replies: 2
    Last Post: 04-18-2008, 12:41 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
  •