Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

Hosting Email server

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
6 posts • Page 1 of 1
mohabutaleb
Posts: 6
Joined: Sat Jun 25, 2016 1:38 am

Hosting Email server
  • Quote

Post by mohabutaleb » Thu Aug 04, 2016 8:56 am

Hello Everyone,

This is an advisory question.

I would like to use VestaCP to host our Email server

- Is vestacp capable to host 120 production mailboxes ?
- What are the minimum requirements for the server to work efficiently ?
- What can we do to make it highly available ?

Thanks,
Top

SS88
Posts: 336
Joined: Thu Nov 19, 2015 12:40 pm

Re: Hosting Email server
  • Quote

Post by SS88 » Thu Aug 04, 2016 1:13 pm

Yes. It can handle 120 mailboxes easily with concurrent connections. I have over 120 on one server with 6GB RAM and when you optimize Dovecot the RAM usage is significantly lowered.

You can optimize Dovecot (IMAP/POP daemon): http://wiki.dovecot.org/PerformanceTuning

There's currently no way for "high availability" (I believe it's coming with mail clustering) but you can set-up a secondary MX server that accepts emails to domain names you specify and forwards them back. The only downside is if your mail e-mail server goes down, your customers cannot receive/send e-mail but the second email server will accept e-mail while the first one is offline. Here is the guide: viewtopic.php?t=11174
Top

dpeca
VestaCP Team
Posts: 473
Joined: Wed Nov 25, 2015 7:30 pm

Re: Hosting Email server
  • Quote

Post by dpeca » Sat Aug 06, 2016 1:54 pm

mohabutaleb wrote:- Is vestacp capable to host 120 production mailboxes ?
- What are the minimum requirements for the server to work efficiently ?
Also, these questions are not related to Vesta.

You can consider Vesta as just a 'configuration tool' that will configure Exim4 and dovecot daemons.
So, your questions are basically related to Exim4 and dovecot daemons.

How much mailboxes these daemons can handle?
As much as you have free space on your server hard-drive.
Probably much much much more than 120 mailboxes.
And of course - everything depends on volume of mail traffic in relation with RAM and CPU speed of your server.

Email proccesing is not difficult procces, so even VPS with only 4GB RAM can handle it (if you don't have abnormally high volume of mail traffic).

Maybe you can find some benchmarks on the internet about Exim4 + Spamassassin + ClamAV + dovecot.
Top

mohabutaleb
Posts: 6
Joined: Sat Jun 25, 2016 1:38 am

Re: Hosting Email server
  • Quote

Post by mohabutaleb » Sun Aug 07, 2016 11:11 am

Yes, so basically I was planning to use it on the below server specs. \

- 2 Vcpu
- 7GB RAM
- 100 GB SSD

so, does that need any Devcot optimization ?
Top

SS88
Posts: 336
Joined: Thu Nov 19, 2015 12:40 pm

Re: Hosting Email server
  • Quote

Post by SS88 » Sun Aug 07, 2016 11:21 am

mohabutaleb wrote:Yes, so basically I was planning to use it on the below server specs. \

- 2 Vcpu
- 7GB RAM
- 100 GB SSD

so, does that need any Devcot optimization ?
You'll be fine. I did this as a preventative - but you shouldn't need it as you have SSD. If you see a slow down of I/O you can do this: http://wiki.dovecot.org/MailLocation/LocalDisk

Since power failures and kernel panics are quite rare, many people are tempted to disable fsyncing because it may increase the performance quite a lot. Dovecot allows this by setting mail_fsync=never. However you should consider leaving it at "optimized" for LDA and LMTP. You can do this with:

Code: Select all

# Default to no fsyncing
mail_fsync = never

protocol lda {
  # Enable fsyncing for LDA
  mail_fsync = optimized
}
protocol lmtp {
  # Enable fsyncing for LMTP
  mail_fsync = optimized
}
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: Hosting Email server
  • Quote

Post by mehargags » Sun Aug 07, 2016 1:56 pm

HA and Performance is one side of it, the major side of Email Hosting to ensure is
1) Mail Deliverability and Inboxing to recipient
2) Manage incoming SPAM efficiently

Unless you master both of these, you will repent the very day and decision of hosting your own Mail server.

If budget permits, a hosted mail solution is best for the small number of mailboxes you need.
Trust me...!
Top


Post Reply
  • Print view

6 posts • Page 1 of 1

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password