This tutorial will be showing you how to set up SMTP relay between 2 Postfix SMTP servers on CentOS/RHEL.
Previously we discussed setting up Postfix SMTP relay with mailjet, which is useful when you have to use a commercial SMTP relay service. This tutorial will be showing you how to set up SMTP relay between 2 Postfix SMTP servers on CentOS/RHEL.
Let’s say there are two servers: server A and server B.
You have set up a full-featured mail server on server A with Postfix as the SMTP server. You can use it to send emails directly to recipients, because port 25 isn’t blocked.
Later you use server B to set up a website, which needs to send notification emails to users.
You can set up another mail server on server B, but it’s a waste of time and hardware resources. A more sensible solution is to install Postfix SMTP server on server B and configure it to send emails via server A, which can relay emails from server B to the final recipients. Server A has built up its IP reputation, so you don’t have to build IP reputation for server B.
If you run WordPress on your own Linux server, I recommend you follow this tutorial to set up Postfix SMTP relay. This way, you can get rid of SMTP plugins in WordPress. WordPress plugins slow down your site and they can be vulnerable, such as the vulnerability found in the Easy WP SMTP plugin, which allows unauthorized users to modify WordPress options and execute malicious code. My site has been compromised once, because of a vulnerability in WordPress plugin. So I get rid of as many plugins as I can, when I can implement the same functionality with the underlying operating system.
Without further ado, let’s get started.
Set Up a Full-Featured Mail Server on CentOS 8 with iRedMail - This tutorial will be showing you how to use iRedMail to quickly set up a full-featured mail server on CentOS 8, saving you lots of time and headaches.
Quick and easy way to set up a full-featured mail server on CentOS 7. Send unlimited transactional emails or newsletter. Follow best practices to improve email deliverability.
Run Your Own Email Server on CentOS 8/RHEL 8 - Postfix SMTP Server - This is the best tutorial series about building email server on CentOS 8/RHEL 8 from scratch on the Internet. Not only will you have a working email server, but also you will have a much better understanding about how email works.
This tutorial is going to show you how to create virtual mailboxes on CentOS 8/RHEL 8 mail server with PostfixAdmin, which is an open-source web-based interface to configure and manage a Postfix based email server for many domains and users.
Step by step on how to set up Policyd-SPF with Postfix and Amavisd-new for DKIM signing on CentOS 8/RHEL 8 mail server to improve email deliverability.