We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
What is the max number of mail accounts in VestaCP?
-
- Posts: 5
- Joined: Wed Mar 30, 2016 8:12 am
What is the max number of mail accounts in VestaCP?
Hi everybody,
I'm setting up a VestaCP server and migrating from a MDaemon server.
That said, we have more than 20000 mail accounts to integrate.
After creating a shell script that parses a csv file and use v-add-mail-account, all mail accounts were migrated.
Flawless...
But, when I use the web panel and query the listing of my 20000 mail accounts, interface is really buggy and slow : more than 45 sec to load. When loaded, scrolling is really laggy.
Any idea to speed up loading?
Thanks.
I'm setting up a VestaCP server and migrating from a MDaemon server.
That said, we have more than 20000 mail accounts to integrate.
After creating a shell script that parses a csv file and use v-add-mail-account, all mail accounts were migrated.
Flawless...
But, when I use the web panel and query the listing of my 20000 mail accounts, interface is really buggy and slow : more than 45 sec to load. When loaded, scrolling is really laggy.
Any idea to speed up loading?
Thanks.
Re: What is the max number of mail accounts in VestaCP?
The current version of the control panel works with as many accounts slowly, true. But will run faster. Especially after was done code refactoring and core work much faster now.
-
- Posts: 5
- Joined: Wed Mar 30, 2016 8:12 am
Re: What is the max number of mail accounts in VestaCP?
Thanks for your quick reply.
I've increase worker_process and worker_connections in /etc/nginx.conf and it seems to be a little faster : from ~45sec to 20 sec but scrolling up or down in the web interface list is still laggy.
From what you've said, can we expect an vesta update soon?
Last question, why don't you have chosen to store mail accounts in the mariadb database? This would help loading large (did I say huge?) mail account list, wouldn't it?
I've increase worker_process and worker_connections in /etc/nginx.conf and it seems to be a little faster : from ~45sec to 20 sec but scrolling up or down in the web interface list is still laggy.
From what you've said, can we expect an vesta update soon?
Last question, why don't you have chosen to store mail accounts in the mariadb database? This would help loading large (did I say huge?) mail account list, wouldn't it?
Re: What is the max number of mail accounts in VestaCP?
This can help a little, but not completely.ethermcman wrote: I've increase worker_process and worker_connections in /etc/nginx.conf and it seems to be a little faster : from ~45sec to 20 sec but scrolling up or down in the web interface list is still laggy.
skid - author and main developer say refactoring and core update will be solve problem with big data on pages (mail accounts or domain lists).
Yep, sooner than month age :)ethermcman wrote:From what you've said, can we expect an vesta update soon?
Refactoring completed, bugs and github now. Testing and after this release.
Tricky question. I've seen the requests, it will be good if mail will stored in database. In this case, flexibility is lost, we will always need a database. This is the first that comes to mind.ethermcman wrote:Last question, why don't you have chosen to store mail accounts in the mariadb database? This would help loading large (did I say hug?) mail account list, wouldn't it?
-
- Posts: 5
- Joined: Wed Mar 30, 2016 8:12 am
Re: What is the max number of mail accounts in VestaCP?
Again thanks for your quick reply.
It's not a production server just testing possibilities so I can wait less than a month for the future update.
Can you explain your "flexibility" pov : file vs sql?
IMHO, it would be great if we could have the option to store (or not) mail accounts/users/domain list in a sql database in this future update.
It's not a production server just testing possibilities so I can wait less than a month for the future update.
Can you explain your "flexibility" pov : file vs sql?
IMHO, it would be great if we could have the option to store (or not) mail accounts/users/domain list in a sql database in this future update.
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: What is the max number of mail accounts in VestaCP?
@ethermcman
What are the specs of your server ?
1. CPU -- cores
2. RAM
3. Hard Drive - SSD or SAS or HDD ?
4. total size of mailboxes
For 20,000 Mailboxes, that's some serious ISP level service that you are in... so you should consider High Availability clusters. Plus MySQL would be Slower for mails... for these many Mailboxes.
Also Postfix is much superior if you want to control thousands of mailboxes, sadly Vesta doesn't yet support postfix.
What are the specs of your server ?
1. CPU -- cores
2. RAM
3. Hard Drive - SSD or SAS or HDD ?
4. total size of mailboxes
For 20,000 Mailboxes, that's some serious ISP level service that you are in... so you should consider High Availability clusters. Plus MySQL would be Slower for mails... for these many Mailboxes.
Also Postfix is much superior if you want to control thousands of mailboxes, sadly Vesta doesn't yet support postfix.
-
- Posts: 5
- Joined: Wed Mar 30, 2016 8:12 am
Re: What is the max number of mail accounts in VestaCP?
Hi mehargags,
1. 8 cores
2. 8 Go RAM
3. SAS
4. high user traffic but not more than 5 MB per mailbox that will be (re)send almost immediately
I know that I'm in kind of serious project. If I could have chosen to go without CP, I would choose Postfix, Galera, HA cluster, and so on. But like many other IT society, we have chiefs who don't even understand some Microsoft interfaces, so imagine a linux server... It's why I'm trying VestaCP but also some others CP because I have to give them a GUI...
1. 8 cores
2. 8 Go RAM
3. SAS
4. high user traffic but not more than 5 MB per mailbox that will be (re)send almost immediately
I know that I'm in kind of serious project. If I could have chosen to go without CP, I would choose Postfix, Galera, HA cluster, and so on. But like many other IT society, we have chiefs who don't even understand some Microsoft interfaces, so imagine a linux server... It's why I'm trying VestaCP but also some others CP because I have to give them a GUI...
Re: What is the max number of mail accounts in VestaCP?
If we'll use some db by default, we bindind yourself and make monolith system - we will need a database always.ethermcman wrote:Can you explain your "flexibility" pov : file vs sql?
And second - low memory servers/vps do "the thing".
I now do not even talk about the encoding in the database and other potential problems.
In short, I believe that as the option that one could try to do it, but by default unlikely.
Add your idea, please:ethermcman wrote:IMHO, it would be great if we could have the option to store (or not) mail accounts/users/domain list in a sql database in this future update.
https://bugs.vestacp.com/
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: What is the max number of mail accounts in VestaCP?
The first rule of thumb setting up IT services is "not putting all your eggs in one basket" so I think you should setup separate servers for Webhosting and mailing services... DO NOT mix them up.ethermcman wrote:Hi mehargags,
It's why I'm trying VestaCP but also some others CP because I have to give them a GUI...
As for dedicated mailing servers are concerned, apart from VestaCP, you can also think of Zentyal, Zimbra, Zarafa, iRedmail, MailCow, Kolab & SOGo groupware are good free yet commercial solutions that aim at dedicated mailing service.
I am not saying you can't run mailing on VestaCP, but considering an ISP lelve game of 20,000 mailboxes, I think you will be better off with a dedicated mailing solution.
-
- Posts: 5
- Joined: Wed Mar 30, 2016 8:12 am
Re: What is the max number of mail accounts in VestaCP?
Thanks skurudo, for your clarifications. Really appreciated.
@ mehargags, separation was my first draft, one server for one role. I'm totally aggreeing your pov.
And you're also right about the CP choice : the main goal is to handle mailboxes and not to be an ISP. I'll look for the solutions you've shown. Thanks for the advice and to redirect me to the right solution.
@ mehargags, separation was my first draft, one server for one role. I'm totally aggreeing your pov.
And you're also right about the CP choice : the main goal is to handle mailboxes and not to be an ISP. I'll look for the solutions you've shown. Thanks for the advice and to redirect me to the right solution.