Forum Moderators: bakedjake

Message Too Old, No Replies

Can't find location of mail

I don't know where my mail is being stored on my harddrive

         

familyman

3:38 pm on Mar 23, 2004 (gmt 0)

10+ Year Member



I have an email server running sendmail and openwebmail. I want to make an interface allowing users to create email addresses on the server. I really don't know how to go about this. The first thing I'm trying to do is find out where openwebmail is looking to get the mail and I'm not having any luck. The only thing in /var/spool/mail is a file called root. A "cat /var/spool/mail/root" yielded a file containing a few messages for a few of the email users on the server already.

I would love any help you could give me. Or someplace else to look (spent hours already).

Thank you.

daisho

8:10 pm on Mar 24, 2004 (gmt 0)

10+ Year Member



/var/spool/mail is where sendmail stores it's mail. It is in mbox format ie 1 file per user. That 1 file contains all the current mail for that user.

Your webmail program does not access this file directly. It will log in via IMAP to your server. (ie you must have an IMAP Server) and that IMAP server will read the mbox etc etc.

A regular "Adduser" command will also add the mailbox.

Without more specific knowlege of your setup (ie virtualdomains) it's tough to give anymore advice than that.

daisho.