feat(email): add himalaya config for alexander@alexanderwhitestone.com
Some checks failed
Architecture Lint / Linter Tests (pull_request) Successful in 24s
Smoke Test / smoke (pull_request) Failing after 22s
Validate Config / YAML Lint (pull_request) Failing after 19s
Validate Config / JSON Validate (pull_request) Successful in 14s
Validate Config / Python Syntax & Import Check (pull_request) Failing after 56s
Validate Config / Python Test Suite (pull_request) Has been skipped
Validate Config / Cron Syntax Check (pull_request) Successful in 15s
Validate Config / Shell Script Lint (pull_request) Failing after 1m8s
Validate Config / Deploy Script Dry Run (pull_request) Successful in 14s
Validate Config / Playbook Schema Validation (pull_request) Successful in 21s
PR Checklist / pr-checklist (pull_request) Successful in 5m3s
Architecture Lint / Lint Repository (pull_request) Failing after 19s
Some checks failed
Architecture Lint / Linter Tests (pull_request) Successful in 24s
Smoke Test / smoke (pull_request) Failing after 22s
Validate Config / YAML Lint (pull_request) Failing after 19s
Validate Config / JSON Validate (pull_request) Successful in 14s
Validate Config / Python Syntax & Import Check (pull_request) Failing after 56s
Validate Config / Python Test Suite (pull_request) Has been skipped
Validate Config / Cron Syntax Check (pull_request) Successful in 15s
Validate Config / Shell Script Lint (pull_request) Failing after 1m8s
Validate Config / Deploy Script Dry Run (pull_request) Successful in 14s
Validate Config / Playbook Schema Validation (pull_request) Successful in 21s
PR Checklist / pr-checklist (pull_request) Successful in 5m3s
Architecture Lint / Lint Repository (pull_request) Failing after 19s
- Add config/himalaya/config.toml with IMAP/SMTP to Stalwart
- Reference EMAIL_PASSWORD via env var (keeps secret out of VCS)
- Create .env.example documenting EMAIL_PASSWORD for hermes .env
This sets up terminal email on Mac. After brew install himalaya:
1. Copy config/himalaya/config.toml to ~/.config/himalaya/config.toml
2. Export EMAIL_PASSWORD (or add to ~/.hermes/.env)
3. Run: himalaya envelope list # verify inbox
himalaya message send --to you@example.com "test"
Closes #321
This commit is contained in:
7
.env.example
Normal file
7
.env.example
Normal file
@@ -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
|
||||
25
config/himalaya/config.toml
Normal file
25
config/himalaya/config.toml
Normal file
@@ -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"
|
||||
Reference in New Issue
Block a user