Talk to the NOC, IST hours — +91 75994 50220 support@bigdomainhost.com
Guide

SMTP port numbers, plus IMAP and POP3

The SMTP port number first, because that is what most people are looking for, then the IMAP and POP3 ports for incoming mail. Here is what each port does, which to put in your mail client, and why port 25 is closed on virtually every hosting provider in the world.

Short answer: Outgoing: SMTP submission on port 587 with STARTTLS or port 465 with implicit TLS, with authentication on. Incoming: IMAP on 993 with SSL/TLS, or POP3 on 995 if you must use POP3. Do not use 110 or unencrypted 143, and never point a mail client at port 25, which is blocked nearly everywhere.

SMTP port number: the four you will see

SMTP portWhat it is forEncryptionUse it in a mail client?
587Submission: your client or app sending mailSTARTTLSYes — the default choice
465Submission, encrypted from the first byteImplicit TLSYes — equally fine
25Relay: mail servers delivering to each otherOpportunisticNo — blocked nearly everywhere
2525Unofficial fallback some mail providers offerUsually STARTTLSOnly 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

ProtocolPortEncryptionUse it?
IMAP993SSL/TLSYes — this is the one
IMAP143None, or STARTTLSOnly with STARTTLS enforced
POP3995SSL/TLSYes, if you must use POP3
POP3110NoneNo
SMTP submission587STARTTLSYes
SMTP submission465Implicit TLSYes, equally fine
SMTP relay25OpportunisticNo — 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

  1. 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.
  2. Check the certificate hostname. If mail.yourdomain.com throws a certificate warning, the certificate is issued for the server's own hostname. Use the hostname we give you instead.
  3. Try the other submission port. 465 if 587 fails, and vice versa.
  4. 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 )

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.

See VPS plans Ask about mail ports on WhatsApp

Answers

Frequently asked questions

Still unsure? Call +91 75994 50220 or write to support@bigdomainhost.com — a human replies in IST hours.

What is the SMTP port number?

587 with STARTTLS, or 465 with implicit TLS, for sending mail from a client or application, always with authentication. Port 25 is for server-to-server relay and is blocked outbound on almost every host. Port 2525 is an unofficial fallback that only some mail providers offer.

What is the IMAP port number?

993 with SSL/TLS. Port 143 starts unencrypted and should only be used with STARTTLS enforced. Otherwise anything sent over it, including your password, can cross the network in plain text.

What is the POP3 port number?

995 with SSL/TLS. Port 110 is the unencrypted version and should be avoided for the same reason.

Should I use SMTP port 587 or 465?

Either works. Both are standard for mail submission: RFC 8314 (2018) prefers 465 with implicit TLS, and 587 with STARTTLS is just as widely supported. Use whichever your client or host recommends.

Why is port 25 blocked?

Because it is the port spam is sent on. Almost every hosting provider and home ISP blocks outbound port 25 to stop a compromised machine turning into a spam relay. Use 587 to send mail; 25 is for server-to-server delivery, not for your mail client.

IMAP or POP3?

IMAP, in almost every case. It keeps mail on the server so every device sees the same inbox and folders. POP3 downloads and usually deletes, which loses you the mail the moment a laptop does.

My mail client will not connect — what do I check?

In order: the port and encryption pair, whether the username is the full email address rather than just the part before the @, whether the outgoing server needs authentication (it does), and whether your ISP is blocking the port. Test from a mobile hotspot to rule the last one out.

Support that picks up the phone.

In IST hours, in Hindi or English, and WhatsApp replies fastest at any time. Sales, migration and emergencies all reach the same engineers. No offshore queue, no 48-hour first reply.

Want this done for you?

Migration is free and we do it. Call +91 75994 50220 or email support@bigdomainhost.com.