Fastmail bots
As part of providing the service, Fastmail may connect to an external server on behalf of our users. We identify ourselves when we do so in the User-Agent header field sent with the HTTP request. We use our internal user agent for these main purposes:
Image proxying
When a user opens an email with links to embedded images, we load and proxy those images via our servers on the user’s behalf. This enhances user privacy by ensuring that there are no browser cookies in the request, that their user agent string is obscured, and that their source IP address is hidden.
The user agent string we use is:
Mozilla/5.0 FastmailUA/1.0
These requests are signed so you can verify they come from Fastmail (see Verifying our requests below).
Sender icons
To show an icon next to messages from a sender, we may fetch the homepage of the sender’s domain and the icon it links to (such as its favicon). These requests use the same user agent string and are signed in the same way as image proxying.
Calendar fetching/syncing
When a user subscribes to ICS feed calendars, or sync to/from remote CalDAV calendars, we have to fetch/store those calendars on a regular basis to sync the content with the user’s Fastmail calendars.
Our requests for the calendar data use a basic user agent string:
FastmailUA/1.0
Verifying our requests
Requests for image proxying and sender icons are cryptographically signed using Web Bot Auth, which is based on HTTP Message Signatures (RFC 9421). This lets you check that a request really comes from Fastmail, rather than from someone else using our user agent string. Bot management services that support Web Bot Auth can check these signatures for you.
Each signed request includes these headers:
Signature-Agent: "https://www.fastmailcdn.com": where our public keys are published.Signature-InputandSignature: the signature itself. It covers the@authority(the host being requested) andsignature-agentcomponents, uses the Ed25519 algorithm, has the tagweb-bot-auth, and is valid for 60 seconds.
Our public keys are published as a JSON Web Key Set at:
https://www.fastmailcdn.com/.well-known/http-message-signatures-directory
The keyid in each signature is the key’s JWK SHA-256 thumbprint (RFC 7638). Only requests made over HTTPS are signed. Calendar requests are not currently signed.
Detecting the Fastmail user agent
For a generic way to detect a Fastmail related user agent, we will ensure that all user agent strings always contain the string “FastmailUA”.