SMTP port number: the four you will see
| SMTP port | What it is for | Encryption | Use it in a mail client? |
|---|---|---|---|
| 587 | Submission: your client or app sending mail | STARTTLS | Yes — the default choice |
| 465 | Submission, encrypted from the first byte | Implicit TLS | Yes — equally fine |
| 25 | Relay: mail servers delivering to each other | Opportunistic | No — blocked nearly everywhere |
| 2525 | Unofficial fallback some mail providers offer | Usually STARTTLS | Only if your provider tells you to |
If you only need the SMTP port number for an email client, a contact form or a WordPress SMTP plugin, use 587 with STARTTLS and authentication. Port 465 does the same job with the connection encrypted from the start, and RFC 8314 now prefers it, so if 587 is blocked on the network you are on, switch to 465 before trying anything else.
Port 25 is the original SMTP port, but today it is only for server-to-server delivery. Outbound port 25 is blocked by default on our servers, as it is on almost every host and on many home broadband and mobile networks; inbound 25 stays open so other servers can deliver to you. On a VPS or dedicated server it can be opened once we have talked about what you are running. The reasoning is in why port 25 is closed by default.
Port 2525 is not a standard port at all. A few mail-sending services listen on it as a workaround for networks that block the usual ones. Use it only when your provider's own settings list it.
IMAP port number, POP3 port number and SMTP: the full list
| Protocol | Port | Encryption | Use it? |
|---|---|---|---|
| IMAP | 993 | SSL/TLS | Yes — this is the one |
| IMAP | 143 | None, or STARTTLS | Only with STARTTLS enforced |
| POP3 | 995 | SSL/TLS | Yes, if you must use POP3 |
| POP3 | 110 | None | No |
| SMTP submission | 587 | STARTTLS | Yes |
| SMTP submission | 465 | Implicit TLS | Yes, equally fine |
| SMTP relay | 25 | Opportunistic | No — blocked nearly everywhere |
IMAP port number (993) and POP3 port number (995)
The IMAP port number is 993 with SSL/TLS; 143 is the older IMAP port, which starts unencrypted. The POP3 port number is 995 with SSL/TLS; 110 is the old unencrypted POP3 port. Both protocols collect mail, and the difference is where the mail ends up.
IMAP keeps mail on the server and synchronises. Read something on your phone and it is read on your laptop; make a folder in one place and it exists in both. This is what you want, and it is the only sane choice once more than one device is involved.
POP3 downloads mail to one machine and, by default, deletes the server copy. It made sense when storage was expensive and connections were metered. Today its main effect is losing your mail archive along with the laptop it was on.
Use IMAP on 993 unless you have a specific reason not to.
Outgoing SMTP port: 587 or 465
Both are for submission — your mail client handing a message to your provider's server. The difference is only how encryption starts:
- 587 / STARTTLS. Connect in plain text, then upgrade to TLS. Long the default, and supported everywhere.
- 465 / implicit TLS. The connection is encrypted from the first byte. Deprecated in 1998, brought back in 2018, and supported everywhere.
Either is fine. Pick 587 unless something tells you otherwise; if one is being blocked on the network you are on, try the other.
Why port 25 is closed
Port 25 is how mail servers talk to each other. It is also how essentially all spam has been sent since the 1990s, because a compromised machine with an open port 25 is a free relay.
So it is blocked — by us, by every serious host, and by most home and mobile ISPs in India. That is not a limitation to work around; it is the thing keeping your domain's reputation intact. On a Bigdomainhost KVM VPS, outbound port 25 is blocked by default and opened on request once the account has a payment history.
Your mail client should never need it. If a client or an application is configured for port 25, change it to 587 and give it authentication. If something genuinely needs to relay on 25, talk to us on +91 75994 50220 and we will find the right answer, which is usually a dedicated IP and an authenticated relay rather than an open port.
IMAP and SMTP settings that work
# Incoming
Server: mail.yourdomain.com
Port: 993
Security: SSL/TLS
Username: you@yourdomain.com # the FULL address
# Outgoing
Server: mail.yourdomain.com
Port: 587
Security: STARTTLS
Auth: Yes, same username and password
Two things account for most failed setups: using just you instead of you@yourdomain.com as the username, and leaving "outgoing server requires authentication" unticked. Both produce errors that do not say what is actually wrong.
Still not connecting
- Test from a mobile hotspot. If it works there, your office network or ISP is blocking the port — that is the single most common cause.
- Check the certificate hostname. If
mail.yourdomain.comthrows a certificate warning, the certificate is issued for the server's own hostname. Use the hostname we give you instead. - Try the other submission port. 465 if 587 fails, and vice versa.
- Confirm the password. Mail clients cache old passwords and fail quietly for days after a change.
Mailboxes on your own domain are included on every Web & cPanel hosting plan. Call +91 75994 50220 and we will set the first device up with you.
Sources (checked )
- IETF / RFC Editor: RFC 8314: Cleartext Considered Obsolete: Use of Transport Layer Security (TLS) for Email Submission and Access (January 2018)
- IETF / RFC Editor: RFC 6409: Message Submission for Mail (November 2011)
How Bigdomainhost can help
If your website or app needs to send mail, run it where you control the settings. On a Bigdomainhost KVM VPS in Mumbai or Delhi NCR you have full root access, so your app can send through your mail provider's submission port 587 or 465; outbound port 25 is blocked by default and opened on request once your account has a payment history. If a mail client or app still will not connect, WhatsApp us the error at any time and an engineer will help you check the settings.