Connecting Outlook to TrekMail
This guide explains Configure TrekMail in Microsoft Outlook. so you can complete the TrekMail task with confidence.
Article details
Type, difficulty, plans, and last updated info.
▼
Article details
Type, difficulty, plans, and last updated info.
- Type
- Guide
- Difficulty
- Beginner
- Plans
- Nano · Starter · Pro · Agency
- Last updated
- Apr 29, 2026
Outlook works well with TrekMail over IMAP. There are two routes: auto-setup (works when your domain has the autodiscover CNAME live and is the right experience for most users) and manual setup (when auto fails or you want explicit control). This guide covers both, plus the Outlook-specific things that catch people out.
Outlook versions covered
Each Outlook version has slightly different UI but the same underlying settings:
- Outlook for Windows (Classic) — the older perpetual-licence Outlook (Outlook 2016, 2019, 2021).
- New Outlook for Windows — the rebuild Microsoft is rolling out to replace classic. Different UI, fewer settings exposed.
- Outlook for Mac — the macOS app.
- Outlook on the web (OWA) —
outlook.office.comoroutlook.live.com. Note: OWA is part of Microsoft 365 / Outlook.com. You can't add an external IMAP account to OWA in many cases — it's primarily for Microsoft-hosted mail. - Outlook Mobile (iOS/Android) — the official Outlook app on phones.
Auto-setup (recommended)
If you've configured your domain on TrekMail and added the autodiscover CNAME to DNS, Outlook should set itself up with just your email and password:
- Open Outlook.
- File → Add Account (Classic Outlook). In New Outlook: Settings (gear icon) → Accounts → Email accounts → Add account. In Mobile: Settings → Add Mail Account.
- Enter your TrekMail email address (e.g.
alice@yourcompany.com). - Click Connect (or Continue).
- Outlook queries
autodiscover.yourcompany.com, follows the CNAME to TrekMail's autodiscover service, and receives the IMAP/SMTP configuration silently. - Enter your mailbox password when prompted (this is the password for the mailbox, not your TrekMail dashboard password).
- Done. Outlook connects and starts syncing.
No security alert. TrekMail provisions per-domain SSL certificates for autodiscover.yourcompany.com so the SSL chain validates exactly against your domain. No "this connection is not secure" warning.
If auto-setup fails (the most common reason: DNS hasn't propagated yet, or you haven't added the autodiscover CNAME), fall back to manual setup below.
Manual setup (Classic Outlook for Windows)
- File → Add Account.
- Enter your email address.
- Click Advanced options → check Let me set up my account manually → Connect.
- Choose IMAP as account type.
- Incoming Mail:
- Server:
imap.trekmail.net - Port:
993 - Encryption:
SSL/TLS
- Server:
- Outgoing Mail:
- Server:
smtp.trekmail.net - Port:
465(or587) - Encryption:
SSL/TLS(if port 465) orSTARTTLS(if port 587)
- Server:
- Login Information:
- Username: your full email address (e.g.
alice@yourcompany.com) - Password: your mailbox password
- Check "Require logon using Secure Password Authentication (SPA)" should be OFF (we use standard password auth over TLS).
- Username: your full email address (e.g.
- Click Next → Connect.
Manual setup (New Outlook for Windows)
The New Outlook hides several manual-setup options compared to Classic. Recent versions have started exposing them again:
- Settings (gear icon) → Accounts → Email accounts → Add account.
- Enter your email address.
- If autodetect fails (it tries autodiscover first), you'll get an option to Set up manually.
- Choose IMAP.
- Enter the same settings as in the Classic Outlook section above.
If New Outlook refuses to let you add a non-Microsoft account at all (some early builds had this restriction), use Classic Outlook for the moment or wait for a Microsoft update.
Manual setup (Outlook for Mac)
- Outlook menu → Settings → Accounts → + → Add Email Account.
- Enter your email and click Continue.
- If autodiscover fails, click Choose the provider when prompted.
- Choose IMAP.
- Fill in:
- Username: your full email
- Password: your mailbox password
- Incoming server:
imap.trekmail.net, port993, SSL - Outgoing server:
smtp.trekmail.net, port465(SSL) or587(STARTTLS)
- Click Add Account.
Manual setup (Outlook Mobile, iOS / Android)
- Open Outlook app → Settings (top-left/right gear icon) → Add Mail Account → Add Email Account.
- Enter your email. Tap Add Account.
- If asked for account type, choose IMAP.
- Fill the same fields: server
imap.trekmail.net, port993, SSL, username = full email, password = mailbox password. SMTPsmtp.trekmail.net, port465/587. - Tap Sign in.
Outlook Mobile is good at autodiscover; most users never see the manual fields.
Common problems
"Outlook keeps asking for password" loop
The single most-reported Outlook problem with any IMAP account. Causes, ordered by frequency:
- Wrong password. You're typing your TrekMail dashboard password, not the mailbox password. They're different — see Forgot Your TrekMail Password? for the distinction.
- Wrong username format. Outlook needs the full email address as the username, not just
alice. Some older Outlook builds default to local-part; correct it manually. - Cached old credentials. When you've changed the mailbox password recently, Outlook may keep retrying the old one from credential cache. Windows: Control Panel → Credential Manager → Windows Credentials → delete entries with
imap.trekmail.netorsmtp.trekmail.net. Restart Outlook. On Mac: Keychain Access → search fortrekmail→ delete the entries. Outlook will prompt for the password fresh next time. - SPA option turned on. Make sure "Secure Password Authentication" is OFF in IMAP/SMTP advanced settings — we use plain auth over TLS, not SPA.
"Cannot send mail. The connection to the server failed."
- Port 465 or 587 is blocked by your local network. Try the other port. If both are blocked, ask your network admin or try a different network.
- Wrong outgoing server hostname — make sure you have
smtp.trekmail.net, notsmtp.yourcompany.com. - Wrong encryption mode for the port — port 465 = SSL/TLS, port 587 = STARTTLS. Mixing them up causes immediate failure.
"Folders aren't syncing" or "missing folders"
- Right-click your account in the folder list → Update Folder List (or "IMAP Folders" → Query and Refresh).
- Check your IMAP advanced settings for a Root folder path value. It should be empty. If somehow set to "INBOX" or similar, some folders are hidden — clear the field, then update folder list.
- Some Outlook builds have a "Show only subscribed folders" toggle. Turn it off in IMAP advanced if you're missing folders.
"I keep getting Outlook security alerts about the certificate"
You're not using autodiscover-based setup, or you set up manually and Outlook flagged the cert. The cert on imap.trekmail.net is a Let's Encrypt cert valid for that exact hostname — Outlook should trust it automatically. If you're seeing an alert:
- Confirm the IMAP server you entered is exactly
imap.trekmail.net. A typo likeimap.trekamil.netwill fail certificate validation. - Outlook on an outdated Windows / no recent updates may have an expired CA bundle. Update Windows.
- Some corporate networks intercept SSL with their own root CA — your Outlook is seeing the corporate root, not Let's Encrypt. Talk to IT.
"I migrated from POP and want to switch to IMAP"
POP downloads emails to your device only. IMAP keeps them on the server. The switch isn't automatic:
- Add a new account in Outlook using the IMAP settings above. Don't delete the POP account yet.
- Wait until the IMAP account syncs (downloads the existing mail from the server).
- Compare folder contents — emails received before the switch may not be in the IMAP folder list because POP downloaded them and removed them from the server.
- Move (drag-and-drop) any emails from the old POP folders into the new IMAP folder structure. They re-upload to TrekMail and become visible everywhere IMAP works (webmail, phone, etc.).
- Delete the POP account once you've moved everything.
If you used POP with "leave messages on server", this is much easier — the server still has everything, you just rebuild the IMAP folder structure.
"Sending is slow / sometimes fails"
Outlook sometimes batches outgoing messages and sends them all at once. If you have a hourly SMTP rate limit (see Sending Limits per Plan), this can hit the limit. Reduce the send-batch size in Outlook's settings if you're consistently bouncing off the rate cap.
"Sent items aren't appearing on TrekMail webmail"
Outlook saves Sent items in a "Sent Items" folder. TrekMail uses "Sent". Outlook should map the two automatically via the IMAP SPECIAL-USE capability, but on older builds this fails:
- Outlook → Account Settings → Change → check that the Sent Items Folder is set to "Sent" (the server-side folder), not the local "Sent Items" client folder.
- Alternatively, configure Outlook to use the same Sent folder TrekMail does (Sent), which avoids the mismatch entirely.
Performance and battery tips
- For the desktop Outlook, the default sync interval works. For mobile, the default is "Push" — this drains battery if your mailbox is busy. Switch to "Every 15 min" in Outlook Mobile settings if battery is a concern.
- Outlook keeps a local cache of all your mail. For very large mailboxes (50GB+), this can slow Windows down. Use the "Mail to keep offline" slider to limit cache to 6 months / 1 year / etc.
- Avoid watching every folder in IMAP IDLE mode. Limit to Inbox + a few important folders. Each watched folder = one IMAP connection counted against your plan's connection limit.
Related articles
Jump to nearby guides that continue the workflow.