1

We have a centOS 5.6 with sendmail configured. We have quite a few email accounts which receive hundreds of emails a day. We have one particular account with thousdands of emails withint in, but we're unable to access it. It times out. I want to know if there is a way for me to access that account and export all of the emails out of this account so that we can start accessing it again. As of now, we're unable to and emails keep piling up.

1 Answer 1

1

The default installation delivers mail messages to /var/spool/mail/${USER}; that is a simple mbox-formatted text file. You can mv this file or simply rm it to clear the existing messages.

7
  • thanks, i looked at the size of this mailbox and its 2.6GB. It has 2.7 million emails. Its huge. Can you please give me exact command on how to move emails out of this? We need to keep all these emails. By the way, i have no knowledge of linux.
    – Seth
    Jan 7, 2013 at 15:45
  • How do you want to keep the mails? You could use Thunderbird to access the mails in the mbox file and export them if needed.
    – chewbakka
    Jan 7, 2013 at 15:56
  • I tried to use Thunderbird, but it keeps timing out.
    – Seth
    Jan 7, 2013 at 16:16
  • you could try the suggestions in this link, especially splitting the mbox file. kb.mozillazine.org/Edit_large_mbox_files
    – chewbakka
    Jan 7, 2013 at 16:40
  • we're using webmin and i found somewhere that i can download that mailbox to another local server. Will that work? While its downloading, will it prevent emails coming through?
    – Seth
    Jan 7, 2013 at 17:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .