Second Brain: Crafted, Curated, Connected, Compounded on 10月02日
自托管新闻简报和邮件列表管理器
index_new5.html
../../../zaker_core/zaker_tpl_static/wap/tpl_guoji1.html

 

作者将自托管的新闻简报和邮件列表管理器Listmonk用于其新简报,与之前使用的Mailchimp和Buttondown相比,Listmonk免费且开源,但需要自行部署。作者通过Railway.app部署Listmonk,并使用JavaScript脚本简化了订阅确认流程。此外,作者还通过GitHub的listmonk-rss插件实现了基于RSS自动发送新闻简报的功能。由于Listmonk不支持自动发送欢迎邮件,作者使用PayHip作为替代方案。作者认为Listmonk的Markdown支持是其主要优势,但同时也承认自托管需要一定的设置工作。

📧 Listmonk 是一个免费且开源的自托管新闻简报和邮件列表管理器,与 Mailchimp 和 Buttondown 等商业服务相比,它提供了更高的数据控制权和更灵活的配置选项,但需要用户自行部署和维护。

🚀 作者通过 Railway.app 部署了 Listmonk,并使用 JavaScript 脚本简化了订阅确认流程,提高了用户体验。此外,作者还通过 GitHub 的 listmonk-rss 插件实现了基于 RSS 自动发送新闻简报的功能,节省了时间和精力。

📈 由于 Listmonk 不支持自动发送欢迎邮件,作者使用 PayHip 作为替代方案,为订阅者提供个性化的欢迎信息,增强用户粘性。作者认为 Listmonk 的 Markdown 支持是其主要优势,因为它允许用户在不损失格式的情况下发送邮件,提高了内容创作的效率。

🔧 作者在 Listmonk 的设置中配置了 Amazon SES 发送邮件,并设置了 SPF、DKIM 和 DMARC 记录,以确保邮件的送达率和安全性。此外,作者还定期备份 PostgreSQL 数据库,以防止数据丢失。

🤔 作者对比了 Listmonk 和 Substack,认为 Listmonk 适合喜欢拥有自己的邮件列表并享受一些设置过程的用户,而 Substack 则更适合希望快速启动和扩展新闻简报业务的用户。

Self-hosted newsletter and mailing list manager. Performance and features packed into a single binary. Free and open source.

My new Newsletter is published with Listmonk on list.ssp.sh. So far I used Mailchimp. I also liked Buttondown, unfortunately, it costs 9$ for above 100 subscribers.

By using open source Listmonk, I have the sending emails and collecting and unsubscribing from a newsletter, which I needed. But I had to deploy it myself. I used Railway.app.

# Settings

# Automatic Confirm Subscription Email by Clicking in Email

Default behaviour, if you click on the confirm button in your email:

It wil infact not confirm yet, you need another click once again confirm on the linked page. I believe this is why many have not confirmed my email subscribtion, tough many are subcribing itself.

There is a workaround for this by pasting the following piece of JavaScript in Settings -> Appearance -> Public -> Custom Javascript:

1
document.querySelector(".optin-form").submit();

After that, the above confirm will open a browser window and automatically click/submit the button after opening the browser. I think this should be default as it won’t work if JavaScript it blocked in your browser.

# Automation

# Sending Emails of Newsletter with Amazon SES

Sending it with Amazon SES.

Make sure you set up and verify the domain, and set some other settings like SPF, DKIM, and DMARC records. Check Bulk or mass email service for Newsletter and Email Automation.

I think I used these checklists:

Based on RSS new email - Provide an RSS integration for listmonk, a self-hosted newsletter and mailing list manager. GitHub - listmonk-rss: by Stephan Heuel.

I just enabled automatic email send when I create a new article based on my RSS-Feed. I used Above repo by Stephan and forked it. Locally I can run make dry_run or live:

12
cd ~/Documents/git/sspaeti.com/listmonk-rssmake create_campaign

It works like a charm. This will schedule a campaign with the latest articles since LAST_UPDATE with a delay of 180 minutes.

# This is how it looks

Make commahttps://www.ssp.sh/brain/img_Listmonk_1744101659613.webp1744101659613.webp">

New createdhttps://www.ssp.sh/brain/img_Listmonk_1744101663722.webhttps://www.ssp.sh/brain/img_Listmonk_1744101710902.webp>

And the Email:

Wdyt? :)

# Welcome Emails

Listmonk does not support automatically sending welcome emails or other messages. It is better to use Email Automation, something like Mautic, as mentioned in the GitHub issue.

A hacky solution with Listmonk on Auto reply on subscription (Issue #206).

The alternative I use for now is PayHip, see on My Services.

Opt-In Campain to none-confirmed subscribers

# Interface

# Querying

1
subscribers.created_at >= '2025-09-23 00:00:00' 

or

1
subscribers.created_at::DATE = '2025-09-23'

# Tech Setup and Maintenance

# Upgrade Listmonk on Railapp

    Head to your dashboard, and select your Listmonk project.Select the GitHub deployment service.In the Deployment tab, head to the latest deployment, click on the three vertical dots to the right, and select “Redeploy”.


see more on Upgrade - listmonk / Documentation

# Backup Postgres DB

Check Automated PostgreSQL Backups.

Our data should is now being automatically backed up to our S3 bucket. If we ever want to restore this data to a database, we can do so very easily using pg_restore.

First, unzip the backup which is stored as a tar.gz file and then run:

1
pg_restore -d 'DATABASE_URL' BACKUP_FOLDER

In the above snippet, replace the DATABASE_URL with the connection URL of the database you’d like to restore the data to and the BACKUP_FOLDER with the name of the folder to which you extracted your backup zip file and voila, your backup has been restored!

# Listmonk vs. Alternatives

# Listmonk vs. Substack

Fast network growth can fade as fast as it came. Sometimes I wonder if, when most land in email inboxes, and you get 10 or 20 of them, people are still reading them as much as Substack wants us to believe.

And I’ve been there, coming from Mailchimp, then Medium in a way, now Substack, what’s next? The cost of switching is real, too. I love Listmonk if you like to own your list and enjoy a little bit of setup. It’s great. The best part, and why I chose it in the first place, is Markdown support. No code converting from text to an image, or afraid of losing formatting from your text editor to the Substack editor. My LinkedIn Comment

# Further Reads


Origin: Newsletter
References: listmonk - Free and open source self-hosted newsletter, mailing list manager, and transactional mails, Send Checklist for Reaching Audience
Created 2023-04-09

Fish AI Reader

Fish AI Reader

AI辅助创作,多种专业模板,深度分析,高质量内容生成。从观点提取到深度思考,FishAI为您提供全方位的创作支持。新版本引入自定义参数,让您的创作更加个性化和精准。

FishAI

FishAI

鱼阅,AI 时代的下一个智能信息助手,助你摆脱信息焦虑

联系邮箱 441953276@qq.com

相关标签

Listmonk 自托管 新闻简报 邮件列表 开源 自动化 Amazon SES PostgreSQL Markdown
相关文章