Running an independent newsletter shouldn’t lock you into expensive SaaS pricing tiers as your subscriber list grows. listmonk is a high-performance, open-source newsletter and mailing list manager built in Go, backed by PostgreSQL. Because it is lightweight enough to run comfortably inside 512 MB of RAM, you can host a complete, production-ready newsletter system for $0/month—without even needing a VPS or credit card.
In this guide, we will walk through the entire architecture from scratch:
- Setting up a free serverless PostgreSQL database on Neon
- Deploying listmonk on Render’s free tier
- Connecting a custom subdomain (
://yourdomain.com) via Cloudflare - Safely isolating your sending reputation with a subdomain (
://yourdomain.com) on Brevo SMTP alongside Google Workspace - Connecting a free WordPress Forminator form to listmonk via API
Architecture Overview
To keep the setup 100% free, fast, and isolated from your primary business email:
- Database: Neon Free Tier (Serverless PostgreSQL, 1 GB storage, Singapore region for low latency in India)
- Application Host: Render Free Web Service (Docker runtime, Singapore region, no credit card required)
- DNS & SSL: Cloudflare DNS + Render managed TLS
- Email Delivery (SMTP): Brevo Free Tier (300 emails/day) authenticated on a dedicated sending subdomain (
://yourdomain.com) - Website Capture: WordPress + Forminator Free connected to listmonk’s REST API
Step 1: Create a Free PostgreSQL Database on Neon
Render’s free web services use an ephemeral filesystem, which means local files reset whenever a container restarts. Hosting your database externally on Neon ensures your subscribers, lists, and campaigns are permanently stored.
- Sign up for a free account at Neon (no credit card required).
- Click Create Project, name it
listmonk, and pick the region closest to your audience (e.g., AWS Asia Pacific (Singapore)ap-southeast-1). - Once created, open Connection Details on the dashboard and note down your direct (non-pooled) database credentials:
- Host:
ep-xxxx-xxxx.ap-southeast-1.aws.neon.tech(avoid the-poolerhostname so database schema migrations run smoothly) - Database:
neondb - User:
neondb_owner - Password:
your_generated_neon_password
- Host:
Step 2: Deploy listmonk on Render
- Create a free account at Render and click New + → Web Service.
- Choose Deploy an existing image from a registry and enter the official Docker image:text
listmonk/listmonk:latestUse code with caution. - Configure your service settings:
- Name:
listmonk - Region:
Singapore (Southeast Asia)(matches your Neon database region) - Instance Type:
Free($0/month)
- Name:
Configure Environment Variables
Scroll down to Environment Variables and add the following keys using your Neon database details and your desired initial admin login:
| Key | Value |
|---|---|
LISTMONK_app__address | 0.0.0.0:9000 |
LISTMONK_app__admin_username | [email protected] |
LISTMONK_app__admin_password | YourStrongAdminPassword123! |
LISTMONK_db__host | your-neon-host.ap-southeast-1.aws.neon.tech |
LISTMONK_db__port | 5432 |
LISTMONK_db__user | neondb_owner |
LISTMONK_db__password | your_generated_neon_password |
LISTMONK_db__database | neondb |
LISTMONK_db__ssl_mode | require |
Initialize the Database Tables
listmonk’s Docker image requires a one-time --install command to create its tables in PostgreSQL. Because Render passes the Docker Command field directly to the container entrypoint without a shell wrapper, run it in two quick steps:
- Under Advanced → Docker Command, enter only:text
./listmonk --install --idempotent --yesUse code with caution. - Click Create Web Service. Watch the Logs tab—within ~15 seconds, listmonk will connect to Neon, create all required tables, and exit with status
0. - Now go to Settings → Docker Command, clear the field completely so it is blank, and click Save Changes.
Render will restart using the image’s default command (./listmonk), and your logs will confirm:
text
⇨ http server started on [::]:9000
Use code with caution.
Security & v4+ Cleanup Note: Once you log into listmonk for the first time, return to Render’s Environment tab and delete
LISTMONK_app__admin_usernameandLISTMONK_app__admin_password. listmonk v4+ automatically imports your admin user into the Neon database and manages users under Settings → Users.
Step 3: Connect a Custom Subdomain
- In Render, open your
listmonkservice and go to Settings → Custom Domains. - Click Add Custom Domain and enter
://yourdomain.com. - Copy the
CNAMEtarget Render provides (e.g.,://onrender.com). - In Cloudflare DNS, add a new record:
- Type:
CNAME - Name:
listmonk - Target:
://onrender.com - Proxy status: DNS only (Grey Cloud) (essential so Render can issue and renew your SSL certificate)
- Type:
- Return to Render and click Verify. Within a few minutes, HTTPS will be active at
https://yourdomain.com.
Step 4: Set Up Brevo SMTP on a Dedicated Subdomain
If your root domain (yourdomain.com) is already connected to Google Workspace for primary business communication, never send bulk newsletters from your root domain or Workspace SMTP. Instead, authenticate a dedicated subdomain like ://yourdomain.com on Brevo. This completely isolates your newsletter sender reputation from your main business inbox and avoids any DNS conflicts with Google’s SPF/DKIM records.
1. Authenticate ://yourdomain.com in Brevo
- Create a free account at Brevo (300 emails/day free).
- Go to Senders, Domains & Dedicated IPs → Domains → Add a domain and enter
://yourdomain.com. - Brevo will provide two DKIM
CNAMErecords and one DMARCTXTrecord. Add them to Cloudflare DNS:- DKIM 1 (
CNAME): Name =brevo1._domainkey.mail| Proxy = DNS only (Grey Cloud) - DKIM 2 (
CNAME): Name =brevo2._domainkey.mail| Proxy = DNS only (Grey Cloud) - DMARC (
TXT): Name =_dmarc.mail| Content =v=DMARC1; p=none; rua=mailto:rua@://brevo.com(paste without surrounding double quotes)
- DKIM 1 (
- Click Authenticate this email domain in Brevo until all records turn green.
- Under the Senders tab, add your sender identity—for example,
Your Name <hello@://yourdomain.com>. - Go to SMTP & API → SMTP tab, note your SMTP Login (
[email protected]), and click Generate a new SMTP key.
2. Configure SMTP & General Settings in listmonk
Log into https://yourdomain.com:
- Go to Settings → General:
- Root URL:
https://yourdomain.com(required so confirmation and unsubscribe links resolve properly) - Default “From” email:
Your Name <hello@://yourdomain.com> - Click Save.
- Root URL:
- Go to Settings → SMTP:
- Enabled: Toggle ON
- Host:
://brevo.com(do not includehttp://orhttps://) - Port:
587(Note: If your host blocks port587with ani/o timeout, use Brevo’s alternative port2525) - Auth protocol:
LOGIN - Username: Your Brevo SMTP Login (
[email protected]) - Password: Your generated Brevo SMTP key
- TLS:
STARTTLS - Custom Headers (Optional): Add
Reply-To=[email protected]so subscriber replies go straight to your primary Google Workspace inbox. - Click Save, then send a test email at the bottom of the page.
Step 5: Connect WordPress (Forminator Free) to listmonk
While Forminator Pro includes built-in webhooks, you can connect Forminator Free directly to listmonk’s REST API using a lightweight WordPress code snippet.
1. Create an API User in listmonk
- In listmonk, go to Lists and note your target list’s numeric ID (usually
1). - Go to Settings → Users → + New:
- Name / Username:
wordpress-form - Type:
API - Permissions:
Subscribers: manage(orAdmin)
- Name / Username:
- Save and copy the generated API Token.
2. Add the Forminator Integration Snippet to WordPress
In WordPress, locate your Forminator form’s shortcode (e.g., ) to get its Form ID, and verify your field names (typically email-1 and name-1).
Install the free WPCode plugin (or add this to your child theme’s functions.php) and activate the snippet:
add_action('forminator_custom_form_submit_before_set_fields', function($entry, $form_id, $field_data_array) {
// 1. Replace 452 with your Forminator Form ID
if ((int) $form_id !== 452) {
return;
}
$email = '';
$name = '';
// 2. Match your Forminator field IDs
foreach ($field_data_array as $field) {
if ($field['name'] === 'email-1') {
$email = sanitize_email($field['value']);
}
if ($field['name'] === 'name-1') {
$name = sanitize_text_field($field['value']);
}
}
if (empty($email)) {
return;
}
// 3. Push subscriber to listmonk API
wp_remote_post('https://yourdomain.com', [
'timeout' => 15,
'headers' => [
'Authorization' => 'Basic ' . base64_encode('wordpress-form:YOUR_API_TOKEN'),
'Content-Type' => 'application/json',
],
'body' => wp_json_encode([
'email' => $email,
'name' => !empty($name) ? $name : 'Subscriber',
'status' => 'enabled',
'lists' =>, // Replace 1 with your listmonk List ID
'preconfirm_subscriptions' => false, // Sends double opt-in confirmation email
]),
]);
}, 10, 3);
Use code with caution.
Optional Production Polish
- Prevent Render Cold Starts: Render’s free web services sleep after 15 minutes of inactivity. Set up a free monitor on UptimeRobot to ping
https://yourdomain.comevery 5–10 minutes so your subscriber forms and unsubscribe links always respond immediately. - External Media Storage: Because Render’s disk is ephemeral, configure Cloudflare R2 (10 GB/month free) or Amazon S3 under Settings → Media in listmonk before uploading images into your newsletter campaigns.
Leave a Reply
You must be logged in to post a comment.