PDA

View Full Version : Backing up E-mail


bswinnerton
8th September 2007, 21:42
I am installing a new server because i had trouble with the old one with ssh and ftp, so i was wondering where is all of the mail stored, and how can I back it up?

I have ubuntu server 7.04 and used the perfect setup to configure it. Thanks.

P.S. is there anything else i should think about backing up besides the website?

torusturtle
9th September 2007, 16:24
I am installing a new server because i had trouble with the old one with ssh and ftp, so i was wondering where is all of the mail stored, and how can I back it up?

I have ubuntu server 7.04 and used the perfect setup to configure it. Thanks.

P.S. is there anything else i should think about backing up besides the website?

If you want to restore all the data, user and passwords I recommand Falkos Moving ISPConfig (http://www.howtoforge.com/forums/showthread.php?t=2717) instructions.

If you just want to backup web and email then check if you use mbox or maildir.

Maildir is included in each users web folder.
Mbox is in /var/spool/mail/

bswinnerton
10th October 2007, 00:48
I have postfix in var/spool, but where would the mail be?

bswinnerton
10th October 2007, 01:27
Nevermind, i've found it. Its under web1/user/

Thanks.

Just two more questions,

1. Does my mail client (e.g. roundcube) Make that or does postfix?

2. And is this mail interchangeable with say an exchange server.. Could i put that into an exchange server and be able to read it?

Thanks!

till
10th October 2007, 12:06
1. Does my mail client (e.g. roundcube) Make that or does postfix?

Make what? The mails are stored there by postfix. Roundcube is just a webmail client, it does not access any of thes e files directly.

2. And is this mail interchangeable with say an exchange server.. Could i put that into an exchange server and be able to read it?

No. Exchange does not support maildir or mbox format.