Koozali.org: home of the SME Server

Email storage question

Offline StuartTaylor

  • *
  • 18
  • +0/-0
Email storage question
« on: March 26, 2007, 09:46:42 AM »
I have looked through the forum and have not found an answer that I can use so please bare with me.

I know that emails are stored in /home/e-smith/files/users/username/Maildir

however I'm finding that the files just don't seem to be anywhere big enough.  The user I need to back up has about 5MB of files in the /Maildir but I know that there is about 3gb of mail in there including file attachments.  

I guess my question is do IMAP folders only use the above location to store files?

Thankful for any help

Stuart.

Offline imcintyre

  • *
  • 609
  • +0/-0
Email storage question
« Reply #1 on: March 26, 2007, 11:48:25 AM »
Does this help?
Quote
http://forums.contribs.org/index.php?topic=36338.0


There are some notes about storage directories at the end that may help you find your missing mail

Offline StuartTaylor

  • *
  • 18
  • +0/-0
Email storage question
« Reply #2 on: March 26, 2007, 11:49:08 PM »
Thank you for your suggestion,

I did find some more messages in the /home/e-smith/Maildir/

but not on the right scale.  

I might need to ask a more stupid question

does IMAP keep messages and file attachments in the same place?

because now that i think about it 5 MB would probably cover the raw text.

Offline imcintyre

  • *
  • 609
  • +0/-0
Email storage question
« Reply #3 on: March 27, 2007, 12:20:58 AM »
I'm at the end of my expertise, although I hope somebody else takes up the quest. I am interested in learning as much as I can. Did you search for bugs and in the wiki?

Offline StuartTaylor

  • *
  • 18
  • +0/-0
Email storage question
« Reply #4 on: March 27, 2007, 12:26:52 AM »
I probably should have but its not really a bug I guess.  the IMAP folder is working perfectly as far as I can tell.  

I used symphony IMAP backup to download the mail box last night and it worked fine.  I just would rather use a more direct approach I guess.

Thank you for your suggestions again though.

Offline StuartTaylor

  • *
  • 18
  • +0/-0
Email storage question
« Reply #5 on: March 29, 2007, 03:10:30 AM »
OK I am a moron, the folders are all there they are just hidden.  an ls -a revealed all the sub folders of the IMAP box.  I could have sworn I did an ls -a before asking.  Ah well.

thanks for you input none the less imcintyre

Offline imcintyre

  • *
  • 609
  • +0/-0
Email storage question
« Reply #6 on: March 29, 2007, 12:57:37 PM »
Well take consolation in the fact that you knew about ls -a and had some tenacity. So you might want to add the prefix "highly achieving" :lol:

I can look at those list of command syntax all day and be no further ahead. Seeing as your logged in as root it's a bit of a mystery as to why the folders are hidden but "mine is not to question why..." I guess I don't get the prefix yet.

ps If I'd known that I would have pointed it out already