IMAP & SMTP Settings for All Email Clients

Find TrekMail server names, secure ports, sign-in details, and connection limits. Set up email, calendar, and contacts in your chosen app.

Article details

Type, difficulty, plans, and last updated info.

▼
Type
Guide
Difficulty
Beginner
Plans
Nano · Starter · Pro · Agency
Last updated
Nov 10, 2026

The easiest option is Apps & devices, which gives you guided steps and the exact server names for the selected mailbox. Use the reference below when an app asks you to enter the details manually.

Who this is for

  • Users configuring a desktop or mobile email client.
  • Developers configuring a script to send email.

1. Incoming Mail (IMAP)

Use these settings to receive email.

Setting Value
Server Hostname Copy the incoming hostname from Apps & devices. The platform default is imap.trekmail.net.
Port 993
Encryption/Security SSL or SSL/TLS
Username Your full email address (e.g., alice@example.com)
Password An app password, or the mailbox password if the mailbox still accepts it (see Passwords and app passwords below)

Note: TrekMail does not support POP3. Use IMAP to keep folders and message state synchronized across devices.

2. Outgoing Mail (SMTP)

Use these settings to send email.

Setting Value
Server Hostname Copy the outgoing hostname from Apps & devices. The platform default is smtp.trekmail.net.
Port 465 (Recommended), 587, or 2525
Encryption SSL/TLS (for 465) or STARTTLS (for 587 and 2525)
Username Your full email address
Password An app password, or the mailbox password if the mailbox still accepts it (see Passwords and app passwords below)
Authentication Required ("Password" or "Normal")

A verified White Label setup can show branded IMAP and SMTP hosts. Use those values when they appear; do not replace them with a hostname guessed from the mailbox address. Port 587 with STARTTLS is the supported SMTP alternative when port 465 is blocked.

If your network or hosting provider blocks both 465 and 587, use port 2525 with STARTTLS. DigitalOcean Droplets, for example, block outbound 465 and 587 by default. The hostname, username, and app password stay the same, including on branded White Label hosts. This also suits forums, content management systems, and other web apps that send mail from a cloud server.

IMAP Connection Limits

Each mailbox can keep up to 100 simultaneous IMAP connections from one IP address, on every plan. Connections from different IP addresses are counted separately, so a phone on mobile data does not take connections away from a computer on your office network.

Mail apps usually need only a few connections per mailbox. If you reach the limit, one app is often stuck reconnecting, or many devices behind the same network are watching many folders. Watching fewer folders lowers the count; see Connect mobile apps.

What happens if I exceed the limit?

The app that tries to open one connection too many gets the error "Maximum number of connections from user+IP exceeded" and cannot connect from that address until some of its other connections close. Close the app on one of your devices, or let it finish reconnecting, and try again.

CalDAV / CardDAV (calendar and contacts)

In addition to IMAP/SMTP for mail, TrekMail exposes calendar and contacts over CalDAV/CardDAV. This is what your phone or desktop calendar app uses to sync events and contacts.

Setting Value
Server / Base URL The DAV address under Calendar and contacts in Apps & devices: usually https://trekmail.net/dav/, or a White Label provider's own DAV address.
Discovery Auto-detected by Apple Calendar, iOS, Android (DAVx⁵), Thunderbird via .well-known/caldav and .well-known/carddav
Username Full email address (e.g. alice@yourdomain.com)
Password An app password, or the mailbox password if the mailbox still accepts it; you can create a separate app password for calendar and contacts sync
Encryption HTTPS, required, no plain HTTP
Authentication HTTP Basic

For platform-specific guides see: Apple · iPhone/iPad · Android · Thunderbird · Outlook (caveats).

Passwords and app passwords

Each regular mailbox has one of two sign-in modes for mail apps, including calendars and contacts. Apps & devices shows which one applies to the selected mailbox. Shared mailboxes have no app passwords or mode; members open them with their own mailbox credentials.

Mode What an email app can use
App passwords only An app password. The mailbox password is refused by mail apps but still works in webmail.
Mailbox password or app passwords Either the mailbox password or an app password. Existing mailboxes keep this mode at rollout.

New mailboxes follow Account settings > New mailboxes > Mail apps need app passwords, which is on by default. Changing it never switches existing mailboxes. When creating a single mailbox in the dashboard, Mail apps sign in with lets you choose differently.

  • Where to create one: in webmail under Settings, App passwords, or in the dashboard under Mailboxes, your mailbox, Security, App passwords (anyone allowed to set the mailbox password can do this). In Apps & devices, a mailbox that needs an app password also shows a Create an app password link.
  • What it looks like: 16 letters, shown only once and grouped in four blocks of four. Spaces and capital letters do not matter. A mailbox can have up to 25 active app passwords, so give each device its own.
  • Where it works: IMAP, SMTP on ports 465, 587, and 2525, ManageSieve, and CalDAV/CardDAV. It never opens the new webmail or the dashboard. New webmail uses the mailbox password, plus a code if two-factor authentication is on. Classic webmail uses an app password for App passwords only mailboxes. Two-factor authentication protects webmail sign-in only; mail apps and classic webmail never ask for a code.
  • If the app shows this error: "Sign-in failed. This mailbox accepts app passwords only: create one in webmail under Settings > App passwords." The mailbox refused its mailbox password. Create an app password and enter it in the app instead. Some apps only report a generic password failure, so check the mode in Apps & devices too.
  • When app passwords stop working: Replace ends the old secret immediately; Revoke stops that password. An account admin setting a new mailbox password in the dashboard, API, or an AI agent revokes all app passwords. A user's own password change in webmail keeps them unless they select Also revoke all app passwords (off by default). Password reset or recovery, sign-in suspension, conversion to a shared mailbox, and moving to Recently deleted revoke all of them. Restoring a mailbox does not restore its app passwords. A device whose app password was replaced or revoked needs a new one.

For the full guide, see Mail app passwords.

Important Notes

  • Username: Always use the full email address. Just alice will fail.
  • Passwords: Use an app password or the mailbox password, as described above, never your TrekMail account password for the dashboard.
  • Custom SMTP routing: If your plan does not include managed sending, configure your provider under the domain's SMTP settings first. Your email app still connects to the outgoing TrekMail or branded host shown in Apps & devices with the same password it uses for IMAP. TrekMail applies the private provider route behind the scenes; do not place the provider's secret credentials in an end user's email app.

Related articles

Jump to nearby guides that continue the workflow.

Sign in to TrekMail

Access your dashboard, mailboxes and DNS.

12 characters

Reset email sent

If an account exists for this email, we've sent password reset instructions.

By continuing, you agree to TrekMail's Terms and Privacy Policy.