The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Mail files corruption

Discussion in 'E-mail Discussions' started by silversurfer, Aug 17, 2004.

  1. silversurfer

    silversurfer Well-Known Member

    Joined:
    Dec 29, 2002
    Messages:
    274
    Likes Received:
    0
    Trophy Points:
    18
    Hi

    Is there anyway to repair the corrupted mail stored files, instead of recreating it? Unfortunately clients have hundreds of emails in their webmail and won't take kindly to removal of all their emails or just downloading a single stored email file which is just hard to use.

    Any suggestions?

    Thanks.
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    What makes you think there is mail corruption?
     
  3. silversurfer

    silversurfer Well-Known Member

    Joined:
    Dec 29, 2002
    Messages:
    274
    Likes Received:
    0
    Trophy Points:
    18
    Well, recreating the files works. And that's what the cPanel support tech says. But what caused it is another issue of course.
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Ah, OK. It is possible to get corrupted email headers that can upset mailbox files. Often it is enough to delete the troublesome email using mail in the form:

    mail -f /home/username/domain.com/mailbox/inbox

    Then have fun with the command line in that app :eek: Make sure you look at the help.
     
  5. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,381
    Likes Received:
    23
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    I use mutt, the same syntax:

    mutt -f /home/username/domain.com/mailbox/inbox
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I'd never tried mutt before - much nicer than mail :eek:
     
Loading...

Share This Page