You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changed
The configuration files now live in Home Assistant's configuration folder, in mailman/, so they can be
edited, versioned and backed up with the rest of it. Everything else (the log, the test set, caches and the
mailbox sign-ins) lives in the app's private folder, which no other app (file editor, Samba, VS Code) can
read, and which is in the app's own backup.
The first start copies both from /addon_configs/<…>_mailman/, compares every file with its copy, and
leaves the old folder untouched with a MOVED.txt note; delete it once you are happy. If the copy fails, the
app stops instead of starting on a fresh configuration.
The mailbox sign-ins are one file, tokens.json: token.json and token-outlook.json are taken into it at
the first start and removed.
A label's sender index (such as Blocked's) is one file for every mailbox: blocked_index.json and outlook_blocked_index.json are merged at the first start.
Running it yourself: mailman auth stores the sign-in in data/tokens.json (or MAILMAN_TOKENS); its --out and the MAILMAN_TOKEN_FILE and MAILMAN_OUTLOOK_TOKEN_FILE settings are gone. A container keeps config/ and data/ in MAILMAN_HOME (default /config), as before.