Skip to content

Connection fails

An account will not connect, during setup or suddenly after months. The good news: the causes are almost always the same four, and they can be ruled out one by one.

YouniqMail shows where things go wrong in several places: as a red warning triangle next to the account in the sidebar (the tooltip names the reason), as a notice in the header and as a message when sign-in fails. Under Settings → Email Accounts, an account that cannot sign in carries the note Sign-in refused, Sign-in expired or Sign-in missing in the list; select it, and a notice above it names the reason and the way back.

Sounds banal, saves half the search: do other accounts work? Does the browser load pages? Hotel and corporate networks like to block the mail ports (993, 465, 587) while the web works.

YouniqMail counts as offline when it reaches none of your accounts’ IMAP servers. The header then shows a yellow warning triangle with the tooltip “Mail servers not reachable”, in wide windows also the word Offline. The cause can be the internet, a blocked port or, if you use only one provider, an outage there (with Proton, a Bridge that is not running). While YouniqMail is offline, syncing is not available, and your actions wait until the connection is back. If only sending is blocked (465, 587), YouniqMail stays online and the error shows up only when you send. Against blocked ports, only a different network helps, or a word with IT.

The most common case behind “sign-in failed”:

  • App password needed? iCloud, Yahoo and Gmail require one, many others do as soon as two-factor sign-in is active. The regular password is then always rejected.
  • IMAP enabled? GMX and WEB.DE deliver only after enabling it in their webmail.
  • Password changed? After every password change at the provider, the new one has to reach the account too: Settings → Email Accounts, Change IMAP/SMTP Settings on the account (or Enter password in the notice above the account), enter the new password, check with Test Connection and apply with Save Changes; the button appears only after a successful test. A password field left empty keeps the stored password as long as server and username stay the same. Accounts with a Microsoft sign-in use Sign in again instead (under Actions or in the notice above the account); your emails, folders and settings stay as they are, see Microsoft.

After a refused sign-in, syncing of the account pauses. YouniqMail tries again every 30 minutes, after a restart, and right away when you click Sync emails. If the provider blocks only for a while, the account carries on by itself afterwards; otherwise new mail only arrives again once the credentials are right.

For manually configured accounts, a character-by-character comparison with the provider’s documentation pays off, see Setting up any provider:

Field Typical mistakes
Server mail. instead of imap., typos in the domain
Port 993 for IMAP (143 with STARTTLS); 465 with SSL/TLS or 587 with STARTTLS for SMTP
Encryption SSL/TLS and STARTTLS swapped
Username full address instead of short name (or vice versa)

If you change the encryption, YouniqMail sets the usual port along with it, as long as you have not typed in a port yourself. If you enter a port that usually belongs to a different encryption, the form warns you.

In most providers’ setup steps, Test Connection names the reason when the test fails: server not found, connection refused, no answer, or an encryption that does not match the port, each with the server name.

If the test reports that the server does not offer STARTTLS, the encryption does not match. Choose what your provider specifies.

If the test reports a problem with the certificate, YouniqMail has not sent your credentials. What the message means is explained below under Server certificate not accepted.

Incoming and outgoing are separate construction sites: Test Connection checks IMAP first, then SMTP, and tells you which part fails. That applies to the manual setup, to Change IMAP/SMTP Settings and to the provider steps. For Microsoft 365 and Outlook, a failed sending test does not stop the setup; you get a hint instead. If mail arrives but does not go out, the SMTP side is at fault.

Outages happen. The provider’s status page (or a quick search for “provider outage”) settles in seconds whether a thousand others have the same problem right now.

Proton Mail: Connection errors almost always mean the Bridge is not running. After a reinstall, the Bridge may also show a new certificate; you confirm it in the account settings, in the Proton Bridge certificate section, with Trust the new certificate.

Server certificate not accepted: YouniqMail checks the certificate of every mail server and only sends your credentials once it is in order. The message names one of three reasons:

  • No trusted certificate: typical for your own servers, such as a NAS with the self-signed certificate it ships with. The simplest fix is to give the server a certificate from Let’s Encrypt; a Synology offers this in the Control Panel under Security → Certificate. Alternatively, install the certificate of the server or of its certificate authority on your computer as trusted, on macOS in Keychain Access, on Windows in the Certificate Manager. Then restart YouniqMail: for mail connections it trusts every certificate your system trusts.
  • Certificate is for a different name: Usually an IP address or an internal name is entered as the server, but the certificate is for a different one. The message of Test Connection lists the names from the certificate; enter one of them as the server.
  • Expired or not yet valid: Check your computer’s date and time. If they are correct, whoever runs the server has to renew the certificate.

Antivirus and firewall: Some security products insert themselves into mail connections (“SSL scanning”) and replace the server’s certificate in the process. If the product has placed its root certificate in your system’s certificate store, YouniqMail accepts the connection just like other mail programs do; otherwise it rejects it. The certificate check cannot be turned off. An exception for YouniqMail in the security product solves this.

Proxy: There are no proxy settings of their own for mail connections; YouniqMail needs direct access to the mail ports. The Microsoft sign-in does not use a proxy either. The license check and the search for updates, on the other hand, go through your system’s proxy settings.

Worked for months, then stopped, with no change: Usually a revoked app password, a withdrawn sign-in, or a server-side migration. The tooltip on the warning triangle in the sidebar names the reason. Under Settings → Email Accounts, the notice above the account leads straight to the fix: Enter password opens the server settings, and for Microsoft Sign in again signs the account back in. The logs provide the long version.