I was using Hmailserver well until 2days ago.
Two days ago, emails suddenly stopped sending, so I tested various methods, but the problem was not resolved yet.
On the server, telnet port 25 is normally open, but mail cannot be sent.
When I try to send from MS Outlook, an error occurs saying “Unable to connect to SMTP”. How can I solve this?
This is what appears in Hmailserver's Diagnostics:
Test: Collect server details
hMailServer version: hMailServer 5.6.8-B2574
Database type: MSSQL Compact
Test: Test IPv6
IPv6 support is available in operating system.
Test: Test outbound port
SMTP relayer not in use. Attempting mail.hmailserver.com:25...
Trying to connect to host mail.hmailserver.com...
Trying to connect to TCP/IP address *.*.*.* on port 25.
Received: 220 mail.hmailserver.com ESMTP.
Connected successfully.
Test: Test backup directory
Backup directory E:\hMailServer\Logs is writable.
Test: Test MX records
Trying to resolve MX records for kmsolution.net...
Host name found: mail.kmsolution.net
Test: Test local connect
Connecting to TCP/IP address in MX records for local domain domain **********.net...
Trying to connect to host mail.**********.net...
Trying to connect to TCP/IP address *.*.*.* on port 25.
Received: 220 mail.kmsolution.net ESMTP.
Connected successfully.
Test: Test message file locations
Relative message paths are stored in the database for all messages.
Test: Test IP range configuration
There is a total of 1 auto-ban IP ranges.
SMTP cannot connect.
Re: SMTP cannot connect.
is MS outlook on another computer or installed on server?antonio.kim wrote: ↑2024-07-13 19:13When I try to send from MS Outlook, an error occurs saying “Unable to connect to SMTP”. How can I solve this?
What does the Servers SMTP log say in reference to your MS outlook getting Unable to connect to SMTP”.? ( no log.. no connection.. is it a client problem? )
Server side looks fineTest: Test local connect
Connecting to TCP/IP address in MX records for local domain domain **********.net...
Trying to connect to host mail.**********.net...
Trying to connect to TCP/IP address *.*.*.* on port 25.
Received: 220 mail.kmsolution.net ESMTP.
Connected successfully.
is it the IP of your MSoutlook computer in the auto-ban IPrange? ( check as of WHY the IP is in there and then remove that ban ... )Test: Test IP range configuration
There is a total of 1 auto-ban IP ranges.
if above does not solve or point you in dierction.. do this -> viewtopic.php?f=20&t=30914 , post result in this thread and enable all logging and post relevant snippet from log
* hey jimimaseye.. if possible move post from alpha and development ...
lets cheat darwin out of his legacy, find a cure for cancer...
- jimimaseye
- Moderator
- Posts: 10122
- Joined: 2011-09-08 17:48
Re: SMTP cannot connect.
A lá.
5.7 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829
Re: SMTP cannot connect.
Is your client, MS Outlook, connecting with the correct security level for the port that it is attempting to connect on.
Also, have you verified that MS Outlook is attempting to connect on the correct submission Port.
Correct SMTP Submission Ports are:
Port 465 or Port 587. Usual security for these Ports are:
465 connection security SSL/TLS
587 connection security StartTLS (Optional)
Legacy submission Port 25 could be used but it is not recommended for email submissions.
hMailServer should have enabled also when using security. At least, TLSv1.2 and TLSv1.3 MS Outlook probably only supports TLSv1.2.
And if connecting with Security, did you install a Security Certificate into hMailServer.
Also, have you verified that MS Outlook is attempting to connect on the correct submission Port.
Correct SMTP Submission Ports are:
Port 465 or Port 587. Usual security for these Ports are:
465 connection security SSL/TLS
587 connection security StartTLS (Optional)
Legacy submission Port 25 could be used but it is not recommended for email submissions.
hMailServer should have enabled also when using security. At least, TLSv1.2 and TLSv1.3 MS Outlook probably only supports TLSv1.2.
And if connecting with Security, did you install a Security Certificate into hMailServer.
If you think you understand quantum mechanics, you don't understand quantum mechanics.