inGuide | Digital Marketing, Online Business & WordPress
  • Home
  • Blog
  • Deals
  • Services
  • Forum
    • New Forum
  • Free Resources
    • inSend: Mailwizz
  • Contact
  • Click to open the search input field Click to open the search input field Search
  • Menu Menu
Email Marketing, SMTP server

MailerQ installation and configuration on Ubuntu-Step by Step

MailerQ is premium Mail Transfer Agent (MTA), developed to sent bulk emails. It is loaded with some cool features like IP rotation, external MTA IPs, multiple domains, real time stat and so on.

Requirements for MailerQ

  1. A domain from namecheap, Godaddy
  2. MailerQ license
  3. A Cloud or VPS with Ubuntu 20.04 ( minimum 4 GB RAM ). I am using Contabo for the demonstration.

Check out the list of VPS provider with open port 25.

Environment Setup

Connect to the Remote Server

After you have received VPS/cloud login credentials, you need to connect to remote server. Depending on which operating system you are currently working, there are different tools to connect to remote server.

Operating SystemTool
WindowsPutty, BitVise
LinuxTerminal
MacOSTerminal

You can follow this guide to learn more about connecting to remote server.

Checking Port Accessibility

Now you are connected to remote server successfully. But before you can even proceed, you need to make sure port 25 is open on your hosting. Otherwise, whole hard work will go in vain.

To check for open port 25, first install telnet.

sudo apt install telnet -y

Then execute the following command

sudo telnet smtp.gmail.com 25

Now, if port 25 is open, you will see connected message.

Otherwise, you will get timeout message or your command will take infinite time to display output.

Checking Blacklisting of IP

Now you know that port 25 is open on VPS. It’s time to check for VPS IP for backlisting. Blacklisted IP won’t deliver emails to inbox. Simply go to Mxtoolbox and copy your IP to run the check.

If your IP is clean, you are good to go. Otherwise, contact your hosting for replacement of blacklisted IP.

Initial DNS setup

After fulfilling above two pre-requisite, it’s time to create few DNS records for your domain. These records are as follows.

TypeHostValue
AmailIP address
MX@mail.yourdomain.com

Installation of MailerQ

Now, you have completed above steps, it’s time to install MailerQ. We will begin with updating and installing few packages required by MailerQ.

Updating and Upgrading VPS

First of all update your Ubuntu

sudo apt update -y

Next upgrade the Ubuntu with following command

sudo apt upgrade -y

Set the hostname

sudo hostnamectl set-hostname mail.yourdomain.com

Installing RabbitMQ

MailerQ requires RabbitMQ to process queue. First of all you need to install few dependencies.

sudo apt-get install curl gnupg debian-keyring debian-archive-keyring apt-transport-https -y

After that add signing keys and few repositories

sudo apt-key adv --keyserver "hkps://keys.openpgp.org" --recv-keys "0x0A9AF2115F4687BD29803A206B73A36E6026DFCA"
curl -1sLf https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/gpg.E495BB49CC4BBE5B.key | sudo apt-key add -
curl -1sLf https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/gpg.9F4587F226208342.key | sudo apt-key add -

Now add apt repositories maintained by Team RabbitMQ

sudo tee /etc/apt/sources.list.d/rabbitmq.list <<EOF
deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/ubuntu focal main
deb-src https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/ubuntu focal main
deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu focal main
deb-src https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu focal main
EOF

Next, update the repository and install Erlang

apt-get update -y
sudo apt-get install -y erlang-base \
                        erlang-asn1 erlang-crypto erlang-eldap erlang-ftp erlang-inets \
                        erlang-mnesia erlang-os-mon erlang-parsetools erlang-public-key \
                        erlang-runtime-tools erlang-snmp erlang-ssl \
                        erlang-syntax-tools erlang-tftp erlang-tools erlang-xmerl

At last, install RabbitMQ.

apt-get install rabbitmq-server -y --fix-missing

Now, we have rabbitMQ installed let’s check the status

systemctl status rabbitmq-server

Installing MailerQ

First download and add the repository key

wget -qO - https://packages.mailerq.com/mailerq.key | sudo apt-key add -

Add the MQ repository to apt

echo "deb https://packages.mailerq.com/debian stable main" | sudo tee /etc/apt/sources.list.d/mailerq.list

Update and install MailerQ

sudo apt update
sudo apt install mailerq

Configuration of MailerQ

The config file for MailerQ is located at “/etc/mailerq/config.txt”. In this file, you have to pass on few information like address and login credentials of your RabbitMQ message broker, Management Console and the address of your database. Change your management console port to 8485 in config.

# Management console configuration
www-port: 8485

After above step, you need to start MailerQ

sudo service mailerq start

Now, you can got http://YOUR_IP:8485 to access the Management Console and send your first email.

Final DNS Setup

After configuration you need to create few more records to ensure your emails go to inbox. They are as follows.

TypeHostValue
TXT@v=spf1 mx ip4:XX.XX.XXX.XX ~all
TXT_damrcv=DMARC1; p=none
TXTdkim._domainkeyv=DKIM1; k=rsa; p=MSNJHGHGhgVHGGFYSFTYXGHG……..

Now, before sending test email, don’t forget to create reverse DNS record. also known as PTR records. This can be done by yourself in Contabo, but in other hosting you may want to ask the hosting provider.

Conclusion

MailerQ installation difficulty is above average. I have written all the steps for successful installation. If you face any issue, feel free to open a topic in forum.

June 28, 2021/0 Comments/by Dhiraj Rahul
Tags: bulk mail server, bulk smtp, mailerq, smtp server
Share this entry
  • Share on Facebook
  • Share on X
  • Share on WhatsApp
  • Share on Pinterest
  • Share on LinkedIn
  • Share on Tumblr
  • Share on Vk
  • Share on Reddit
  • Share by Mail
https://inguide.in/wp-content/uploads/2021/02/inguide_logo_red_340_156-300x138.png 0 0 Dhiraj Rahul https://inguide.in/wp-content/uploads/2021/02/inguide_logo_red_340_156-300x138.png Dhiraj Rahul2021-06-28 06:52:082021-06-28 07:39:27MailerQ installation and configuration on Ubuntu-Step by Step
You might also like
smtp-server-iredmail Install Zimbra on Ubuntu 20.04 Step by Step
Postal-smtp-server Build Postal SMTP Server & Send Bulk Emails Step by Step on Ubuntu 22.04
smtp-server-iredmail Build SMTP server with iRedMail on Ubuntu 22.04 in Simple Steps
smtp-server-iredmail 17 Popular Free & Paid Mail Transfer Agents
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply Cancel reply

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

Table of Contents

Search Search

Recent Posts

  • Install Mattermost on Ubuntu/Debian
  • 17 Popular Free & Paid Mail Transfer Agents
  • Top 10 VPN Service Providers & Why!!
  • 15 Best Canva Alternatives for Graphic Design [Free & Paid]
  • 12 Best third-party SEO tools for your website
  • Best NFT Marketplace For Beginners
  • Best WordPress ad management plugin
  • What is Domain Name System blacklist (DNSBL)?
  • Introduction to the Basics of Linux
  • What is Proxy Server?

Categories

  • Chat & Collaboration
  • Domain
  • Email Marketing
  • Email Service
  • Graphic Design
  • Hosting
  • Learning Management System
  • Linux
  • Miscellaneous
  • Proxy
  • Search Engine Optimization
  • SMS
  • SMTP server
  • WooCommerce
  • Wordpress
  • WP Security
Popular
  • Postal-smtp-server
    Build Postal SMTP Server & Send Bulk Emails Step by...March 25, 2021 - 5:19 am
  • install-configure-powermta-centos-8
    Install & Configure PowerMTA on CentOS with IP rot...February 15, 2021 - 4:23 am
  • postal-create-SMTP-add-domain-SSL
    Simplest Way to Configure Postal & Create SMTP + Install...March 27, 2021 - 9:20 am
  • Install CyberPanel on Ubuntu and Create WordPress Websi...September 22, 2021 - 10:05 am
  • Create Mail Server on Windows with Open Source hMailSer...June 13, 2021 - 10:15 am
  • zimbra-free-ssl-certificate-install
    How to Install Free SSL Certificate on Zimbra Mail Serv...May 9, 2021 - 2:21 pm
  • install-zimbra-mail-server-on-centos-8
    Install Zimbra Mail Server on CentOS 7/8 Step by StepMay 9, 2021 - 6:05 am
  • Install and Configure MailCow – Best Self Hosted Mail...May 12, 2021 - 10:32 am
  • lets-encypt-certificate
    Installing Let’s Encrypt Free SSL Certificate on ...March 24, 2021 - 7:36 am
  • install-wordpress-cloud-hosting
    Super Easy Way to Install WordPress on Cloud Hosting in...March 30, 2021 - 1:35 am
Comments
  • vikasCannot "Build a new mail server" #3295 On a fresh installation...May 15, 2025 - 1:19 pm by vikas
  • SivaHow can find about aol blocking and know about email inbox...February 26, 2025 - 7:04 pm by Siva
  • RAKESH GUPTAWe want to change our default CentOS Mail Server to something...December 5, 2024 - 7:15 am by RAKESH GUPTA
  • LavisHey, Can you help me to choose good SMTP server between...November 18, 2024 - 11:12 am by Lavis
  • ApostleThis question is never answeredOctober 29, 2024 - 6:19 am by Apostle
Tags
Ahrefs Aol Canva dkim dkim generator dkim powermta dmarc generator easyengine email deliverability free Gmail install docker ubuntu install free ssl zimbra install mailcow install mailwizz install wordpress install wordpress on google install zimbra centos 8 iredmail mailcow Mailu mailu docker compose mailwizz Memberpress MTA open source chat app outlook Plugin Postal postal server postal smtp private chat server rocket.chat SEO smtp server spf generator Talos VPN WooCommerce WordPress wordpress on cloud hosting Yahoo zimbra zimbra mail server zimbra ssl

Follow us on Facebook

X Logo X Logo Followon X

Information

  • About
  • Account
  • Blog
  • Contact
  • Deals
  • List of VPS Hosting that Provides Open Port 25
  • Login
  • Newsletter
  • Privacy Policy
  • Terms of Service
  • Thank You
  • Verify Account

Resources

  • Account
  • Deals
  • Downloads
  • List of VPS Hosting that Provides Open Port 25
  • Login
  • Services
  • Thank You
  • Verify Account

Categories

  • Chat & Collaboration
  • Domain
  • Email Marketing
  • Email Service
  • Graphic Design
  • Hosting
  • Learning Management System
  • Linux
  • Miscellaneous
  • Proxy
  • Search Engine Optimization
  • SMS
  • SMTP server
  • WooCommerce
  • Wordpress
  • WP Security

Archive

  • November 2025
  • July 2023
  • June 2023
  • May 2023
  • January 2023
  • November 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • September 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
© Copyright - inGuide | Digital Marketing, Online Business & WordPress
  • Terms of Service
  • Privacy Policy
Link to: Secret of IP warming – Plans, Schedule, Strategy & Pitfalls Link to: Secret of IP warming – Plans, Schedule, Strategy & Pitfalls Secret of IP warming – Plans, Schedule, Strategy & Pitfalls Link to: Install CyberPanel on Ubuntu and Create WordPress Website Link to: Install CyberPanel on Ubuntu and Create WordPress Website Install CyberPanel on Ubuntu and Create WordPress Website
Scroll to top Scroll to top Scroll to top