Server names and ports
These are the standard server name and port details for setting up access to email, contacts and files for your Fastmail account.
You will need to get an app password to connect to these servers. You cannot use your regular Fastmail password.
If you are looking for step-by-step set up instructions to set up your email software, please review our page on how to set up an email client, or see our instructions on setting up files access.
Troubleshooting:
We recommend using IMAP over POP to access your email. Fastmail supports both protocols using the configurations below. You must use SSL/TLS with all of the protocols; we do not support insecure access.
IMAP
| Server | imap.fastmail.com |
|---|---|
| Port | 993 |
| SSL/TLS Encryption | Enabled, but not STARTTLS |
| Username | Your Fastmail email address, including the domain. |
| Password | Your app-specific password. You cannot use your regular Fastmail password. |
| Root folder/IMAP path prefix | (leave blank) |
| Folder separator | / (forward slash) |
Note: Do not enable secure password authentication (SPA). It is not needed when you use SSL/TLS encryption and it will not work.
POP
| Server | pop.fastmail.com |
|---|---|
| Port | 995 |
| SSL/TLS Encryption | Enabled, but not STARTTLS |
| Username | Your Fastmail email address, including the domain. |
| Password | Your app-specific password. You cannot use your regular Fastmail password. |
POP from folder. By default, POP will pull emails from your inbox. You can pull emails from a different folder by adding the folder name to your username. For example, yourusername+foldername@fastmail.com. This won't work for folder names with spaces or special characters.
SMTP
| Server | smtp.fastmail.com |
|---|---|
| Port | 465 |
| SSL/TLS Encryption | Enabled, but not STARTTLS |
| Authentication | PLAIN |
| Username | Your Fastmail email address, including the domain. |
| Password | Your app-specific password. You cannot use your regular Fastmail password. |
If your client supports STARTTLS only, you can use port 587 with STARTTLS enabled.
Calendar
Fastmail supports two-way sync of your calendar via the standard CalDAV protocol. This is supported natively by iOS and many desktop calendar applications, and via a plugin on Android devices.
CalDAV access is not available on legacy Personal/Family Lite/Full plans or legacy Business Basic plans.
CalDAV
For clients that support auto-discovery of calendars over CalDAV, use the following details. However, there are some clients that do not support auto-discovery, and they require more work to set up. We have written step-by-step instructions for popular clients.
| Server | https://caldav.fastmail.com/ |
|---|---|
| SSL/TLS Encryption | Yes (required) |
| Username | Your Fastmail email address, including the domain. |
| Password | Your app-specific password. You cannot use your regular Fastmail password. |
Contacts
Fastmail supports two-way sync of your contacts via the standard CardDAV protocol. This is supported natively by iOS and many desktop address book applications, and via a plugin on Android devices.
We also support read-only access to your contacts via the LDAP protocol, which works with some popular mail clients.
CardDAV access is not available on legacy Personal/Family Lite plans or legacy Business Basic plans.
CardDAV
The following details are sufficient for clients that support auto-discovery of contact lists over CardDAV. However, there are some clients that do not yet support this, and they require a little more work to set up. We have written step-by-step instructions for popular clients.
| Server | https://carddav.fastmail.com/ |
|---|---|
| SSL/TLS Encryption | Yes (required) |
| Username | Your Fastmail email address, including the domain. |
| Password | Your app-specific password. You cannot use your regular Fastmail password. |
If your client does not support CardDAV auto-discovery, you may need to use a full URL path to your contact list.
- personal contacts:
- server address:
https://carddav.fastmail.com/dav/addressbooks/user/<username@domain.tld>/Default- Replace
<username@domain.tld>with your full Fastmail username, including the domain. - Example: for
trythis@example.comthe address ishttps://carddav.fastmail.com/dav/addressbooks/user/trythis@example.com/Default
- Replace
- username:
<username>+Default@<domain.tld>- Note the additional
+Defaultbetween your username and domain. - Example: for
trythis@example.comthe username istrythis+Default@example.com
- Note the additional
- server address:
- shared contacts:
- server address:
https://carddav.fastmail.com/dav/addressbooks/user/<username@domain.tld>/<masteruser@domain.tld>.Shared - username:
<username>+Shared@<domain.tld>- Note the additional
+Sharedbetween your username and domain. - Example: for
trythis@example.comthe username for shared contacts istrythis+Shared@example.com - Still use your Fastmail username and an app password to authenticate.
- Note the additional
- server address:
LDAP
You can view your contacts (read-only) in other software, like Outlook or Apple Mail, using LDAP.
| Server | ldap.fastmail.com |
|---|---|
| Port | 636 |
| SSL/TLS Encryption | Enabled (but not STARTTLS) |
| Username/Bind DN | cn=your-username@your-domain,dc=User |
| Login | PLAIN |
| Password | Your app-specific password. You cannot use your regular Fastmail password. |
| Search base/Base DN | dc=AddressBook |
The values are case sensitive. It must be exactly ,dc=User on the end of the username part, and the search base must be exactly dc=AddressBook.
LDAP notes
- The contacts are read-only via LDAP, so you can't make changes or add addresses from your email program; you must log in to the web interface to make changes.
- The contact list is cached in the LDAP server for efficiency. It may take several minutes for changes to appear.
- The contact list is not cached offline, so it will only work while you are connected to the internet.
- Some items with an invalid format may not appear in LDAP. For instance, LDAP defines the format of fax-numbers, and they can't contain an "@" in them. If you set up a fax number that's an efax or similar, it won't appear because it does not follow LDAP standards. The work around is to set it as an email address instead.
- LDAP is most useful for businesses that have a large global address book. In these cases, the LDAP address lookup will search the user's private contacts as well as the global contacts.
Files
You can access and manage your account's files using either WebDAV or FTP. Most modern browsers will allow you to view files through either but you may want to install a standalone client to help manage or modify your files. You can read more about this in our instructions of how to set up remote file access.
WebDAV
| Server | https://webdav.fastmail.com/ |
|---|---|
| Username | Your Fastmail email address, including the domain. |
| Password | Your app-specific password. You cannot use your regular Fastmail password. |
Your {My Files} directory will be located in /username.your.domain/files/. Alternatively, use the hostname https://myfiles.fastmail.com/ to be rooted in your {My Files} directory.
FTP
| Server | ftp.fastmail.com |
|---|---|
| Port | 21 |
| Username | Your Fastmail email address, including the domain. |
| Password | Your app-specific password. You cannot use your regular Fastmail password. |
Your {My Files} directory will be in /username.your.domain/files/. Fastmail also support FTPS, but not SFTP.
Alternative usernames
You need to log in to all services with your full Fastmail username, including the domain, for example username@your.domain. You must use the username you used to sign up your account; aliases will not work.
Because some software has difficulty with the @ symbol in usernames, you can try any of these alternatives:
username@your.domainusername#your.domainusername/your.domainusername=your.domain
Firewall access
If you are behind a firewall, some service ports may be blocked. Fastmail has a special proxy system whereby you can access IMAP, POP and SMTP through any port number. All these servers use SSL/TLS. The server names are:
| IMAP | imaps-proxy.fastmail.com |
|---|---|
| POP | pops-proxy.fastmail.com |
| SMTP | smtps-proxy.fastmail.com |
If you use these server names, you can use any port to access these services. Commonly open ports include 80, 21, 25 and 443.