Bobcares

Mailinabox on Vultr | Setup Guide

by | Sep 8, 2024

Using mailinabox on Vultr offers several benefits. In this post, we’ll see a detailed explanation on how to set up Mail-in-a-box on Vultr easily. As part of our Vultr Managed Service, Bobcares provides answers to all of your questions.

Overview
  1. Using Mailinabox on Vultr
  2. Key Features of Mail-in-a-Box
  3. Benefits of Using Mail-in-a-Box on Vultr
  4. Possible Challenges of the System
  5. Setup of Mail-in-a-box on Vultr
  6. Conclusion

Using Mailinabox on Vultr

Mail-in-a-Box (MiaB) makes email hosting easier by handling complex installations, maintaining security, and automating processes such as DNS setup and SSL certifications. MiaB provides a cost-effective and configurable solution for self-hosting email, complete with spam filtering, monitoring, backup, and calendar and contact integration with Nextcloud.

When used with Vultr, a cloud infrastructure provider, MiaB offers an efficient approach to host email for various domains while keeping control and flexibility.

Key Features of Mail-in-a-Box

The main features are as follows:

1. MiaB offers email hosting for one or more domains, with spam filtering, virus scanning, and a webmail access via Roundcube. Users can manage and access their email accounts via a browser.

2. MiaB configures the email server’s DNS settings automatically, including SPF, DKIM, and DMARC records, which are required to avoid spam flagging.

3. MiaB offers a user-friendly webmail platform (Roundcube), which allows users to send, receive, and manage emails using a web browser.

4. To ensure safe connections and data integrity, built-in security features include automatic SSL certificates from Let’s Encrypt, firewall configuration, and automated backups.

5. MiaB supports Nextcloud, which provides calendar (CalDAV) and contacts (CardDAV) services that are accessible across all devices.

6. MiaB considerably simplifies email server setup and management, allowing users to complete most operations via its web-based management interface without requiring extensive command-line skills.

Benefits of Using MailinaBox on Vultr

1. Cost-Effective

When compared to professional email hosting services, MiaB on Vultr may be a more cost-effective option, particularly for users hosting many domains.

2. Control of Data

We keep complete control over the email data and configuration by hosting the email on the own server. This allows us greater privacy and flexibility than third-party providers.

3. Customization

MiaB enables us significant customization, ranging from email server settings to DNS configurations, which many commercial email providers do not provide.

Possible Challenges of the System

1. While MiaB makes the setup process easier, some knowledge of Linux and server management is still required.

2. If we self-host the email, we are responsible for server maintenance, upgrades, and security. This involves keeping software up to date and putting adequate security measures in place.

3. Deliverability difficulties can occasionally arise on self-hosted email servers. Proper DNS configuration, which includes SPF, DKIM, and DMARC entries, helps to ensure that the emails are not marked as spam by major providers.

Setup of Mail-in-a-box on Vultr

Prerequisites

1. A new Ubuntu server (at least 1GB RAM)

2. An IPv4 address (IPv6-only solutions are not currently feasible for hosting email)

3. Verified the outbound port status to confirm the server can send emails.

Setup Steps

1. Initially, we need to select a Hostname for the Server. The format is box.yourdomain.com.

2. After we’ve set up the VPS on Vultr, go to the Settings tab and enable reverse DNS. Change the default value to the desired hostname. To save the changes, click the checkmark icon.

3. MiaB manages the domain’s DNS to ensure email delivery works correctly. Update the domain’s nameservers to the MiaB-provided ones:

mailinabox vultr

In the domain registrar’s control panel, set these nameservers and link them to the VPS’s IP address.

4. Now, to install MiaB, open a terminal and SSH into the VPS using the server’s IP address:

mailinabox vultr

5. Copy and paste the following command to install MiaB:

mailinabox vultr

This installs several Ubuntu packages and prompt us for some input:

mailinabox vultr

 

6. After setup, we will be given a link to the admin interface. Skip the browser’s SSL warning because the certificate has yet to be installed.

7. To configure MiaB, MiaB’s Status Checks page identifies any faults that require attention, such as missing DNS records or out of date software.

8. MiaB can automatically set up Let’s Encrypt certificates for the domains. In the admin interface, go to System > TLS Certificates and select “Install Certificate” for each domain.

9. Under Mail > Users, we may set up email accounts for the domains. MiaB employs greylisting to combat spam, thus the initial emails to a new address may take longer to arrive.

10. We must regularly update the MiaB server to keep it secure and up to date. To upgrade MiaB, simply rerun the setup script:

mailinabox vultr

11. MiaB is built to manage DNS, but we can also use third-party services such as Cloudflare. This requires manually establishing DNS records for email delivery.

[Looking for a solution to another query? We are just a click away.]

Conclusion

In summary, when using MiaB on Vultr, updating the domain’s nameservers to MiaB’s values ensures correct DNS setup for effective email delivery. This crucial step helps streamline the email management. Here, our Experts went over the details of Mail-in-a-box setup on Vultr.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF