Listmonk Plus Postfix

Consider this experimental. Managing mail servers can be complicated and if you decide to implement your own then take care to check that you have it configured properly. This is informational only and not meant to have all the answers, just a proof of concept as of this writing.

Why Listmonk and Postfix?

If you read my other article The Mailing list dilemmma then you know I have been looking for a mailing list solution and that I did not want to use a Saas service like Mailchimp or any of the others. Listmonk is fairly simple to install and postfix is the simplest well established smtp mail server to configure(mail servers can be daunting). I looked at several other host your own open source mailing lists other than listmonk and I may try them in the future. All require an additional smtp solution and many recommend(including listmonk) using Mailgun or another third party solution for the smtp aspect. In this case I am hosting my own smtp using postfix.

How It Works

First of all, all of this is installed on a linux server hosted in a data center. You can test some of it on a local home computer if you wanted to. In the end you would need to host it on a public IP address with a proper hostname.

Listmonk considerations

Listmonk runs at localhost:9000(127.0.0.1:9000). It can be configured to run with 0.0.0.0:9000 but this is not a good idea as it will not be secure. If you are hosting on the web you need to use a reverse proxy like nginx or apache set up securely using TLS/https. This not spelled out on the listmonk site so keep that in mind.

Postfix

Postfix requires more time to understand and make sure it is configured correctly. Based on past experience with running a mail server I wanted to make sure my server was not relaying or allowing any other unwanted behavior. Checking mail logs and configuring ssl are requirements to make sure everything is working as expected and to keep connections encrypted. In the main config file you configure postfix to only relay mail from the local server and the server that listmonk is installed on.

Listmonk And Postfix Final Notes

As of lately running your own smtp server has generally been discouraged. The main reason being that if you want your mail to arrive and arrive without ending up in a spam folder you may need to build trust in the www mail server universe. Many use Saas services like mailchimp or aweber instead for this reason. When using software like listmonk it is often remcommended to use a service like Mailgun for the smtp server. Installing Listmonk and or Postfix are DIY solutions for tech savy people or an IT dept. Having said that it is doable. With AI built into search engines finding the details has become easier. If you are using claude or some other more complete AI solution it can probably be automated.

neuroprice'