Problem to setup

Use this forum if you have installed hMailServer and want to ask a question related to a production release of hMailServer. Before posting, please read the troubleshooting guide. A large part of all reported issues are already described in detail here.
PeterChan
Normal user
Normal user
Posts: 40
Joined: 2018-06-23 15:45

Problem to setup

Post by PeterChan » 2018-12-14 04:44

Hi,
Within Thunderbird, it does repeatedly prompt for password below. What is the problem in my hMailserver setup?
38k.png

User avatar
mattg
Moderator
Moderator
Posts: 19902
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Problem to setup

Post by mattg » 2018-12-14 05:37

Please enable all logging in hmailserver, and show all logs created when you try to connect

My GUESS is that you have username in the form 'account' and not in the form 'account@example.com' in your Thunderbird settings
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

User avatar
jimimaseye
Moderator
Moderator
Posts: 8020
Joined: 2011-09-08 17:48

Re: Problem to setup

Post by jimimaseye » 2018-12-14 09:24

... and that it is now possibly in the auto ban list.

[Entered by mobile. Excuse my spelling.]
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 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

User avatar
katip
Senior user
Senior user
Posts: 662
Joined: 2006-12-22 07:58
Location: Istanbul

Re: Problem to setup

Post by katip » 2018-12-14 09:51

TB 60.x tends to ask for already saved passwords again again.
jfyi.
Katip
--
HMS 5.7.0-B2428-LTS-64-bit, MySQL 5.7.24, SA 3.4.2, ClamAV 0.101.2 + SaneS

User avatar
jimimaseye
Moderator
Moderator
Posts: 8020
Joined: 2011-09-08 17:48

Re: Problem to setup

Post by jimimaseye » 2018-12-14 09:56

katip wrote:
2018-12-14 09:51
TB 60.x tends to ask for already saved passwords again again.
jfyi.
'Tends to'? Why? If it is then thats a bug.
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 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

User avatar
katip
Senior user
Senior user
Posts: 662
Joined: 2006-12-22 07:58
Location: Istanbul

Re: Problem to setup

Post by katip » 2018-12-14 10:54

jimimaseye wrote:
2018-12-14 09:56
'Tends to'? Why? If it is then thats a bug.
i don't know. there are 10 years old posts in Mozilla and other forums about this behaviour.
http://kb.mozillazine.org/Password_not_ ... hunderbird KB page is updated in November telling aboıut various things but no one applies in our cases.
we never had this issue (+100 TB installations) till 60.x updates.
all reverted back to 52.9.1 and autoupdate switched off for now.
Katip
--
HMS 5.7.0-B2428-LTS-64-bit, MySQL 5.7.24, SA 3.4.2, ClamAV 0.101.2 + SaneS

PeterChan
Normal user
Normal user
Posts: 40
Joined: 2018-06-23 15:45

Re: Problem to setup

Post by PeterChan » 2018-12-15 09:44

Thanks to all.
Mattg,

Below, Huamin2 is one existing AD account on domain SearchHouseLive.com.
38m.png

User avatar
mattg
Moderator
Moderator
Posts: 19902
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Problem to setup

Post by mattg » 2018-12-15 23:51

Next section down on left hand side is SERVER SETTINGS
Show that one please
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

PeterChan
Normal user
Normal user
Posts: 40
Joined: 2018-06-23 15:45

Re: Problem to setup

Post by PeterChan » 2018-12-16 13:28

Hi,
FYI
38n.png

User avatar
jimimaseye
Moderator
Moderator
Posts: 8020
Joined: 2011-09-08 17:48

Re: Problem to setup

Post by jimimaseye » 2018-12-16 13:45

run this and post the results: viewtopic.php?f=20&t=30914

And

Do you have port 993 forwarded in your router?
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 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

PeterChan
Normal user
Normal user
Posts: 40
Joined: 2018-06-23 15:45

Re: Problem to setup

Post by PeterChan » 2018-12-16 15:27

Jim,
Thanks a lot!
Here is the report generated
HMSDiagnostic_201812162117.zip
(2.33 KiB) Downloaded 28 times
There is no port forwarding on port 993.

User avatar
jimimaseye
Moderator
Moderator
Posts: 8020
Joined: 2011-09-08 17:48

Re: Problem to setup

Post by jimimaseye » 2018-12-16 15:48

PeterChan wrote:
2018-12-16 15:27

There is no port forwarding on port 993.
If there is no port forwarding then only lan email clients can connect (assuming windows firewall allows). So:

Is the email client on the lan?If so why are you trying to connect using the fqdn? By doing so you need to ensure your router and internal dns is setup to recognise the internal address (usually the server is referred to by the internal server address or name)

If the email client is external to the lan then you will need the port forwarding on your router.

[Entered by mobile. Excuse my spelling.]
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 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

User avatar
katip
Senior user
Senior user
Posts: 662
Joined: 2006-12-22 07:58
Location: Istanbul

Re: Problem to setup

Post by katip » 2018-12-16 16:32

PeterChan wrote:
2018-12-14 04:44
Within Thunderbird, it does repeatedly prompt for password below. What is the problem in my hMailserver setup?
just one question to clarify:
does your mail download when you enter your password or you cannot login at all?
Katip
--
HMS 5.7.0-B2428-LTS-64-bit, MySQL 5.7.24, SA 3.4.2, ClamAV 0.101.2 + SaneS

User avatar
mattg
Moderator
Moderator
Posts: 19902
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Problem to setup

Post by mattg » 2018-12-16 22:45

ALSO, does it work without using an SSL connection?

And why don't you have port 25 enabled - you won't ever receive outside mail with this configuration
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

PeterChan
Normal user
Normal user
Posts: 40
Joined: 2018-06-23 15:45

Re: Problem to setup

Post by PeterChan » 2018-12-17 03:33

Thanks to all.
Jim,
Where to adjust? I do not use FQDN.

Katip,
It does repeatedly prompt for password, while I've entered AD password correctly.

Mattq,
Previously, it was working to send & receive mail, without SSL certificate.

User avatar
mattg
Moderator
Moderator
Posts: 19902
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Problem to setup

Post by mattg » 2018-12-17 04:09

If this used to work without SSL, it may well be your certificate is the problem

Where did you get the certificate from?
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

PeterChan
Normal user
Normal user
Posts: 40
Joined: 2018-06-23 15:45

Re: Problem to setup

Post by PeterChan » 2018-12-17 04:10

I get the certificate from namecheap.com.

User avatar
mattg
Moderator
Moderator
Posts: 19902
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Problem to setup

Post by mattg » 2018-12-17 06:59

if go back to ports without security, does the program work as expected
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

PeterChan
Normal user
Normal user
Posts: 40
Joined: 2018-06-23 15:45

Re: Problem to setup

Post by PeterChan » 2018-12-17 07:09

Since I expect to further work with certificate, what to adjust to resolve problem?

User avatar
mattg
Moderator
Moderator
Posts: 19902
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Problem to setup

Post by mattg » 2018-12-17 13:03

mattg wrote:
2018-12-17 06:59
if go back to ports without security, does the program work as expected
Did that make it work?
Have we identified that the certificate is in fact the issue?
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

PeterChan
Normal user
Normal user
Posts: 40
Joined: 2018-06-23 15:45

Re: Problem to setup

Post by PeterChan » 2018-12-17 17:03

How to remove security from ports?
The certificate was verify by Namecheap.com that it was fine.

User avatar
mattg
Moderator
Moderator
Posts: 19902
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Problem to setup

Post by mattg » 2018-12-17 23:57

PeterChan wrote:
2018-12-17 17:03
How to remove security from ports?
In 'TCP/IP ports'

as per your diagnostic report you have

Code: Select all

-----------------------------------------------------------------------------------------------

TCPIP PORTS                                         Connection Sec
               0.0.0.0         / 465   / SMTP   -   SSL/TLS             Cert: xxxxxxxx.com
               0.0.0.0         / 993   / IMAP   -   SSL/TLS             Cert: xxxxxxxx.com
               0.0.0.0         / 995   / POP3   -   SSL/TLS             Cert: xxxxxxxx.com

    !! No SMTP Port 25 defined. Direct external SMTP inbound not possible !!

-----------------------------------------------------------------------------------------------
Change back to port 25 = SMTP, 143 = IMAP and 110 = POP3, with no security
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

PeterChan
Normal user
Normal user
Posts: 40
Joined: 2018-06-23 15:45

Re: Problem to setup

Post by PeterChan » 2018-12-18 04:13

I adjusted the ports per your advice and have saved the change but now I have got this
38r.png

User avatar
mattg
Moderator
Moderator
Posts: 19902
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Problem to setup

Post by mattg » 2018-12-18 05:21

Well yes, you also need to change your Thunderbird ports to be the same...

Are you new at this?

PeterChan wrote:
2018-12-17 03:33
Previously, it was working to send & receive mail, without SSL certificate.
You indicated that you had hMailserver working previously
How long have you been using hMailserver?
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

PeterChan
Normal user
Normal user
Posts: 40
Joined: 2018-06-23 15:45

Re: Problem to setup

Post by PeterChan » 2018-12-18 05:33

For about 1 and half year.

Here is the setup I've already applied
38q.png

User avatar
mattg
Moderator
Moderator
Posts: 19902
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Problem to setup

Post by mattg » 2018-12-18 05:53

did you change thunderbird settings too
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

PeterChan
Normal user
Normal user
Posts: 40
Joined: 2018-06-23 15:45

Re: Problem to setup

Post by PeterChan » 2018-12-18 06:11

Yes, I've applied the changes and do not know why problem appeared.

User avatar
mattg
Moderator
Moderator
Posts: 19902
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Problem to setup

Post by mattg » 2018-12-18 08:30

Please enable all logging in hMailserver, recreate the issue, wait at least 30 seconds or until you get the error, and show all logs created


ALSO, please show the SMTP server settings from thunderbird
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

PeterChan
Normal user
Normal user
Posts: 40
Joined: 2018-06-23 15:45

Re: Problem to setup

Post by PeterChan » 2018-12-18 10:00

Hi,
Confirm fine to send out message but now problem is that I cannot receive message properly. Here are some current log details

https://1drv.ms/t/s!Ai8CrEskdewXnEILzKoCIUDmSF1c

User avatar
Dravion
Senior user
Senior user
Posts: 1402
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Problem to setup

Post by Dravion » 2018-12-18 10:22

This is your Problem

#This is whats happens if an IMAP-Client like Thunderbird)is trying to connect to your hMailServer
openssl s_client -starttls imap -crlf -connect imap.searchhouselive.com:143
CONNECTED(00000003)
a login account01@searchhouselive.com letmein

(hangs and waits for ever) <--- Problem

----
#This is how it should respond on a failed login attempt
a login account01@searchhouselive.com mywrongpass
a NO Invalid user name or password.

-----
#This is how it should respond on a successfull imap login
a login account01@dravionsrealm.net letmein
a OK LOGIN completed
a STATUS inbox
* STATUS "inbox" ()
a OK Status completed

To make things short: Your IMAP Settings are incorrect and you have not configured Port 587 (Submission) and/or Port 465 (SMTPS)

PeterChan
Normal user
Normal user
Posts: 40
Joined: 2018-06-23 15:45

Re: Problem to setup

Post by PeterChan » 2018-12-18 11:01

Should I use 587 or 465 (instead of 25) to SMTP?

User avatar
Dravion
Senior user
Senior user
Posts: 1402
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Problem to setup

Post by Dravion » 2018-12-18 11:22

587 is best for IMAP-Clients like Thunderbird (StartTLS) wihle 465 (SSL/TLS) works best for MS-Outlook and Windows Mail App or any other Windows
Crypting accessing Email Client (like EMClient or Mailbird for example).

If your use Outlook/MailApp/ect and Thunderbird, your should enable both. 587 set to STARTTLS and 465 set to SSL/TLS

PeterChan
Normal user
Normal user
Posts: 40
Joined: 2018-06-23 15:45

Re: Problem to setup

Post by PeterChan » 2018-12-18 11:40

If I use Thunderbird (and suppose to use 587), I should enable TCP port on 587, right?

User avatar
Dravion
Senior user
Senior user
Posts: 1402
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Problem to setup

Post by Dravion » 2018-12-18 12:48

Of cause!

Abd you need it both ways (InBound and OutBound)

For example: If you only enable InBound, Client Apps can connect but no payload bytes from the server side will reach the connected client.

So, to ha a real open port, make sure its InBound 587 and OutBound 587

The same goes for Port 25/143 and any other port you want to open.

User avatar
mattg
Moderator
Moderator
Posts: 19902
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Problem to setup

Post by mattg » 2018-12-18 14:17

My thing Dravion, is that I think that the certificate they are using isn't working correctly, and I was trying to point them to get hMailserver working without a certificate to see if that fixed the issue in the original post.
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

User avatar
Dravion
Senior user
Senior user
Posts: 1402
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Problem to setup

Post by Dravion » 2018-12-18 14:36

mattg wrote:
2018-12-18 14:17
My thing Dravion, is that I think that the certificate they are using isn't working correctly, and I was trying to point them to get hMailserver working without a certificate to see if that fixed the issue in the original post.
Yeah, there is indeed a Problem with the certificate.
Its regarding the Common Names, which only covers .domain.com and www.domain.com but not imap.domain.com and smtp.domain.com

However, it will work but its will raise SSL Warnings in Thunderbird regarding the Common Name Problem.

PeterChan
Normal user
Normal user
Posts: 40
Joined: 2018-06-23 15:45

Re: Problem to setup

Post by PeterChan » 2018-12-18 15:07

Thanks to all.
Dravion,
Does it mean there should be 2 separate certificates, respectively for imap.domain.com and smtp.domain.com?

Including the certificate for the below, there would be 3 certificates?
38u.png

User avatar
Dravion
Senior user
Senior user
Posts: 1402
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Problem to setup

Post by Dravion » 2018-12-18 15:25

PeterChan wrote:
2018-12-18 15:07
Thanks to all.
Dravion,
Does it mean there should be 2 separate certificates, respectively for imap.domain.com and smtp.domain.com?

Including the certificate for the below, there would be 3 certificates?

38u.png
Yes, this would be the easiest way.

The second option is, your Cert Providers Shop allows the combination of smtp.domain.com and imap.domain.com. this would result in 1 Single cert which would cover both smtp and imap.

PeterChan
Normal user
Normal user
Posts: 40
Joined: 2018-06-23 15:45

Re: Problem to setup

Post by PeterChan » 2018-12-19 06:11

Suppose I would get certificate, would it then be fine to use the below ports?

0.0.0.0 / 465 / SMTP - SSL/TLS Cert: xxxxxxxx.com
0.0.0.0 / 993 / IMAP - SSL/TLS Cert: xxxxxxxx.com
0.0.0.0 / 995 / POP3 - SSL/TLS Cert: xxxxxxxx.com

User avatar
Dravion
Senior user
Senior user
Posts: 1402
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Problem to setup

Post by Dravion » 2018-12-19 08:08

PeterChan wrote:
2018-12-19 06:11
Suppose I would get certificate, would it then be fine to use the below ports?

0.0.0.0 / 465 / SMTP - SSL/TLS Cert: xxxxxxxx.com
0.0.0.0 / 993 / IMAP - SSL/TLS Cert: xxxxxxxx.com
0.0.0.0 / 995 / POP3 - SSL/TLS Cert: xxxxxxxx.com
Youre on the right track, but there are some small pitfalls with this.

Thunderbird for example will not work with this because it doesnt like Port 993 SSL/TLS and will raise Timeout or Setting
Error messages at Account Setup step and wont let you finish the Account setup Wizzard. There are tricks to work arround this, but
its not the real deal. To avoid trouble, just enable Port 587 as well and set it to "STARTTLS required" and Port 143 "STARTTLS Required",
this will fit the bill.

For MS-Outlook (Office) and Windows 10 Mail App, use allways Port 465 and Port 993 or simply let it autodetect the defaults and you
are good to go.

You also need to setup Port 25 (hMailServers port to the Internet to exchange Messages amond diffrent Internet Emailserver).
This should be set to "STARTTLS optional" and no authentication.

Recommended settings start

#hMailServer port to the World
Port: 25 -> Internet Emailexchange (SMTP with "STARTTLS optional" and NO AUTH)

#hMailServer ports to communicate with your MailApps only
Port: 587 -> Your Office Network, Thunderbird and other MailApps (SMTP with STARTTLS)
Port: 465 -> Your Office Network, Thunderbird and other MailApps (SMTP with SSL/TLS)
Port: 143 -> Your Office Network, Thunderbird and other MailApps (IMAP with STARTTLS)
Port: 993 -> Your Office Network, Outlook and other MailApps (IMAP with SSL/TLS)
Port: 995 -> Your Office Network, Outlook and other MailApps (POP3 with SSL/TLS)

Recommended settings end

PeterChan
Normal user
Normal user
Posts: 40
Joined: 2018-06-23 15:45

Re: Problem to setup

Post by PeterChan » 2018-12-20 15:37

I bought relevant imap and smtp certificates and have applied them like
39a.png
39b.png
39c.png
but I get below problem. Why?

PeterChan
Normal user
Normal user
Posts: 40
Joined: 2018-06-23 15:45

Re: Problem to setup

Post by PeterChan » 2018-12-20 15:37

Here is problem
39d.png

User avatar
Dravion
Senior user
Senior user
Posts: 1402
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Problem to setup

Post by Dravion » 2018-12-20 18:51

This is a SMTP only Problem

As mentionef before, Thunderbird likes SMTP Port 587 with STARTSSL required and dont öike SSL/TLS at Account Confing.

If you have enabled STARTTLS 587, edit your Tunderbird SMTP Account settings.

If this doesnt help, remove the complete Thunferbird account in Thunderbird AND take a look at the SMTP Serverlist in Thunderbird and delete your hMailServer SMTP Settings additionally.

The restart Thunderbird again and at a news Account and make sure you use SMTP 587 STARTTLS required and IMAP Port 143 STARTTLS
requirrd (if you setup hMailServer correctly, Thunderbird will this settings automatically and you dont have to to edit the settings).

PeterChan
Normal user
Normal user
Posts: 40
Joined: 2018-06-23 15:45

Re: Problem to setup

Post by PeterChan » 2018-12-21 04:47

I followed your advice and any advice to this?
39e.png

User avatar
Dravion
Senior user
Senior user
Posts: 1402
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Problem to setup

Post by Dravion » 2018-12-21 05:38

Thadts the SSL-Warning mentioned earlier.
Your SSL-Certificate covers only www.yourdomain.com and yourdomain.com
in the Common Name Subject Details. You can simply confirm thats ok, but this warning will be shown on any new Account Setup in Thunderbird and Outlook until you purchase 2.x new Certificates
which covers smtp.yourdomain.com and a second certificate wich covers imap.yourdomain.com.

If you have purchased both certificates, you need to
load and aasign it it to smtp and imap in hMaiL Admin and the Warnings will not be shown anymore.

PeterChan
Normal user
Normal user
Posts: 40
Joined: 2018-06-23 15:45

Re: Problem to setup

Post by PeterChan » 2018-12-21 07:42

I do put the correct AD account and password and do not know why I've got the below error
39f.png
39g.png

User avatar
mattg
Moderator
Moderator
Posts: 19902
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Problem to setup

Post by mattg » 2018-12-21 08:28

In thunderbird server settings

it should be like

mail.example.com
NOT
example.com

If you have an IMAP.example.com cert and a smtp.example.com cert then in thunderbird you should have for imap connection imap.example.com, and for SMTP connection smtp.example.com
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

PeterChan
Normal user
Normal user
Posts: 40
Joined: 2018-06-23 15:45

Re: Problem to setup

Post by PeterChan » 2018-12-21 09:16

With these setup now
39i.png
39j.png
I am still getting issue
39k.png

User avatar
mattg
Moderator
Moderator
Posts: 19902
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Problem to setup

Post by mattg » 2018-12-21 09:24

Please enable all logging in hmailserver, try again, and when you get an error post all logs created
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

User avatar
Dravion
Senior user
Senior user
Posts: 1402
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Problem to setup

Post by Dravion » 2018-12-21 09:35

You need to assing your SSL-Certificate to SMTP Port 587 to, see screenshot
smtp_587.jpg

PeterChan
Normal user
Normal user
Posts: 40
Joined: 2018-06-23 15:45

Re: Problem to setup

Post by PeterChan » 2018-12-21 10:01

Dravion,
I did already assign it below
39m.png
Mattg,
I can only see the current log details below.
https://1drv.ms/t/s!Ai8CrEskdewXnEToVFlN22dlJtEv

User avatar
Dravion
Senior user
Senior user
Posts: 1402
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Problem to setup

Post by Dravion » 2018-12-21 10:17

Where is your port 25?

No Emailserver can work without a Port 25!

PeterChan
Normal user
Normal user
Posts: 40
Joined: 2018-06-23 15:45

Re: Problem to setup

Post by PeterChan » 2018-12-21 10:55

Sorry to that, I changed SMTP port to 25, like
39n.png
39o.png
but I still have got the same issue.
39p.png

User avatar
jimimaseye
Moderator
Moderator
Posts: 8020
Joined: 2011-09-08 17:48

Re: Problem to setup

Post by jimimaseye » 2018-12-21 11:05

Do this

run this run this and post the results: viewtopic.php?f=20&t=30914

From the thunderbird machine run the following:
1, Nslookup smtp.searchhouselive.Com

2, Telnet smtp.searchhouselive.Com 25


And post the results in text form (No screen prints)

And answer: is thunderbird on the same lan as the server or ois it external?

[Entered by mobile. Excuse my spelling.]
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 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

PeterChan
Normal user
Normal user
Posts: 40
Joined: 2018-06-23 15:45

Re: Problem to setup

Post by PeterChan » 2018-12-21 11:16

Thanks. Here are what I've got
C:\Users\Administrator>Nslookup smtp.searchhouselive.Com
Server: localhost
Address: 127.0.0.1

*** localhost can't find smtp.searchhouselive.Com: Non-existent domain

C:\Users\Administrator>Telnet smtp.searchhouselive.Com 25
Connecting To smtp.searchhouselive.Com...Could not open connection to the host, on port 25: Connect failed
both Thunderbird and hMailserver are on the same server.

User avatar
jimimaseye
Moderator
Moderator
Posts: 8020
Joined: 2011-09-08 17:48

Re: Problem to setup

Post by jimimaseye » 2018-12-21 11:30

There you go.

So change the server connection detail from smtp.searchhouselive.com to 127.0.0.1 in thunderbird.

Then retry the telnet command again replacing smtp.searchhouselive.com with 127.0.0.1

And do the diagnostic report that I requested and post the results in text form please.

ALSO: run the INTERNAL DIAGNOSTICS and post the results of that as well.
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 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

PeterChan
Normal user
Normal user
Posts: 40
Joined: 2018-06-23 15:45

Re: Problem to setup

Post by PeterChan » 2018-12-21 11:38

Here is what I have got by "Telnet 127.0.0.1 25"
39q.png
39q.png (11.2 KiB) Viewed 4319 times
Sorry, how to get INTERNAL DIAGNOSTICS?

Here are some log details
https://1drv.ms/t/s!Ai8CrEskdewXnEX0-KTPrxjIQlHq
Last edited by PeterChan on 2018-12-21 11:41, edited 1 time in total.

User avatar
jimimaseye
Moderator
Moderator
Posts: 8020
Joined: 2011-09-08 17:48

Re: Problem to setup

Post by jimimaseye » 2018-12-21 11:40

Is 182.173.77.220 really your external ip address??

And I think you have port 25 for STARTTLS REQUIRED. This is wrong.

This address is also behind searchhouselive.com which I presume is where you have a website hosted.
Sorry, how to get INTERNAL DIAGNOSTICS?
From within Hmailserver - ADvanced - Diagnostics.

(and PLEASE stop pasting screen images and use copy paste the text instead. And PLEASE paste the results we are requesting and not just part of what you think we need.)
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 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

PeterChan
Normal user
Normal user
Posts: 40
Joined: 2018-06-23 15:45

Re: Problem to setup

Post by PeterChan » 2018-12-21 11:53

Here is what I get
220 WIN-APIUFD1NJEU ESMTP
after having put
Telnet smtp.searchhouselive.Com 25
to hosts file.

Here is what I've got in Diagnostics
Test: Collect server details
hMailServer version: hMailServer 5.6.7-B2425
Database type: MSSQL

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 5.189.183.138 on port 25.
Received: 220 mail.hmailserver.com ESMTP.
Connected successfully.

Test: Test backup directory
ERROR: Backup directory has not been specified.

Test: Test MX records
Trying to resolve MX records for SearchHouseLive.com...
ERROR: MX records for domain SearchHouseLive.com could not be resolved

Test: Test local connect
Connecting to TCP/IP address in MX records for local domain domain SearchHouseLive.com...
ERROR: MX records for local domain SearchHouseLive.com could not be resolved

Test: Test message file locations
Relative message paths are stored in the database for all messages.

Test: Test IP range configuration
No problems were found in the IP range configuration.
What to further adjust?

User avatar
Dravion
Senior user
Senior user
Posts: 1402
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Problem to setup

Post by Dravion » 2018-12-21 13:43

@PeterChan

You need Port 25 AND Port 587 set as SMTP

BOTH Not Port 25 SMTP OR Port 587 SMTP

You need both ports 25 and 587!

Take a look at my Screenshot and you can see what i mean.

Post Reply