Koozali.org: home of the SME Server

Where does SME store mail?

Pumpino

Where does SME store mail?
« on: August 18, 2006, 09:34:34 AM »
Can someone please tell me where SME stores its email?  ie. the Horde inbox.

I thought it would be in /var/spool/mail, but it's not.  I've got email from my old ClarkConnect installation that's in the form of one file per user, which simply has their inbox emails in text form.  I'd like to copy that into the correct SME dir, so that it's displayed in Horde.

I then suspected that home/e-smith/files/users/username/Maildir might be the one, however I emailed myself a 3 meg attachment so that I could look for an inbox type of file that's 3 meg in size, however that doesn't appear to be the correct dir either.

Any help appreciated. :)

Offline briank

  • ****
  • 146
  • +0/-0
Where does SME store mail?
« Reply #1 on: August 18, 2006, 10:06:59 AM »
Hi - you are almost right. Try home/e-smith/files/users/username/Maildir/new
Regards
Brian

Pumpino

Where does SME store mail?
« Reply #2 on: August 18, 2006, 10:18:01 AM »
That doesn't work. :(

Offline briank

  • ****
  • 146
  • +0/-0
Where does SME store mail?
« Reply #3 on: August 18, 2006, 10:27:19 AM »
I don't know what you mean by "that doesn't work" - thats where I go to look at mine and I checked before I posted in sme6 and I am sure 7 hasn't changed. Perhaps you have other issues eg antispam/mail queue issues?
Regards
Brian

Pumpino

Where does SME store mail?
« Reply #4 on: August 18, 2006, 10:29:29 AM »
I copied the user's file from /var/spool/mail to the relevant dir that you mentioned in SME 7, and then logged into the account in Horde.  There was no new mail!  I tried altering the permissions (as I was copying the file as root in to the user's account), but that didn't display the emails in Horde either.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Where does SME store mail?
« Reply #5 on: August 18, 2006, 10:46:24 AM »
Quote from: "Pumpino"
I copied the user's file from /var/spool/mail ...


/var/spool/mail isn't used in SME server.

SME server stores mail in maildirs. Google can tail you about maildirs.

Pumpino

Where does SME store mail?
« Reply #6 on: August 18, 2006, 11:11:40 AM »
I'm aware of that.  I mentioned that I copied the mail from /var/spool/mail in ClarkConnect, and I wanted to know where to dump it in SME, so as to be able to read that email in Horde.