diff --git a/.env.example b/.env.example new file mode 100644 index 00000000..bc367649 --- /dev/null +++ b/.env.example @@ -0,0 +1,7 @@ +# Hermes environment variables +# Copy this file to .env and fill in real values. +# DO NOT commit .env — it is gitignored. + +# Email credentials for himalaya terminal client +# Stalwart Mail Server at mail.alexanderwhitestone.com +EMAIL_PASSWORD=changeme diff --git a/config/himalaya/config.toml b/config/himalaya/config.toml new file mode 100644 index 00000000..f26a0f8f --- /dev/null +++ b/config/himalaya/config.toml @@ -0,0 +1,25 @@ +# Himalaya configuration for Timmy Foundation email +# Access alexander@alexanderwhitestone.com via Stalwart Mail Server +# +# This config references EMAIL_PASSWORD environment variable so that +# the actual secret is not stored in version control. +# +# After copying this file to ~/.config/himalaya/config.toml, ensure +# EMAIL_PASSWORD is set in the environment (or in ~/.hermes/.env). +# Then verify: +# himalaya envelope list # should show inbox +# himalaya message send --to you@example.com "test" + +[imap] +host = "mail.alexanderwhitestone.com" +port = 993 +ssl = true +username = "alexander@alexanderwhitestone.com" +password_env = "EMAIL_PASSWORD" + +[smtp] +host = "mail.alexanderwhitestone.com" +port = 465 +ssl = true +username = "alexander@alexanderwhitestone.com" +password_env = "EMAIL_PASSWORD"