Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: [SOLVED] About email lost

  1. #1
    Max Ma is offline Loyal Member
    Join Date
    Mar 2007
    Posts
    97
    Rep Power
    8

    Default [SOLVED] About email lost

    Dear Sir,

    I have just have a Zimbra upgrade to 4.5.7 but then I have found in the pass two days, most of the user have their email before 28th Aug have been removed for some reason.

    I am not sure what may cause the problem, still looking for the problem
    Can any one help?
    And I do have some back up aslo backup for 4.5.6 before the upgrade

  2. #2
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    Can you please do a
    su - zimbra
    zmprov getAccount (account name) | grep zimbraMailMessageLifetime

    and post the results
    Last edited by jholder; 09-29-2007 at 12:01 AM.

  3. #3
    Max Ma is offline Loyal Member
    Join Date
    Mar 2007
    Posts
    97
    Rep Power
    8

    Default message Life Time

    Dear Jholder,
    Here is the result
    All users are
    zimbraMailMessageLifetime: 2h

    What have done.
    Anyway to get the message back

  4. #4
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    Oh man-
    That's not good.

    You need to reset that value to 0.
    zmprov getAccout (account) zimbraMessageLifetime 0

    As for how that got set, I don't know. Did you do it? I got worried, and tested a 4.5.6 upgrade to 4.5.7 and it didn't happen.

    At this point the only way to get your messages back is to restore your old install, and get them out using a pop3 or IMAP client. Then restore and push the messages back.

    john

  5. #5
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    20

    Default

    Ya 2 hrs ain't a good value for the amount of time an email can remain in any folder...your loosing content by the second...
    a) might want to shutdown and provision via ldap - better that the mail just queues up on the senders servers (or on a backup mx if you have one)
    or
    b) quickly fix that attribute; I'd also recommend checking your COS values first-and see if that filters down (/reset the uses to the cos value) as it'll save you time (& time later if you ever change it again).
    user/individual cos > advanced tab > at the bottom

    Your fastest way to get operational again once you've done a/b above:
    -might as well make a full backup of the 4.5.7 so you can dig through logs & the remaining 2hrs worth of email
    -if it's not that many users & small mailbox size from the past 2hrs - fire up thunderbird (with /tb on the end of the username) and copy the recent mail to local
    (the same could be accomplished if you fired up another zcs install and imapsynced)
    -restore 4.5.6
    -upgrade 4.5.7
    -work on getting the recent mail - fire up a 2nd box with your 4.6.7 backup (or thunderbird if you had less users)

    Were you possibly trying to set the junk or trash lifetimes?
    Email message lifetime - Number of days a message can remain in any folder before it is automatically purged. The default is 0; email messages are not deleted.
    Trashed message lifetime - Number of days a message remains in the Trash folder before it is automatically purged. The default is 30 days.
    Spam message lifetime - Number of days a message can remain in the Junk folder before it is automatically purged. The default is 30 days.

    Quote Originally Posted by jholder View Post
    You need to reset that value to 0.
    zmprov getAccout (account) zimbraMessageLifetime 0
    change 'get' to 'modify' & add a 'u'

    zmprov ma user@domain.com zimbraMessageLifetime 0
    OR
    zmprov modifyAccount user@domain.com zimbraMessageLifetime 0
    Last edited by mmorse; 09-29-2007 at 12:57 AM.

  6. #6
    Max Ma is offline Loyal Member
    Join Date
    Mar 2007
    Posts
    97
    Rep Power
    8

    Default Got it

    Dear Jholder,

    thanks for your information. I am not sure who did it. Is there any way I can check from the way log.
    I will have to do the restore then.


    Many thanks

  7. #7
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    mmorse is correct. It's modify account.

    Also, since your max message lifetime is so short, I would advise you to stop zimbra, and run zmprov with the -l switch.

    If you belive this was an upgrade issue, any information you can provide about your system would be helpful.

  8. #8
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    Quote Originally Posted by Max Ma View Post
    Dear Jholder,

    thanks for your information. I am not sure who did it. Is there any way I can check from the way log.
    I will have to do the restore then.


    Many thanks
    Your mailbox.log should log admin requests of that nature. It'll have a UID next to it, but you should be able to narrow it down.

    Best of luck,
    john

  9. #9
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    20

    Default

    Quote Originally Posted by Max Ma View Post
    thanks for your information. I am not sure who did it. Is there any way I can check from the way log.
    start with: /opt/zimbra/log/audit.log & mailbox.log

    logfile list:/docs/ne/latest/administration_guide/9_Monitoring.12.1.html#1075561

    Quote Originally Posted by jholder View Post
    mmorse is correct. It's modify account.
    just keeping ya on your toes
    Last edited by mmorse; 09-29-2007 at 12:30 AM.

  10. #10
    Max Ma is offline Loyal Member
    Join Date
    Mar 2007
    Posts
    97
    Rep Power
    8

    Default

    Thanks you a lot both of yours.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: 07-19-2007, 02:00 AM
  2. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 07:46 PM
  3. upgrade to 4.0.3 antispam does'nt work
    By lucanannipieri in forum Administrators
    Replies: 14
    Last Post: 11-07-2006, 03:56 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
  •