![]() |
2 سال پیش | |
---|---|---|
.github | 2 سال پیش | |
doc | 2 سال پیش | |
misc | 2 سال پیش | |
src | 2 سال پیش | |
.gitignore | 2 سال پیش | |
Cargo.lock | 2 سال پیش | |
Cargo.toml | 2 سال پیش | |
LICENSE | 2 سال پیش | |
README.md | 2 سال پیش | |
TODO | 2 سال پیش | |
crabmail.conf | 2 سال پیش |
A static mail HTML and Gemini archive for the 21st century, written in Rust. Includes helpful "modern" features that existing solutions lack, like:
Not implemented yet / designed:
EMAIL FOREVER!
To use crabmail to host your own public inbox archive-first mailing list, check out Self-hosted Public Inbox in 2022
To install:
git clone git://git.alexwennerberg.com/crabmail/
cd crabmail && cargo install --path .
Copy crabmail.conf
and set the variables as needed.
Get a maildir folder, for example, via mbsync
. Crabmail will create sub-lists
for each folder inside this maildir.
Run crabmail [maildir root] -c [config-file.conf].
For more thorough documentation, run man doc/crabmail.1
. You can also move
these wherever your docs manpages may live
If you want to use an mbox file (for example, to mirror another archive), use mblaze to import it into a maildir. Mblaze also has some tools that you may find supplementary to crabmail.
For example:
mkdir -p lists/mylist/cur lists/mylist/tmp lists/mylist/new
mdeliver -M lists/mylist < mylist.mbox
crabmail lists
Open site/index.html
in a web browser
This is only tested on Linux. Notably: Any character other than "/" is allowed in filenames used in message-id. Make sure this doesn't break anything or cause a security vuln on your filesystem.
For patches, use git-send-email
or git-format-patch
to send a patch to my mailing list
git-format-patch
is preferred for non-trivial or multi-commit changes
Crabmail is AGPLv3 licenses, but some files are licensed under 0BSD or other more permissive licenses. I call this out when I can.
For a similar project, check out bubger
Consider supporting me and my projects on patreon