Knowledge base
1000 FAQs, 500 tutorials and instructional videos. Here, there are only solutions!
Understanding Mail Server Ports and Protocols
This guide explains which protocols and ports can be used with Infomaniak's email services (including the Mail Service).
Recommended ports and settings for client configuration
When prompted during the configuration of software/email client (Outlook, Thunderbird, mobile, etc.), use the settings below.
Settings common to all accounts
- Server name:
mail.infomaniak.com - Authentication: required (username = full email address)
| Protocol / Usage | Port | Security mechanism |
|---|---|---|
| IMAPs – incoming traffic (recommended) | 993 | SSL / TLS (implicit) |
| SMTP – outbound traffic (option 1: standard IETF) | 587 | STARTTLS (explicit) |
| SMTPs – outgoing traffic (option 2: implicit encryption) | 465 | SSL / TLS (implicit) |
Technical note: port 587 with STARTTLS is the IETF standard practice for secure email submission. Port 465 is a secure alternative using implicit encryption.
If you specify other settings or disable encryption, email errors may occur.
Other supported ports (unencrypted or for backward compatibility)
Alternative ports:
- Port
143: standard port for IMAP reception (unencrypted, use993instead). - Port
110: standard port for POP3 reception (unencrypted, use995instead). - Port
995: secure port for POP3s reception (secure POP3 option). - Port
25: standard port for server-to-server transfer (can support STARTTLS for submission, but port587remains the standard for clients).
Authentication and encryption compatibility:
- STARTTLS authentication is supported on unencrypted ports (
143,110,25) to enable TLS encryption. - SMTP authentication is supported via the LOGIN or PLAIN methods.
Using the API and securing transfers
The Infomaniak API does not offer direct connections to the email service, as IMAP and SMTP already serve as interfaces ("APIs"). To interact with the email service programmatically, use a dedicated library (for example, in Python: email.examples and imaplib).
Example of how to display emails from PHP:imap_open("{mail.infomaniak.com:993/imap/ssl}", $email, $password);
The MTA-STS mechanism is not implemented or verified; Infomaniak uses DANE (DNS-based Authentication of Named Entities) instead to guarantee an encrypted connection between servers when the following conditions are met:
- The client sends an email to a domain that has configured DANE.
- The client receives an email from an SMTP server that uses DANE.
In all other cases (in the absence of DANE), the encrypted connection remains opportunistic.
Link to this FAQ: https://faq.infomaniak.com/468
Has this FAQ been helpful?