Files
heidi/lib/auth
Cato c6581b52e4 fix(mail): the sender is asked for before every mail, and replies go to an address that receives (#297)
The first mail of each server process went out from the fleet's shared
sender: the From line was read from a cache nothing had filled yet, while
/api/health, which fills it, reported Heidi's own domain. Every mail now
awaits that answer first, and one sender is shared by all route bundles.

Reply-To was hello@ on Heidi's host, which has no MX record. It is now the
contact address from config, or MAIL_ADDRESS when set.

Claude-Session: https://claude.ai/code/session_019MDtmsubNtjznXC5pMf4fD
2026-11-11 17:31:20 +01:00
..