11.01.2020

Mail is not sent - how to check if the provider is blocking port 25

Mail is not sent - how to check if the provider is blocking port 25

Some Internet service providers block their clients from connecting to external mail servers. Providers, as a rule, block port 25 and from this provider you will not be able to send outgoing mail with the settings by the default in mail clients. The lock is entered by the provider for security purposes to prevent spam mailings from their network, which can be sent from users infected computers with malware.

How to check the connection on port 25

So, if you have port 25 registered in the outgoing mail settings, then let's first check to see if your ISP blocks this port. We will do all this on the command line of the Windows OS.

To start the command line in Windows, you can enter cmd in the start button menu in the search for programs and files and run cmd.exe as administrator (Screen 1).

Screen 1 Start - search for cmd.exe program

The second option for launching the command line in Windows OS is Start → Run (if this item is not in the menu, then it must be checked with a checkmark in the "Properties of the taskbar and the Start menu"). Enter cmd and click on the OK button (Screen 2). Any of these actions will open a command prompt on Windows.

Screen 2 Start → Run → cmd

Now, actually, we check whether our Internet provider blocks port 25. To do this, on the command line, write the following:

telnet domain 25

For example (Screen 3)

telnet hostinghutor.com 25

And press the Enter key.

Screen 3 Does provider block port 25

If the port is open and the provider does not block it, then you will see the response code 220 and, depending on the settings of the mail server, a greeting, for example, as in the screenshot below (Screen 4).

Screen 4 Answer code 220 - the provider does not block port 25

If port 25 is unavailable, you will see a connection failure error (Screen 5).

Screen 5 Connection failure - provider blocks port 25

Similarly, you can check port 587 or any other mail port, while the fact that there is no error indicates no blockage.

What to do if the provider blocks port 25?

In case, when port 25 is blocked by the provider, you can use the alternative port 587 or 465 SMTP (SSL).

If the telnet command returns an error - telnet settings in Windows

If, when you enter the telnet command, you get an error that the command was not found, then first you need to install the client with the pkgmgr /iu:"TelnetClient" command and wait a bit.

The second option is to activate the Telnet client in the "Windows Components" menu. In the Start button menu in the search for programs and files, you must enter appwiz.cpl and start the appwiz.cpl control panel item (Screen 6).

Screen 6 Launch the control panel item appwiz.cpl

Next, select the menu item "Enable or disable Windows components" (Screen 7).

Screen 7 Enable or disable Windows features

The "Windows Components" window will open - check the "Telnet Client" checkbox (do not confuse it with the "Telnet Server" item above) and click OK (Screen 8). After that, the telnet command will be available on the command line.

Screen 8 Check the box "Telnet Client"

That's all, friends! Now you will be able to find out whether your ISP is blocking port 25.

Latest news

HostingHutor.com is now in Telegram: chat with support, bot, channel
04.05.2020
HostingHutor.com is now in Telegram: chat with support, bot, channel
Dear users! Now we are in Telegram! Support chat, bot for sending notifications from your personal account and channel.
Schedule and payment processing for the May day holidays
29.04.2020
Schedule and payment processing for the May day holidays
Dear users! Check out the schedule for processing bank transfers during the May day holidays.
Google Chrome will soon blocking insecure HTTP downloads
03.03.2020
Google Chrome will soon blocking insecure HTTP downloads
At first, Chrome will warn, but in future releases it will already block unsafe HTTP downloads.
Starting January 13, only the new IBAN bank account standard is valid!
13.01.2020
Starting January 13, only the new IBAN bank account standard is valid!
Starting today, the bank code and current account in Ukraine will replace the bank account number according to the IBAN standard.

Latest Blog Posts

New virus Coronavirus (COVID-19) and cyber fraud on the Internet
02.03.2020
New virus Coronavirus (COVID-19) and cyber fraud on the Internet
The panic surrounding the coronavirus COVID-19 is used by cyber fraudsters on the Internet - phishing, selling masks, vaccines and tests.
Mail is not sent - check if the internet provider is blocking port 25
11.01.2020
Mail is not sent - check if the internet provider is blocking port 25
How to check if provider is blocking port 25 using the command line in Windows. How to send mail if port 25 is blocked.
How to install Clam AntiVirus (ClamAV) on a VPS or server with CentOS
11.11.2019
How to install Clam AntiVirus (ClamAV) on a VPS or server with CentOS
Install Clam AntiVirus (ClamAV) on VPS / VDS or a dedicated server with CentOS OS and configure daily server scan.
ISPmanager no longer supports backup to Yandex.Disk
20.10.2019
ISPmanager no longer supports backup to Yandex.Disk
Within a week, Yandex.Disk will disappear from the list of backup storage in the ISPmanager panel and other ISPsystem products.

Popular domains