PDA

View Full Version : New server


skoena
15th October 2009, 21:37
I'm setting up a main new server.
Installed it with Falko's: The Perfect Server - Ubuntu 9.04 [ISPConfig 3]

I created new mail accounts on the new server, the same account I have on the old server. I copied (from a backup) the /var/vmail from the old (still up) server to the new server. But when I login with one of these account on the new server I don't see any mail in the mailbox, how come?

Rudolf.

damir
15th October 2009, 22:00
Why not setup a new account and than fetch all mails from old server with fetchmail function?

skoena
15th October 2009, 22:50
Because I have multiple accounts. And I want to know how to restore them by copying the files back (from a backup) like I did.

damir
15th October 2009, 22:58
Maybe the permissions differ? Is this imap or pop3?

Franz
15th October 2009, 23:11
I don't know anwser.. but interesing question.

skoena
16th October 2009, 08:40
I use IMAP.

damir
16th October 2009, 09:23
I have couple of ISPConfig servers, and i will try to move from one to another and to see if i can access mail on the new accounts.

till
16th October 2009, 09:28
You can copy the accounts to a new server, just make sure that all files that you copied belong to the user vmail and the group vmail.

skoena
16th October 2009, 10:29
Noob question: What is correct way to change this via command line?

In the folder /var/vmail/domain.com for example I have the next accounts: rudolf simone stephan gert

till
16th October 2009, 10:56
Everything in /var/vmail has to be owned by user and group vmail, so you can just run:

chown -R vmail:vmail /var/vmail

skoena
17th October 2009, 16:01
Everything in /var/vmail has to be owned by user and group vmail, so you can just run:

chown -R vmail:vmail /var/vmail

I copied all the mail from the backup to the /var/vmail folder on the new server. I chown the folder /var/vmail as vmail:vmail.

I logged in under my own account rudolf.
I do see a lot of mail in my mailbox but almost all (1794 mails) have

Unknown 4:52 pm (no subject)

http://www.brazilieprikbord.nl/tmp/mail.jpg

What is the problem?
Rudolf.

skoena
19th October 2009, 14:27
Anybody any ideas?

skoena
20th October 2009, 12:22
Till,
Any idea what's going on here and/or how to solve it?

Rudolf.

till
20th October 2009, 12:24
No, never seen that. And you had the same pop3 and imape daemon on both servers?

skoena
20th October 2009, 12:26
The new server is exact same as the "old" server.
Also all accounts are the same.