Setup Your Own Free Email Server with RackNerd VPS and CyberPanel - Send 50k Cold Emails DailyIn this guide, I will walk you through the process of setting up a free email server with RackNerd VPS and CyberPanel. With these tools, you can enjoy the benefits of a self-hosted email solution without breaking the bank.

In the vast landscape of email services, having your own email server offers unparalleled control and privacy.


Before diving into the setup, ensure you have the following:

  1. RackNerd VPS Account: Sign up for a RackNerd VPS account. They offer reliable and affordable virtual private servers with open port 25. Be sure you have a root access.
  2. Domain Name: Have a domain name registered and ready to use. I can recommend Namecheap for registering your domain.
  3. Basic Linux Knowledge: Familiarize yourself with basic Linux commands. This guide assumes a basic understanding of using the terminal.
  4. Warmup services: You need to signup for a warmup service to build a reputation for your IP. My recommendations are and WarmupInbox.

Setup Your Own Free Email Server with RackNerd VPS and CyberPanel

Note: This guide is based on a Linux environment. We’ll use a fresh install of AlmaLinux to install CyberPanel.

Step 1: Provisioning Your VPS

Create a RackNerd VPS account. For a detailed guide on how to setup RackNerd VPS, click here.

Choose your preferred server plan and location. Be sure to choose Los Angeles, Utah, or France for a free IPv6.

Choose AlmaLinux OS 8 as your operating system.

Once provisioned, you will receive an email with server details, including IP address, username, and password.

RackNerd VPS 2GB

You need to contact RackNerd support to ask for an IPv6.

Step 2: Connect to Your VPS

By now you should have a running VPS.

Using an SSH client, connect to your RackNerd VPS. You’ll receive connection details from RackNerd upon VPS activation.

We’ll be using Bitvise – a free SSH client.

Bitvise RackNerd

Bitvise New Terminal Console RackNerd

Step 3: Setup Hostname, rDNS, and Initial DNS

Login to your VPS and set your Hostname. I will set mine to

Set Hostname Racknerd

Go again to RackNerd support and ask them that you want your rDNS to be for both IPv4 and IPv6.

Wait for at least 24 hours for the rDNS to propagate. You can check its propagation using this tool.

Set PTR Records RackNerd IPv4 and IPv6

Next, we’ll go to Cloudflare and add a site.

Then add Cloudflare nameservers to Namecheap.

Cloudflare Nameservers

Cloudflare Namecheap Nameserver

Add A records on Cloudflare for the Hostname and root domain. We’ll continue adding more DNS later on.

A Records for CyberPanel

Step 4: Update System Packages and Enable IPv6

Ensure your system packages are up-to-date. Go back to the terminal console and run the following commands.

sudo yum check-update
sudo yum update

Go to nano /etc/sysctl.conf.

Change the value to 0 of the following lines:

net.ipv6.conf.all.disable_ipv6 = 0
net.ipv6.conf.default.disable_ipv6 = 0
net.ipv6.conf.lo.disable_ipv6 = 0

Add the following lines at the end of the file then reboot your server.

net.ipv6.conf.all.autoconf = 0
net.ipv6.conf.all.accept_ra = 0
net.ipv6.conf.eth0.autoconf = 0
net.ipv6.conf.eth0.accept_ra = 0

Step 5: Install CyberPanel

Use the following commands to install CyberPanel:

sh <(curl || wget -O -

CyberPanel Installation Script

Follow the on-screen instructions. CyberPanel will be installed with OpenLiteSpeed as the web server.

Install CyberPanel

Install CyberPanel with OpenLiteSpeed. Choose 1.

Install CyberPanel with OpenLiteSpeed.

Additional Installation Instructions CyberPanel

Step 6: Access CyberPanel

Open your web browser and navigate to https://your_server_ip:8090. Log in with the default credentials will be displayed after installation.

CyberPanel Successfully Installed

A security error will display Warning: Potential Security Risk Ahead. Just Click Advanced and Accept the Risk and Continue.

You will now be redirected to the CyberPanel login screen. Just enter the login credentials to proceed.

CyberPanel login screen

We will need to launch the setup wizard to finish the CyberPanel installation. Leave Configure Hostname and other default Settings for CyberPanel unchecked.

Configure Hostname and other default Settings for CyberPanel

You should be able to get a Completed. [200]. Then restart CyberPanel.

Restart CyberPanel

Now you can access CyberPanel with your hostname and port 8090. Login using instead of the IP address.

Login Hostname with SSL

Step 7: Setting Up Your Domain

In CyberPanel, navigate to Websites and click Create Website.

Create Website CyberPanel

Enter your domain name, choose a PHP version, and set your email preferences.

Create Website Email

Be sure to check SSL, DKIM Support, open_basedir Protection, and Create Mail Domain.

Once it is successfully installed we’ll proceed to create email.

Step 8: Create an Email Account

In the CyberPanel left menu, navigate to Email > Add Email.

Enter the required details, including your domain and a strong password.

Click Create Email to generate your email account.

Create Email CyberPanel

Step 9. Configure DNS Records

Go back to Cloudflare and access API tokens Overview > API Tokens. Be sure to use Global API Key.

Cloudflare API Token Overview

From your CyberPanel dashboard navigate to DNS > Cloudflare and enter your Cloudflare email and API token.

Add Cloudflare API CyberPanel

After you add the records, you’ll have the option to manage your domains. Choose the domain on the drop-down menu.

Select Domain to Manage CyberPanel

Then click Sync Local Records to Cloudflare.

Sync Local Records to Cloudflare

Now your final DNS records will look like this. But before we test, we will add our IPv6 to our SPF record.

Note: I’ve removed duplicated TXT records and changed the MX record from mail to @.

DNS Records CyberPanel

Step 10. Test Email Delivery

First, let’s access our webmail. Go to Email > Access Webmail.

Enter the email login details you create a while ago.

Access Webmail CyberPanel

Time to send test emails!

Test Email CyberPanel Mail-Tester

And now we got a 10/10 Mail-Tester Score!

10 Over 10 Score CyberPanel Mail-Tester

Now let’s test it on Gmail, AOL Mail, and Proton Mail.

CyberPanel Email Sent to Gmail

CyberPanel Email Sent to Proton Mail

As you can see I’ve managed to send emails directly to inbox for Gmail and Proton Mail. But with AOL Mail, it went directly to spam.

CyberPanel Email Sent to AOL Mail

But fret not! There’s a solution to this problem. It is called IP and domain warmup.

You just need to signup for warmup services like Warmup Inbox or

Before I forget. Let’s try to reply from Gmail.

Reply from Gmail to CyberPanel

And we successfully received the reply!

Email Received in CyberPanel from Gmail

Step 11: Configure Email Client

Configure your preferred email client (e.g., Thunderbird, Outlook) using the details provided in CyberPanel.

Incoming Mail Server (IMAP):
Outgoing Mail Server (SMTP):
Username: Your full email address
Password: The password you set in CyberPanel

You can also go to Email > List Emails and check email client configurations.

List Emails Accounts CyberPanel

Watch on YouTube

Frequently Asked Questions

Can I use a different VPS provider?

Yes, you can adapt this guide to other VPS providers. Ensure they offer a clean Linux installation and follow similar steps. Also, their port 25 must be open.

Is CyberPanel the only option?

While CyberPanel is user-friendly, other options like iRedMail or Mail-in-a-Box also work well. Choose the one that suits your preferences.

Do I need a dedicated IP address?

While not mandatory, having a dedicated IP enhances reliability. Check with your VPS provider about IP options.

Do I need a paid domain?

Yes, you need a paid domain however don’t settle for cheaper ones. They tend to be used for spamming.

Can I add more than one domain?

Yes, CyberPanel supports multiple domains on a single VPS.


Now you’ve successfully set up your free email server using RackNerd VPS and CyberPanel.

Enjoy the benefits of managing your email infrastructure and the added privacy and security that come with it.

Experiment with additional features offered by CyberPanel to tailor your email server to your needs.

If you encounter any issues, refer to the documentation or seek support from the active CyberPanel community. You can also ask me in the comments below or on my Telegram.

Embrace the freedom and control of hosting your email server!


  1. matto hosein says:

    Hello support after i finished all the set up i tried testing via smtp but it’s not working any solution please

  2. Hello, thanks for the tutorial!!

    I have a problem, installed cyberpanel and can send email trough SMTP, but all e-mails are going to spam folder, I think that is a SSL problem because I already have A record for other hosting server, and need to use racknerd only to smtp… when I use brevo to send e-mail, got on inbox normally, can you help with this? Thank you again

    1. You need to warmup your emails first before sending. Use or warmupinbox. Their purpose is to build reputation for your domain and IP so that it will go directly to inboxes and not spam folder.

  3. Hey it not allowing me to message you on telegram .

      1. it not allowing you to message you bro when i tried it just got some error but i can send message to others , can you tele me @Mickisback

      2. can you send me message on tele @Mickisback

  4. Hey can you dm me on tele i would like to do a donation in crypto

Leave a Reply

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