Passwords are no longer stored in config.toml. Instead:
- New setup wizard (--configure) prompts for credentials on first run
and stores them in the OS keychain (macOS Keychain, GNOME Keyring /
KWallet on Linux, Windows Credential Manager)
- Env-var fallback: TUIMAIL_<KEY> for headless environments
- ProtonMail session token moves from session.json to the keychain
- Config file path moves to {config_dir}/tuimail/config.toml
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
38 lines
1.3 KiB
Text
38 lines
1.3 KiB
Text
# Passwords are stored securely in the OS keychain.
|
|
# Run `tuimail --configure` to set up credentials.
|
|
#
|
|
# This file shows all non-sensitive fields you can set manually.
|
|
# Copy it to the tuimail config directory and edit as needed, then
|
|
# run `tuimail --configure` to store passwords in the keychain.
|
|
|
|
# ── Standard IMAP/SMTP provider (default) ─────────────────────────────────────
|
|
# provider = "imap" # optional — "imap" is the default
|
|
|
|
[imap]
|
|
host = "imap.gmail.com" # your provider's IMAP server
|
|
port = 993
|
|
username = "you@example.com"
|
|
use_tls = true
|
|
|
|
[smtp]
|
|
host = "smtp.gmail.com" # your provider's SMTP server
|
|
port = 465
|
|
username = "you@example.com"
|
|
# tls_mode options: none | starttls | smtps
|
|
tls_mode = "smtps"
|
|
from = "Your Name <you@example.com>"
|
|
|
|
|
|
# ── ProtonMail provider ────────────────────────────────────────────────────────
|
|
# Uncomment the lines below (and remove or comment out [imap]/[smtp] above).
|
|
# Build with: cargo build --features proton
|
|
# Run with: cargo run --features proton
|
|
#
|
|
# provider = "proton"
|
|
#
|
|
# [proton]
|
|
# username = "you@proton.me"
|
|
#
|
|
# [bridge]
|
|
# imap_port = 1143
|
|
# smtp_port = 1025
|