Open your DNS zone in and add the following record: v=spf1 a mx ip4: -all In the same way, you can configure SPF and prevent anyone from using your domain to send emails, So setting SPF is very important when it comes to making your domain trusted by other mailing providers.
Install it with an SSL using below command. You can use any web client to run postal on your web, but in this guide, we are going to use Caddy. You can use postal status to see details of these components. This will run a number of containers on your machine.
Run the following commands to create the schema and then create your first admin user. Make sure you have set up this domain with your DNS provider before continuing. Run the command below and replace with the actual hostname you want to access your Postal web interface at. Copy all the below as one command and paste on putty. For this guide, we're just going to run a single RabbitMQ worker.
As with MariaDB, there are numerous ways for you to install this. RabbitMQ is responsible for dispatching messages between different processes. This will install your postal database on MariaDB. You can run MariaDB in a container, assuming you have Docker, using this command. sudo ln -s /opt/postal/install/bin/postal /usr/bin/postal Maria DB Make sure you have git installed on the server by running below commands. apt install git curl jq Git & installation helper repository There are a few system utilities that you need to have installed before you'll be able to run some of the Postal commands. sudo chmod +x /usr/local/bin/docker-compose sudo curl -L "$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo apt-get install docker-ce docker-ce-cli containerd.io $(lsb_release -cs) stable" | sudo tee /etc/apt//docker.list > /dev/null curl -fsSL | sudo gpg -dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg What you have to know also, that ports can be blocked and opened in two ways, incoming and outgoing, the following diagram will make things clearer: so In order to use a certain service, we need to open that port in the firewall. and so on.īy default, all servers and computers have a firewall running which blocks all ports except the ones you want.
Connecting remotely to another Windows Machine using RDP software works over port 3389.Any network service or software uses a certain port to communicate over the internet or network. I don't want to bother your head within deal technical stuff but in short. I mentioned that the VPS must have port 25 opened, what does this mean?
Note: If you are interested in learning how to host your own websites on a VPS server, you canĪnyway, In our case, we will be using the VPS Server for Building an SMTP server. I think it's clear, but just in case, and As I explained in my Techincal Email Marketing guide, any Email marketing system consists of two parts: Let's connect things, how this is related to email marketing? Just Know that SMTP is the technical thing that is responsible for delivering emails over the internet. It's a Concept in Networking that you don't have to worry about. SMTP stands for “Simple Mail Transfer Protocol”. Simply, SMTP is that thing that allows you to send emails over the internet. I don't like robotic definitions like Wikipedia, I love to make things simple.
Postal is a fully-featured open source mail delivery platform for incoming & outgoing e-mail and gives you all the tools and features needed to build a full mailing system for your business. There are several methods to build SMTP servers, in this guide I will build the SMTP server using a free open source software called “ Postal“. In this Step by Step Guide, I will show you how to set up a Free SMTP server using Postal, the open source SMTP software, and connect it to your email marketing applicaiton to send Unlimited Emails*.Īlso, you will find a video below Showing the setup if you feel something is unclear.