GENERIC IMAP GUIDE

Custom and other IMAP settings for Mac

How to find IMAP and SMTP settings for AOL, custom domains and other email providers, then diagnose ports, SSL, app passwords and server errors on a Mac.

Updated 2026-11-287 min readEnglish
Custom-domain and other IMAP accounts connected to one Mac inbox

QUICK ANSWER

There is no universal IMAP hostname. Find the incoming IMAP server, outgoing SMTP server, ports and authentication method from your provider or domain administrator, then enter the full email address as the username. IMAP port 993 with SSL/TLS and SMTP port 465 with SSL/TLS or port 587 with STARTTLS are the common starting points.

How do you find the right IMAP settings?

Search the provider’s official help center for “IMAP settings” and confirm the incoming server, outgoing server, ports and password method. Domain hosting dashboards often expose the same information under Mail or DNS.

An email address alone does not reveal the mail server. A custom-domain address may be hosted by Google Workspace, Microsoft 365, Fastmail, a web host or a small mail provider. Check the MX records or ask the domain administrator if the current host is unclear.

Do not copy server settings from a different provider just because the address looks similar. A wrong hostname can fail immediately, while a wrong SMTP identity may let you receive mail but send with the wrong address.

Common IMAP and SMTP starting points
Provider typeIMAPSMTP
AOLimap.aol.com:993 SSL/TLSsmtp.aol.com:465 SSL/TLS
Custom domainUse the mail host supplied by its administratorUse the matching SMTP host and sending identity
Unknown hostCheck MX records and provider helpCheck provider help
Self-hostedMail server hostname on 993Submission hostname on 587 or 465

Which username and password should you use?

Use the complete login the provider expects, which is usually the full email address. If multi-factor authentication is enabled, create an app password when the provider supports one.

  • Try the full email address before trying a shorter login name.
  • Use an app password rather than your main account password.
  • Keep the password in the macOS Keychain, not in a note or chat.
  • Verify that the account is allowed to use IMAP and SMTP.
  • For a work account, ask the administrator about client-access policy.

How do you add a custom IMAP account to Glassmail?

Choose manual or other IMAP setup, enter the provider hostnames and ports, then set the display name and sending address. Save only after the incoming and outgoing tests pass.

A custom-domain mailbox can have several addresses that deliver to one inbox. Decide which address should be the default From identity and whether replies should preserve the original recipient. Check these identities before sending from a unified inbox.

If the provider uses self-signed certificates or an internal mail server, do not disable certificate checks without understanding the risk. A mail app should connect over a trusted TLS path; fix the server certificate instead.

How do you diagnose a generic IMAP failure?

Test one layer at a time: network reachability, server hostname, port, TLS mode, username, password and folder mapping. Change only one value between attempts.

Generic IMAP troubleshooting
SymptomWhat to checkNext step
Cannot resolve serverHostname and DNSConfirm the exact IMAP hostname with the provider
Connection timed outPort, firewall or networkTry another network and confirm the provider port
Certificate warningTLS hostname and certificate chainUse the provider hostname and a trusted certificate
Authentication failedUsername, app password or policyVerify the login and create a fresh app password
Receives but cannot sendSMTP hostname, port or From identityVerify submission settings and sending address

How do you move the account without losing mail?

Leave the original account connected until the new client has synchronized folders, signatures, rules and sending identities. Test a reply and an archive action before removing the old app.

Mail remains on the provider, so this is usually a client migration rather than a mailbox migration. Local drafts, local-only folders and rules stored inside the old app may not move automatically. Export or recreate anything that exists only on the Mac.

Check whether the provider uses server-side filters. Those rules continue to run even when the client changes, which can explain why a message appears in an unexpected folder.

Official references for other providers

Use the provider-specific help page for any account that is not Gmail, iCloud, Outlook, Yahoo or Fastmail.

Frequently asked questions

How do I find my custom-domain IMAP server?

Check the domain’s MX records, the hosting dashboard or the mail administrator’s documentation. The address domain does not automatically identify the mail host.

What port should a generic IMAP account use?

Start with port 993 and SSL/TLS. Some private mail servers use different settings, so follow the provider’s official documentation.

Can I use an app password with any IMAP provider?

Only when the provider supports app passwords. If it does not, use its supported OAuth or password policy and do not disable multi-factor authentication.

Why does a custom domain receive mail but fail to send?

Incoming IMAP and outgoing SMTP are separate services. Check the SMTP hostname, port, authentication and From identity, and verify SPF or DKIM if messages are rejected downstream.

Can Glassmail connect to any IMAP account?

Glassmail is designed for standard IMAP and SMTP accounts, including custom domains, alongside Gmail, iCloud, Outlook, Yahoo and Fastmail.