ScalaHosting is my recommended VPS (Virtual Private Server) provider for running email servers. This article is going to explain how to create a Linux VPS on ScalaHosting.

Run an Email Server on ScalaHosting VPS

There’re hosted email solutions like Google Workspace and Microsoft Exchange Online, but they become very expensive when you have many users. If you run a self-hosted email server on a VPS, you can add unlimited users, unlimited domains, and send unlimited email messages for a very low price ($10 ~ $20 per month).

It’s not an easy task to find a VPS provider suitable for email hosting. Many hosting companies like DigitalOcean blocks port 25. DigitalOcean would not unblock port 25, so you will need to set up SMTP relay to bypass blocking, which can cost you additional money. If you use Vultr VPS, then port 25 is blocked by default. They can unblock it if you open a support ticket, but they may block it again at any time if they decide your email sending activity is not allowed. Vultr actually may re-block it if you use their servers to send newsletters.

Another problem is that big well-known hosting providers like DigitalOcean or Vultr are abused by spammers. Often the server IP address is on several blacklists. Vultr has some entire IP ranges blacklisted.

ScalaHosting is a very good option to run a mail server because

  • They don’t block port 25.
  • The IP address isn’t on any email blacklist. (At least this is true in my case. I chose the Dallas data center.) You definitely don’t want to be listed on the dreaded Microsoft Outlook IP blacklist or the spamrats blacklist. Some blacklists block an entire IP range and you have no way to delist your IP address from this kind of blacklists.
  • You can edit PTR record to improve email deliverability.
  • They allow you to send newsletters to your email subscribers with no hourly limits or daily limit, whatsoever. Note that you are not allowed to send spam, also known as unsolicited bulk email. If the recipient doesn’t explicitly give you permission to send emails, and you send emails to them, that’s unsolicited email.

As you can see from the screenshot below, my mail server’s IP address (130.51.180.110) isn’t on any blacklist.

How to Create a Linux VPS Server on ScalaHosting Linux Server Mail Server VPS Hosting

And Gmail thinks my IP reputation is high.

How to Create a Linux VPS Server on ScalaHosting Linux Server Mail Server VPS Hosting

How To Create a Linux VPS Server on ScalaHosting

Go to ScalaHosting website and click the Get started button.

How to Create a Linux VPS Server on ScalaHosting Linux Server Mail Server VPS Hosting

It will take you to the order page, where you can customize your server such as selecting the data center location, choosing an operating system, etc. If you are going to run a mail server, I recommend increasing the RAM to at least 3GB, which gives you better performance and the mail services won’t be killed because of out-of-memory problem.

How to Create a Linux VPS Server on ScalaHosting Linux Server Mail Server VPS Hosting

Then click the continue button. In the next step, you can choose a domain name if you don’t have one.

How to Create a Linux VPS Server on ScalaHosting Linux Server Mail Server VPS Hosting

Next, enter your email address and a password to create an account at ScalaHosting.

How to Create a Linux VPS Server on ScalaHosting Linux Server Mail Server VPS Hosting

After that, enter some additional information and choose your payment method. Then click the Proceed to payment button and complete the payment.

How to Create a Linux VPS Server on ScalaHosting Linux Server Mail Server VPS Hosting

Once that’s done, you will receive an email that contains the details of your VPS. Please keep this email, because if you ever need to reinstall the server OS, the root password will be the same.

How to Create a Linux VPS Server on ScalaHosting Linux Server Mail Server VPS Hosting

If you are using Linux on your desktop computer, you can open a terminal window and run the following command to log into your server. Replace 12.34.56.78 with your server’s IP address. You may also need to adjust the port number.

ssh root@12.34.56.78 -p 6543

How to Create a Linux VPS Server on ScalaHosting Linux Server Mail Server VPS Hosting

Congrats! Now you can start your Linux server project. If you are using Windows, please read the following article on how to use SSH client.

Important Stuff

By default, the SSH service on ScalaHosting servers listens on port 6543. Now upgrade existing server software with the following command.

apt update;apt upgrade -y

During the upgrade process, it may ask you the following question. If you want to keep using port 6543 for SSH, then select keep the local version currently installed. If you want to use port 22 for SSH, then select install the package maintainer's version.

How to Create a Linux VPS Server on ScalaHosting Linux Server Mail Server VPS Hosting

After the upgrade is finished, I strongly recommend creating a sudo user for managing your server rather than using the default root user. Run the following command to create a user.

adduser username

How to Create a Linux VPS Server on ScalaHosting Linux Server Mail Server VPS Hosting

Then add the user to the sudo group.

adduser username sudo

Now you can exit from the root user.

exit

And login as the new user.

ssh username@12.34.56.78

How to Set Up a Mail Server

You can easily set up a mail server with iRedMail.

Wrapping Up

I hope this article helped you create a Linux VPS on ScalaHosting. As always, if you found this post useful, then subscribe to our free newsletter to get more tips and tricks. Take care 🙂

Rate this tutorial

[Total: 7 Average: 5]