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

Tutorial: setup mail server the right way

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
6 posts • Page 1 of 1
Aldoseri
Posts: 14
Joined: Fri Nov 25, 2016 12:08 pm

Tutorial: setup mail server the right way
  • Quote

Post by Aldoseri » Sun Nov 04, 2018 5:01 am

I followed these steps to solve all mail server problems once and for all.

1- Get a domain name
2- Get any cheap VPS
3- Install debian or centos minimal system
4- Install Modoboa https://modoboa.org/en/
5- login to Modoboa mail server admin panel
6- Update password
7 Add domain to domains section on mail server
8- Redirect your MX record to the new server FQDN hostname
9- Update mail A record to point to new server IP Address
10- Update PTR to point to new server FQDN hostname
11- Generate DKIM - copy and paste in DNS area of your dns provider
12- Add email accounts (Identities)
13- Test, and Viola! everything works like a charm
14- Never look back, you're now a free admin.

Now your mail will reach the INBOX of intended users. you won't need any third party smtp services.
It took me around 4 hours to do this setup, but then I didn't have this quick cheat sheet. I had to figure it out by trial and error. I will say one hour or so is all you need to forget about Vesta's mail problems for ever.
Top

Elfy
Posts: 11
Joined: Thu Aug 09, 2018 4:08 pm

Os: Ubuntu 15x
Web: apache + nginx
Re: Tutorial: setup mail server the right way
  • Quote

Post by Elfy » Tue Apr 30, 2019 11:36 pm

Did you install Modoboa "on top of" Vesta? Can users still create email accounts within Vesta for them to become visible for administration within Modoboa? This would be ideal for me.

If you just created a new VPS for your email server outside of Vesta, this kind of defeats the purpose of Vesta being a web-hosting panel, because you will have to manually create all the email accounts yourself for any of your Vesta users.
Top

dreiggy
Posts: 154
Joined: Thu May 17, 2018 8:05 pm
Contact:
Contact dreiggy
Skype

Os: CentOS 6x
Web: apache + nginx
Re: Tutorial: setup mail server the right way
  • Quote

Post by dreiggy » Sat May 04, 2019 8:44 pm

Elfy wrote: ↑
Tue Apr 30, 2019 11:36 pm
Did you install Modoboa "on top of" Vesta? Can users still create email accounts within Vesta for them to become visible for administration within Modoboa? This would be ideal for me.

If you just created a new VPS for your email server outside of Vesta, this kind of defeats the purpose of Vesta being a web-hosting panel, because you will have to manually create all the email accounts yourself for any of your Vesta users.
Most probably it possible, but vesta should be installed without mail support (exim, dovecot, spamassassin, clamav). And another thing is to do some magic with modoboa web configuration.
Top

lotnomore
Posts: 20
Joined: Sun Apr 28, 2019 7:00 pm
Contact:
Contact lotnomore
Website

Os: Debian 8x
Web: apache + nginx
Re: Tutorial: setup mail server the right way
  • Quote

Post by lotnomore » Mon May 13, 2019 1:31 am

Aldoseri wrote: ↑
Sun Nov 04, 2018 5:01 am
I followed these steps to solve all mail server problems once and for all.

1- Get a domain name
2- Get any cheap VPS
3- Install debian or centos minimal system
4- Install Modoboa https://modoboa.org/en/
5- login to Modoboa mail server admin panel
6- Update password
7 Add domain to domains section on mail server
8- Redirect your MX record to the new server FQDN hostname
9- Update mail A record to point to new server IP Address
10- Update PTR to point to new server FQDN hostname
11- Generate DKIM - copy and paste in DNS area of your dns provider
12- Add email accounts (Identities)
13- Test, and Viola! everything works like a charm
14- Never look back, you're now a free admin.

Now your mail will reach the INBOX of intended users. you won't need any third party smtp services.
It took me around 4 hours to do this setup, but then I didn't have this quick cheat sheet. I had to figure it out by trial and error. I will say one hour or so is all you need to forget about Vesta's mail problems for ever.
This is wonderful. Just wonder if the same procedure applies to Mail-in-a-box, a modoboa alternative which is much easier to set up.
Top

thunderclap
Posts: 9
Joined: Tue Feb 21, 2017 4:20 pm

Re: Tutorial: setup mail server the right way
  • Quote

Post by thunderclap » Fri Jun 14, 2019 5:23 pm

dreiggy wrote: ↑
Sat May 04, 2019 8:44 pm
Elfy wrote: ↑
Tue Apr 30, 2019 11:36 pm
Did you install Modoboa "on top of" Vesta? Can users still create email accounts within Vesta for them to become visible for administration within Modoboa? This would be ideal for me.

If you just created a new VPS for your email server outside of Vesta, this kind of defeats the purpose of Vesta being a web-hosting panel, because you will have to manually create all the email accounts yourself for any of your Vesta users.
Most probably it possible, but vesta should be installed without mail support (exim, dovecot, spamassassin, clamav). And another thing is to do some magic with modoboa web configuration.
Why do you recommend installing Vesta without mail support?
Top

dreiggy
Posts: 154
Joined: Thu May 17, 2018 8:05 pm
Contact:
Contact dreiggy
Skype

Os: CentOS 6x
Web: apache + nginx
Re: Tutorial: setup mail server the right way
  • Quote

Post by dreiggy » Wed Jun 19, 2019 7:57 pm

thunderclap wrote: ↑
Fri Jun 14, 2019 5:23 pm
Why do you recommend installing Vesta without mail support?
Because vesta use exim, modoboa postfix and other dovecot configuration and etc... https://modoboa.readthedocs.io/en/lates ... stallation
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