Basically I've created before in the new server all the domains and email addresses, then I've canceled in /var/vmail and copied it from the old one.
At the end chown -R vmail:vmail /var/vmail and it's working.
Now one question: to make the quota working, I've to setup the quota in ISPConfig for all of them again... is there a faster way to do it?
Posts: 31,903
Thanks: 693
Thanked 4,195 Times in 3,212 Posts
The quota files are stored in the maildirs, so no need to redo it on the new server as you copied all email quota info together with the maildirs. For email, Linux quota is not used.
Hi Till,
what do you mean Linux quota is not used?
I'm copying across the whole /var/vmail, but of course the old file /var/vmail/domain/user/maildirsize has the old configuration of the quota... so I notice that if I setup in ISPConfig the quota again, that file will be overwrite with the new quota configuration...
Is it correct or am I wrong?
Posts: 31,903
Thanks: 693
Thanked 4,195 Times in 3,212 Posts
Quote:
Is it correct or am I wrong?
Thats correct. But if you moved a setup, you must have mocved the ispconfig database to the new server as well, so everything is in sync. If you did not move the ispconfig database, you will have to recreate all accounts and passwords of course.
In the old server I don't have ISPConfig.
I have it just on the new one.
So what I'm doing is
1) in the new server I'll create the scenario (domains and emails)
2) I move the /var/vmail/domain from the old to the new one
3) I setup the correct permission on /var/vmail/domain
4) In the ISPconfig I'll setup the quota
Recent comments
23 hours 16 min ago
1 day 5 hours ago
1 day 9 hours ago
1 day 11 hours ago
1 day 19 hours ago
2 days 5 hours ago
2 days 6 hours ago
2 days 9 hours ago
2 days 14 hours ago
2 days 14 hours ago