crabmail

Static HTML email archive viewer in Rust
git clone git://git.alexwennerberg.com/crabmail
Log | Files | Refs | README | LICENSE

commit 6c55619285e372000aefa46fee7024c04781befe
parent 17139be021391b9e8f3c7399f3a6b87fa7cf8575
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Sat,  1 Jan 2022 20:23:54 -0800

Cleanup scripts, docs

Diffstat:
MREADME | 5++++-
Mmisc/mbsyncrc | 12++++++++----
Amisc/rsync.sh | 1+
Msrc/style.css | 4++--
4 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/README b/README @@ -18,6 +18,8 @@ EMAIL FOREVER! Install and usage ================= +(DRAFT) see https://alex.flounder.online/tech/howtolist.gmi for more detail + git clone https://git.alexwennerberg.com/crabmail/ cd crabmail && cargo install --path . @@ -26,7 +28,8 @@ Copy crabmail.conf and set the variables as needed. Run crabmail [maildir root] -c [config-file.conf]. If you want to use an mbox, use https://github.com/leahneukirchen/mblaze to -import it into a maildir +import it into a maildir. Mblaze also has some tools that you may find +supplementary to crabmail. Open site/index.html in a web browser diff --git a/misc/mbsyncrc b/misc/mbsyncrc @@ -1,13 +1,17 @@ # example config +# put in ~/.mbsyncrc +# mbsync --all to run +# two-way sync in case you want to edit things locally as well + MaildirStore local -Path ~/mail/migadu/ +# make this directory first +Path ~/mail/ SubFolders Verbatim -Inbox ~/mail/migadu/Inbox Trash Trash IMAPStore migadu SSLType IMAPS -Host imap.migadu.com +Host imap.example.com Port 993 User username@example.com Pass hunter2 @@ -17,7 +21,7 @@ Channel migadu Master :migadu: Slave :local: SyncState * -Patterns * INBOX +Patterns lists/* Create Both Expunge Both Sync All diff --git a/misc/rsync.sh b/misc/rsync.sh @@ -0,0 +1 @@ + rsync -avzh ./site/ alex@example.com:/www/crabmail/ --delete diff --git a/src/style.css b/src/style.css @@ -4,14 +4,14 @@ --main-text: black; --light-text: dimgrey; } -/* @media (prefers-color-scheme: dark) { */ +@media (prefers-color-scheme: dark) { :root { --main-text: white; --light-text: #CCC; --link: #21e6c1; --background: #1b262c; } -/* } */ +} body { padding: 2ch;