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

Simplest Way to Configure Postal & Create SMTP + Install SSL

postal-create-SMTP-add-domain-SSL

In the article Install Postal SMTP server on Ubuntu 22.04, I already have discussed steps to install Postal Successfully. Now in this article, I will tell you the commands and steps required to configure Postal, create organizations, add domains, create SMTP, etc. Apart from that, I will also discuss the steps required to install an SSL certificate. Now, here note that SSL for click tracking is handled by Postal and therefore you don’t have to do anything for that. It’s only the SSL for web UI and SMTP that we are going to install and configure.

Creating the First SMTP on postal

First of all login into your Postal and then create your first organization.

postal-dashboard

Next, create your First SMTP server

build-smtp-server-postal

On the next screen fill in the details

build-smtp-server-postal

After you have successfully built the server, it’s time to add a domain.

postal-add-domain

Next, you will be given a set of DNS records to create. So, just create them.

Creating DNS records for Postal

There is a very nice article already written by developers of Postal to create DNS records. But if you follow along, you might get lost and miss the mail-tester 10/10 score.

Create the following records

NameTypeValue
mailA1.2.3.4
rp.mailA1.2.3.4
track.mailA1.2.3.4
psrpCNAMErp.mail.inguide.in
@MX10; mail.inguide.in
routes.mailMX10; mail.inguide.in
rp.mailMX10; mail.inguide.in
@TXTv=spf1 a mx include:spf.mail.example.com ~all
rp.mailTXTv=spf1 a mx include:spf.mail.example.com ~all
spf.mailTXTv=spf1 ip4:1.2.3.4 ~all
postal-a1b2c3._domainkeyTXTv=DKIM1; t=s; h=sha256; p=MIGfMA0GC…;
_dmarcTXTv=DMARC1; p=reject; sp=reject; rua=mailto:[email protected]

Creating SMTP server

Go to the credentials tab and add credentials

postal-create-credentials

After you have created credentials, the key will automatically appear which is none other than your SMTP password in case you have selected SMTP from the drop-down list. Otherwise, it can be used as an API key.

Now you can do the testing with several email marketing tools available.

Installing Free SSL on Postal

The postal dev team has done a commendable job implementing Caddy for Auto SSL. All you need to run the following command to install SSL.

docker run -d \
   --name postal-caddy \
   --restart always \
   --network host \
   -v /opt/postal/config/Caddyfile:/etc/caddy/Caddyfile \
   -v /opt/postal/caddy-data:/data \
   caddy

Now you can go to https://mail.yourdomain.com and log in using admin credentials.

Video

Conclusion

Installing and configuring Postal for beginners could be a daunting task. But with the help of this and the previous article along with the video guide, I hope you would be able to install it successfully.

March 27, 2021/25 Comments/by Dhiraj Rahul
Tags: Postal, postal server, postal smtp
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/03/postal-inguide.jpg 720 1280 Dhiraj Rahul https://inguide.in/wp-content/uploads/2021/02/inguide_logo_red_340_156-300x138.png Dhiraj Rahul2021-03-27 09:20:552023-03-16 05:13:36Simplest Way to Configure Postal & Create SMTP + Install SSL
You might also like
Postal-smtp-server Build Postal SMTP Server & Send Bulk Emails Step by Step on Ubuntu 22.04
25 replies
  1. TAOUFIK EL BOUAIDI
    TAOUFIK EL BOUAIDI says:
    June 14, 2021 at 1:45 am

    Hello sir, thanks for your video that explains how to create Postal SMTP!

    i followed ur Video and everything went Just great till the last part! when i do test sending email
    it failed saying ” soft fail “

    Reply
  2. Faruk Rahaman
    Faruk Rahaman says:
    August 25, 2021 at 11:18 pm

    SSL not install
    When i run this command certbot certonly –webroot –webroot-path /opt/postal/app/public –domains mail.mydomain.com then the message show “/opt/postal/app/public does not exist or is not a directory”
    I create a directory /opt/postal/app/public this path..after I run the command which i mention
    above the command the message showing below.
    Would you be willing to share your email address with the Electronic Frontier
    Foundation, a founding partner of the Let’s Encrypt project and the non-profit
    organization that develops Certbot? We’d like to send you email about our work
    encrypting the web, EFF news, campaigns, and ways to support digital freedom.
    – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
    (Y)es/(N)o: Y
    Obtaining a new certificate
    Performing the following challenges:
    http-01 challenge for postal.mydomain.org
    Using the webroot path /opt/postal/app/public for all unmatched domains.
    Waiting for verification…
    Challenge failed for domain postal.mydomain.org
    http-01 challenge for postal.mydomain.org
    Cleaning up challenges
    Some challenges have failed.

    IMPORTANT NOTES:
    – The following errors were reported by the server:

    Domain: postal.mydomain.org
    Type: unauthorized
    Detail: Invalid response from
    https://postal.mydomain.org/.well-known/acme-challenge/wTVdxm0GyfEiUEr XVjsKdTLrVg1esDxGa5NR2UMRs0Y
    [62.38.62.32]: 502

    To fix these errors, please make sure that your domain name was
    entered correctly and the DNS A/AAAA record(s) for that domain
    contain(s) the right IP address.
    – Your account credentials have been saved in your Certbot
    configuration directory at /etc/letsencrypt. You should make a
    secure backup of this folder now. This configuration directory will
    also contain certificates and private keys obtained by Certbot so
    making regular backups of this folder is ideal.

    please help me.

    Reply
    • Dhiraj Rahul
      Dhiraj Rahul says:
      August 27, 2021 at 2:49 am

      The latest Postal has a different way of SSL installation. Please use caddy as provided by them for SSL.

      Reply
  3. othmane
    othmane says:
    December 15, 2021 at 9:51 am

    hello i can’t sent messages they still in pending, and i have this error
    postal_cron_1 /docker-entrypoint.sh post … Up
    postal_requeuer_1 /docker-entrypoint.sh post … Exit 1
    postal_smtp_1 /docker-entrypoint.sh post … Up
    postal_web_1 /docker-entrypoint.sh post … Up
    postal_worker_1 /docker-entrypoint.sh post … Exit 1
    what should i do please ?

    Reply
    • Dhiraj Rahul
      Dhiraj Rahul says:
      January 1, 2022 at 2:59 pm

      Check your config file. You might have some missing or incorrect information in it.

      Reply
  4. zakaria
    zakaria says:
    February 1, 2022 at 12:03 am

    Othmane : that exit 1 if you past to google you will know what mean that ,, so just in terminal put postal stop , then postal start , then postal status ,,,, do that fast and you will see all up ,,,,,,but if you use again postal status after 1 minute you will see exit 1 because the docker do that by default when nothing in their containers ,,,,,,,,,
    my problem now why the test not work in server and how I uninstall or delete the kaddy for I reinstall again because not work

    Reply
    • Dhiraj Rahul
      Dhiraj Rahul says:
      February 1, 2022 at 6:21 am

      Make sure you have used the correct information in postal.yml file.
      exit 1 is related to this only

      Reply
      • zakaria
        zakaria says:
        February 1, 2022 at 12:55 pm

        all information is true , now i need fix the SSL

        Reply
  5. Hendra Hendartok
    Hendra Hendartok says:
    February 17, 2022 at 12:55 pm

    I tried install ssl with command

    #certbot certonly –webroot –webroot-path /opt/postal/app/public –domains mail.obelixnorp.net

    But result be fail like this

    /opt/postal/app/public does not exist or is not a directory

    Can u expland?

    Reply
  6. spams
    spams says:
    February 26, 2022 at 3:39 pm

    make an article on IP rotation, how to use more than on IP to send mails, and also there’s tracking available on postal as well, do that too

    Reply
  7. Hetich
    Hetich says:
    April 5, 2022 at 9:59 pm

    Hi Dheeraj,

    Please share the link to the next part where you have made the videos on Postal IP rotation, and how to configure mailwizz/mautic with Postal Smtp.

    I have searched on your Youtube channel, it is not available there.

    Please share the link here

    Reply
  8. mainuddin
    mainuddin says:
    June 12, 2022 at 11:51 am

    “certbot certonly –webroot –webroot-path /opt/postal/app/public –domains mail.get4free.site
    /opt/postal/app/public does not exist or is not a directory
    Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/tmp_t9oel0l/log or re-run Certbot with -v for more details.”

    How To Fix This?

    Reply
    • Dhiraj Rahul
      Dhiraj Rahul says:
      June 16, 2022 at 1:49 pm

      Use caddy to get SSL

      Reply
  9. imad
    imad says:
    June 13, 2022 at 1:25 am

    hello after I set up my vps smtp in postal & wanted to relate it with acellemail I got this message
    Please help

    Something went wrong! Please check your entry and try again.

    Connection could not be established with host mail.amazingfabrica.us :stream_socket_client(): unable to connect to mail.amazingfabrica.us:25 (Connection refused)

    Reply
    • Dhiraj Rahul
      Dhiraj Rahul says:
      June 16, 2022 at 1:48 pm

      Try to use another port apart from 25. And also check your smtp credentials at smtper.net

      Reply
    • leonard ruiz
      leonard ruiz says:
      June 14, 2023 at 6:02 pm

      where you able to fix the issue because i keep having the same issue

      Reply
  10. Yaja
    Yaja says:
    August 31, 2022 at 12:36 pm

    WARNING No TXT records were returned for postal-jMZ2si._domainkey.yourdomain.com

    even after entering the valid Dkim record it says this please help me out with this

    Reply
    • Dhiraj Rahul
      Dhiraj Rahul says:
      September 1, 2022 at 10:58 am

      You have to usually wait for DNS Propagation.

      Reply
  11. iokl8kl
    iokl8kl says:
    January 22, 2023 at 2:45 pm

    postal_cron_1 /docker-entrypoint.sh post … Up
    postal_requeuer_1 /docker-entrypoint.sh post … Up
    postal_smtp_1 /docker-entrypoint.sh post … Up
    postal_web_1 /docker-entrypoint.sh post … Up
    postal_worker_1 /docker-entrypoint.sh post … Exit 1 how can i fix this

    Reply
    • Dhiraj Rahul
      Dhiraj Rahul says:
      February 19, 2023 at 3:10 pm

      Please check the postal.yml configuration file

      Reply
  12. azam
    azam says:
    February 2, 2023 at 11:26 am

    receiving this on sending email
    No SMTP servers were available for srv1.mail-tester.com. Tried reception.mail-tester.com

    execution expired

    Support Ref: UTUHDPHD

    Reply
    • Dhiraj Rahul
      Dhiraj Rahul says:
      February 19, 2023 at 3:08 pm

      mail-tester rejecting a connection request.

      Reply
  13. John
    John says:
    June 20, 2023 at 6:14 pm

    How do I set Postal to start on boot? I searched the entire web and could not find one single document on this.

    Reply
    • Dhiraj Rahul
      Dhiraj Rahul says:
      June 27, 2023 at 5:42 am

      you have to deploy the container again, which means you can write a bash script to to do that on each boot

      Reply
  14. Reward Uzoije
    Reward Uzoije says:
    August 13, 2023 at 8:44 am

    Thank you so much for this guide
    But I need help with the postal IP pool I have search almost the whole if youtube and no one
    No single person has thought of teaching that please can you help?
    I need Ip rotation

    Reply

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: Build Postal SMTP Server & Send Bulk Emails Step by Step on Ubuntu 22.04 Link to: Build Postal SMTP Server & Send Bulk Emails Step by Step on Ubuntu 22.04 Build Postal SMTP Server & Send Bulk Emails Step by Step on Ubuntu 22....Postal-smtp-server Link to: Super Easy Way to Install WordPress on Cloud Hosting in 5 min Link to: Super Easy Way to Install WordPress on Cloud Hosting in 5 min install-wordpress-cloud-hostingSuper Easy Way to Install WordPress on Cloud Hosting in 5 min
Scroll to top Scroll to top Scroll to top