1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Understanding Messaging Ports and Protocols
This guide explains which protocols and ports can be used with Infomaniak messaging services (Mail Service in particular).
Recommended ports and parameters for client configuration
When this is requested during a software / email client configuration (Outlook, Thunderbird, mobile, etc.), prioritize the following parameters:
IMAPs - Incoming Mail (Recommended) | SMTP - Outgoing Mail (Option 1: Standard IETF) | SMTPs - Outgoing Mail (Option 2: Implicit Encryption) | |
---|---|---|---|
Ports | 993 | 587 | 465 |
Security Mechanism | SSL / TLS (Implicit) | STARTTLS (Explicit) | SSL / TLS (Implicit) |
Server Name | mail.infomaniak.com | ||
Authentication | Required (username = full email address) |
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 indications or disable encryption, email errors may occur.
Other supported ports (non-encrypted or backward compatibility)
- port
143
(Standard port for IMAP reception - unencrypted, use 993) - port
110
(Standard port for POP3 reception - unencrypted, use 995)β - 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 587 is the standard for clients). - STARTTLS authentication is supported on unencrypted ports (143, 110, 25) to enable TLS encryption.
- SMTP authentication supported (LOGIN or PLAIN methods).
API Usage and Transfer Security
The Infomaniak API does not offer any mailbox connection as IMAP and SMTP are the "APIs". Use a library (such as Python: email.examples and imaplib) that uses IMAP and SMTP.
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 using DANE (DNS-based Authentication of Named Entities) to ensure 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.