Proton Mail Bridge with Mailloft: IMAP on localhost
Connect Mailloft to Proton Mail Bridge over IMAP and SMTP on 127.0.0.1: the Bridge settings to copy, when None (insecure) is allowed, and fixes.
Updated 7 min read
On this page
Proton encrypts mail so that ordinary IMAP clients can't read it directly. Bridge runs on your Mac, decrypts mail and serves it as plain IMAP and SMTP on your own machine. Users in other mail apps describe two related failures: a client that can't talk to Proton at all, and a "move" that copies a message but leaves the original on the server. This page covers the Mailloft side of that setup.
We have not tested Mailloft against Bridge, so treat these steps as the expected route and check each result. Mailloft has no Proton-specific integration and does not read settings from Bridge.
Why Proton needs Bridge, and where Mailloft fits
Proton does not offer a normal IMAP server you can point any client at. Bridge is the piece that sits between your Proton account and your mail app. It listens only on your Mac, and your client talks to it using a host, ports, a username and a password that Bridge generates. Users in other clients also report that Bridge needs a paid Proton plan; check Proton's current plan details before you rely on it.
Mailloft speaks IMAP for reading and SMTP for sending, nothing else (no POP3, Exchange, Graph or JMAP). That is all Bridge exposes, so the two fit together in principle.
The part that trips up many clients is encryption. A local Bridge connection is not a normal internet server, and people on Mozilla's support forum report that Thunderbird complains about the certificate on it. Mailloft handles this with one narrow rule: None (insecure) is offered only when the server is localhost, 127.0.0.1 or ::1. Any other host must use SSL/TLS or STARTTLS. That matches the direction of RFC 8314, which recommends TLS for email access and submission.
What to copy from Bridge first
Open Bridge and keep its account screen visible. You need:
- The host (normally
127.0.0.1). - The IMAP port and the SMTP port. Bridge decides these, and they can differ between installs. Users report that Bridge lets you change the ports in its advanced settings if another app already uses them, so copy the current values rather than assuming.
- The username Bridge shows for the account.
- The Bridge password, which is generated for your Mac and is not your Proton password.
- The security mode Bridge lists for IMAP and SMTP, if it shows one.
Bridge must be signed in to your Proton account and running whenever you want mail. If Bridge is closed, Mailloft has nothing to connect to.
Add the account in Mailloft
- Click Add Account in the sidebar footer, or open Settings ▸ Accounts and click +.
- Enter your name and your Proton email address. Choose Other if it isn't already selected, then click Continue.
- Mailloft does one DNS lookup for the domain. It only recognizes Google, Microsoft, iCloud, Fastmail and Yahoo hosting, so it will guess
imap.<domain>andsmtp.<domain>for a Proton address. - On the App Password step, paste the Bridge password into App password. It is stored only in your Mac's Keychain.
- On the Servers step, Mailloft tests the connection automatically. With the guessed servers, expect it to fail. Click Edit….
- Set Username to the one Bridge shows.
- Set the IMAP Server to
127.0.0.1and Port to Bridge's IMAP port. - Set the SMTP Server to
127.0.0.1and Port to Bridge's SMTP port. - Pick the security option for each server (next section), then click Test Connection. Success reads "Signed in to IMAP and SMTP."
- Click Continue, choose an account color, and click Add Account.
Choose the connection security setting
Start with the mode Bridge lists for each protocol. In Mailloft that means SSL/TLS for implicit TLS or STARTTLS for an upgrade after connecting.
If Test Connection fails with "The server's security certificate isn't trusted. It may be expired or self-signed, or a Wi-Fi login page may be in the way.", the certificate on the local connection is the likely cause. Mailloft doesn't offer a "trust this certificate" button. For a loopback host, you can instead set that server to None (insecure), because the traffic never leaves your Mac. We haven't confirmed that Bridge triggers this exact error.
Common mistakes and what you see
| What you see | Likely cause | Fix |
|---|---|---|
| "Can't connect" under the account | Bridge isn't running, or host or port is wrong | Open Bridge, confirm it's running, compare host and ports in Edit Account… |
| "Sign-in failed" | Proton password or username used instead of Bridge's | Enter the Bridge username and password in Edit Account… |
| "Security problem" or certificate not trusted | Local certificate isn't trusted | Set that server to None (insecure) with host 127.0.0.1 |
"The connection to <host> is set to “None (insecure)”…" | Server isn't a loopback address | Use 127.0.0.1, or choose SSL/TLS or STARTTLS |
| Orange "Password needed" badge | Keychain read denied, or password rejected | Click the badge, enter the password, copy it again from Bridge if it changed |
| Works, then stops after a Bridge update | Bridge ports or password changed | Re-copy the values from Bridge into Edit Account… |
Open Edit Account… from the account's "…" menu in the sidebar, or from Settings ▸ Accounts ▸ Edit…. If you re-sign in to Bridge and its password changes, update it there.
What to expect once it's connected
- Sync and push. Mailloft uses IMAP IDLE when the server supports it and otherwise checks every 5 minutes. Settings ▸ Accounts shows "Push" or "Checks every 5 min" for the account. We haven't confirmed which one Bridge gives you.
- Sent copies. Server saves sent messages automatically is off by default for custom servers. If you see duplicates in Sent, turn it on under Edit…. If sent mail never appears in Sent, leave it off. We haven't confirmed which setting Bridge needs.
- Archive, trash and move. The row disappears at once, but the server change happens when the undo window ends (10 seconds by default). Quitting inside that window completes the pending moves first.
- Servers without UIDPLUS. Mailloft can't remove a single message, so it only marks it deleted and hides it, and says so once per account. It never expunges a whole mailbox.
- Send Later. Scheduled mail is sent by your Mac, so Mailloft (or its optional helper) and Bridge both have to be running when the message is due.
Why Spark and other clients fail with Proton
A Spark user evaluating Proton says it doesn't work at all with Spark. The likely reason is that Proton mail needs the local decryption layer, and a client that only offers its own sign-in flows, or won't accept a local server with a Bridge password, has no way in. Whether any given client supports Bridge is for that client's vendor to say. For Mailloft the answer is that it accepts a manual IMAP/SMTP account, which is the only thing Bridge needs.
Checklist before you try again
- Bridge is open, signed in and shows your account.
- Host is
127.0.0.1for both IMAP and SMTP. - Both ports match what Bridge currently shows.
- Username and password come from Bridge, not from your Proton login.
- Security is SSL/TLS or STARTTLS, or None (insecure) only for loopback.
- The Server saves sent messages automatically switch is set deliberately.
If nothing works
First decide which side fails. If Bridge itself won't sign in, shows no account, or gives no host and ports, contact Proton's support. If Bridge looks healthy and Mailloft still can't connect, write to Mailloft support. Include the exact sidebar status and error text, which step fails, and whether the Bridge values were copied fresh.
Subject: Mailloft cannot connect to Proton Mail Bridge on 127.0.0.1
Mac: macOS version, Mailloft version
Bridge: running and signed in (yes/no)
Mailloft settings: IMAP 127.0.0.1 port ..., SMTP 127.0.0.1 port ...
Security: IMAP ..., SMTP ... (SSL/TLS, STARTTLS or None)
Username and password taken from Bridge: yes
Status in sidebar: (for example "Can't connect" or "Security problem")
Test Connection result: (exact message)
Steps already tried: re-copied values from Bridge, restarted BridgeCommon questions
Can Mailloft sign in to Proton without Bridge?
No. Mailloft only does IMAP and SMTP, and Proton's account is reached through Bridge. There is no Proton sign-in option in Mailloft.
Is it safe to use None (insecure) with Bridge?
The traffic goes only between Mailloft and Bridge on your own Mac, and Mailloft refuses the option for any other host. Bridge then encrypts to Proton. Prefer SSL/TLS or STARTTLS when they work.
Do I need to leave Bridge running?
Yes. Mailloft can only read, send and sync while Bridge is running. Scheduled sends and rules also need it when they fire.
Does Mailloft read my Proton mail on its own servers?
No. Mailloft has no relay server and no telemetry; it talks only to the servers you configure, here Bridge on your Mac. Mailloft is part of MacSuite; see the Mailloft page for the trial.