mirror of
https://github.com/fscotto/infra.git
synced 2026-11-26 13:49:52 +00:00
Seed a Thunderbird profile on ikaros and nymph with the iCloud account already declared: IMAP imap.mail.me.com:993 over SSL/TLS, SMTP smtp.mail.me.com:587 over STARTTLS, identity and folder mapping, one CalDAV calendar and one CardDAV address book. Account defaults are rendered into a managed user.js because Thunderbird rewrites prefs.js on exit, while user.js is re-applied at every start. profiles.ini is seeded only when absent so a profile list Thunderbird already owns is never replaced. The address comes from vault_icloud_email and the display name from vault_personal_full_name. The app-specific password is deliberately not stored: Thunderbird requests it on first use and keeps it in its own credential store. Validated by rendering the templates and running Thunderbird 158 headless against a sandbox profile: the account was accepted, Local Folders was created by Thunderbird itself, the CalDAV calendar registered as default and the CardDAV directory instantiated its abook-icloud.sqlite.
1.6 KiB
1.6 KiB