This release is mostly about security. I reviewed how Gofer handles messages, files and connections, and closed several ways a crafted message or link could act with the reader's session or reach services on the server's own network. It also brings Express, a new visual style, and a reworked experience on phones.
Security
- Messages can no longer run scripts. Message pages carry a strict policy, the HTML filter now parses messages like a browser does, and Gofer's own pages only run Gofer's scripts.
- Fixed crafted links and message attachments (such as SVG or XHTML parts) that could run as pages with the reader's session. Files from messages are now sandboxed and only images show in place.
- Remote images are fetched by Gofer instead of the browser, so senders no longer see your IP address. Embedded images in messages now show again.
- Gofer no longer connects to servers on private network addresses unless they are approved. This covers mail, calendar and contacts servers, remote images, sender avatars and push delivery.
- Stored mail, calendar and contacts passwords are now bound to their account, so a copied password no longer decrypts elsewhere.
- Sender avatars are served only as sandboxed images, slow or idle connections are dropped, and shared mode limits upload sizes.
Express theme
A third visual style inspired by the classic Windows mail client: silver bevelled windows, navy title bars and highlights, Tahoma, and colorful classic icons. Choose it in Settings, Appearance. It has no dark mode, by design.
Phones and small screens
- The mail list, reader, compose, contacts, calendar and settings were reworked as phone screens, with larger text and touch targets.
- Threads show as separate sheets with quoted history collapsed, and every message in a thread has its own reply buttons.
Other improvements
- The account wizards test mail settings before saving anything.
- Messages over 25 MB are downloaded only when you ask.
- Search by message size works, and select all was added to the mail list.
- Clicking Today in the calendar also selects today.
- Scripts and stylesheets are sent compressed, so the first load is much smaller.
- You can sign in over plain HTTP on a home or office network by setting
GOFER_ALLOW_INSECURE_LAN=true. Public addresses still require HTTPS. - Gmail syncs stay within each mailbox's request quota, leaving room for what you're doing and easing off gradually after Gmail refuses a request. Outlook accounts now wait as long as Outlook asks after a throttled sync, in every mode.
- Fixed recipients showing twice, drafts in threads, sender pictures that stopped showing, and pages that stalled after a few page loads.
Before upgrading
- Private mail, calendar or contacts servers: an account using a server on your local network stops syncing until you approve that server under Mail security (Settings, Security; or the admin panel in managed mode).
- Command line:
authrecovery and session revocation take--user-idor--usernameinstead of--user, and unknown arguments now stop Gofer instead of starting it. - Stored passwords are upgraded once on first start. Going back to 0.5.x needs your backup, or re-entering the passwords.
- There are no other database changes (schema stays at 107). As always, back up your data directory first.
Gofer remains pre-1.0. I'm actively using and improving it, but please keep backups and test your setup before relying on it for anything critical.