Author Topic: [SOLVED]Where are the mails?  (Read 2877 times)

MIB

  • Zen Apprentice
  • *
  • Posts: 31
  • Karma: +1/-0
    • View Profile
[SOLVED]Where are the mails?
« on: February 09, 2011, 07:32:00 pm »
I used SME as a Mailserver. There I used to backup the mails with rsync to another sever.
Worked fine if you had to bring back a deleted mail or a system crash or a broken disk.
I would like to do this system also on the Zentyal system. But with Zentyal I can not find where the mails are located. ??? I do not find the mails in webmin  (E-Mailserver: Postfix ) not anywehre in the home directory.
Can anyone help pelase?
Thanks
MIB
« Last Edit: March 02, 2011, 09:33:16 am by MIB »

Trym

  • Zen Warrior
  • ***
  • Posts: 117
  • Karma: +1/-0
    • View Profile
Re: Where are the mails?
« Reply #1 on: February 09, 2011, 08:02:02 pm »
Short answer is: It depends if you're using Zarafa or not.

If yes, then the mail-data is in an mysql-database. If not, they're in /var/mail and /var/vmail.

For more see here and here. (last part of background and/or first part of setup on how to back it up.)

« Last Edit: February 09, 2011, 08:05:02 pm by Trym »

MIB

  • Zen Apprentice
  • *
  • Posts: 31
  • Karma: +1/-0
    • View Profile
Re: Where are the mails?
« Reply #2 on: February 09, 2011, 10:12:36 pm »
No I am not using Zarafa.
Great I foung the mails in /var/vmail  :D
I will just backup this directory.
Thank you!

cheesyking

  • Zen Warrior
  • ***
  • Posts: 148
  • Karma: +1/-0
    • View Profile
Re: Where are the mails?
« Reply #3 on: February 09, 2011, 10:27:09 pm »
don't forget to check the size of the partition that /var/vmail is on. By default zentyal puts it on the small root partition so if you use imap you can very easily fill the partition.