Trying to receive email

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.
Post Reply
squall8cloud7
New user
New user
Posts: 10
Joined: 2015-03-05 04:30

Trying to receive email

Post by squall8cloud7 » 2015-03-05 04:38

Hi,

I'm fairly new to the hMail.

I have managed to setup hMail for the most part to work I think. I however cannot receive emails. I can send email form port 25 or 587 SMTP. I assume it has something to do with POP3 port 110. I have also opened up the port on my router.

On my email client, I managed to send an email from myname@mydomain.com to my gmail account (myname@gmail.com). However when I reply from that gmail account to the email, I never receive it to myname@mydomain.com

I have been trying to understand why that is. Any help is more than welcome :)

Thanks!

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

Re: Trying to receive email

Post by mattg » 2015-03-05 06:35

please post the hmailserver diagnostics for your domain
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: 7095
Joined: 2011-09-08 17:48

Re: Trying to receive email

Post by jimimaseye » 2015-03-05 11:05

....and look at your SMTP logs.
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

JackLL
New user
New user
Posts: 5
Joined: 2015-03-05 11:37

Re: Trying to receive email

Post by JackLL » 2015-03-05 12:19

deleting and reposting in a new thread
Last edited by JackLL on 2015-03-05 12:32, edited 1 time in total.

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

Re: Trying to receive email

Post by jimimaseye » 2015-03-05 12:26

JAck... create a new thread please so it can be dealt with separately and we can answer you personally. It is highly likely that the issues might be different.
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

squall8cloud7
New user
New user
Posts: 10
Joined: 2015-03-05 04:30

Re: Trying to receive email

Post by squall8cloud7 » 2015-03-05 14:42

Absolutely!

Here attached are the latest logs (they go on like this creating new sessions). I turned on all logging in hmail.

Let me know if you need somthing else.

Thanks!
Attachments
hmail logs.zip
(626 Bytes) Downloaded 48 times

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

Re: Trying to receive email

Post by mattg » 2015-03-05 15:06

mattg wrote:please post the hmailserver diagnostics for your domain
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
mattg
Moderator
Moderator
Posts: 18553
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Trying to receive email

Post by mattg » 2015-03-05 15:10

squall8cloud7 wrote:I have managed to setup hMail for the most part to work I think. I however cannot receive emails. I can send email form port 25 or 587 SMTP. I assume it has something to do with POP3 port 110. I have also opened up the port on my router.
POP3 is downloading mail by a mail client from a mailserver

Servers receiving mail is via SMTP

Please a) show the diagnostics for this domain, and then b) if you wish to show logs, rename today's log file, enable all logging, try to recreate the issue and wait until you get an error, or for at least 90 seconds, and then post the logs in their entirety, not just the bits you think we want.
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

squall8cloud7
New user
New user
Posts: 10
Joined: 2015-03-05 04:30

Re: Trying to receive email

Post by squall8cloud7 » 2015-03-05 15:28

http://mydnscheck.com/?domain=scotchlan ... &ns5=&ns6=

I did a dns diagnostic on my domain and it turns out that my ISP is blocking port 25 it seems.

I assume there is no real way around this from what I just looked up online other than asking them to unblock or change ISPs ?

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

Re: Trying to receive email

Post by mattg » 2015-03-05 15:41

It could also be local firewall, or ports not forwarded through your router

DNS records look fine

Can you 'telnet Localhost 25' from the machine with hMailserver installed?
Can you 'telnet MACHINENAME 25' from somewhere else on your local LAN?

Most ISPs who block port 25, block outgoing port 25, not incoming
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

squall8cloud7
New user
New user
Posts: 10
Joined: 2015-03-05 04:30

Re: Trying to receive email

Post by squall8cloud7 » 2015-03-05 18:31

I have disabled the firewall on the router and the computer firewall was already off.

THe ports are fowarded correctly I assume as I am using the FTP right now and the other ports are getting through.

The localhost 25 returns a 220 code

I tried on another machine as well in the same LAN and it returns the same 220 code.

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

Re: Trying to receive email

Post by jimimaseye » 2015-03-05 18:46

Are you on the end of 173.176.138.9 ?
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

squall8cloud7
New user
New user
Posts: 10
Joined: 2015-03-05 04:30

Re: Trying to receive email

Post by squall8cloud7 » 2015-03-05 18:51

Yes

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

Re: Trying to receive email

Post by jimimaseye » 2015-03-05 19:06

and how come youre sure that your ISP is not blocking port 25 inbound access? Either they are or a firewall is (assuming you havent tinkered with IP ranges etc). Because however we look at it, port 25 on that address is simply unreachable.
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

squall8cloud7
New user
New user
Posts: 10
Joined: 2015-03-05 04:30

Re: Trying to receive email

Post by squall8cloud7 » 2015-03-05 19:13

Well I assume they are not blocking it outbound since my emails are getting out to my gmail account. Would that be a fair assumption or do I actually need to call them ?

I turned off all firewalls at this point from the machines and routers to test.

Is there anything I can do to test that?

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

Re: Trying to receive email

Post by jimimaseye » 2015-03-05 20:28

Do you have IP ranges set as default?
Do you have the router forwarding port 25 through to your mailserver?

To be honest, after all this as you have done everything obvious to do the test, then I can only think of calling them as being the next logical step. (I understand that actually getting a comprehensible or correct answer from them may be like pulling teeth but its the only thing left).
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

squall8cloud7
New user
New user
Posts: 10
Joined: 2015-03-05 04:30

Re: Trying to receive email

Post by squall8cloud7 » 2015-03-05 21:08

Yes I haven't played with the IP ranges.

Yes the router is fowarding the port 25 to the computer which is hosting the mailserver

I tihnk I might have to at this point, not sure what else to do ...

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

Re: Trying to receive email

Post by mattg » 2015-03-05 23:36

mattg wrote:Can you 'telnet Localhost 25' from the machine with hMailserver installed?
Can you 'telnet MACHINENAME 25' from somewhere else on your local LAN?
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: 7095
Joined: 2011-09-08 17:48

Re: Trying to receive email

Post by jimimaseye » 2015-03-05 23:53

He did actually say Matt:
squall8cloud7 wrote:
The localhost 25 returns a 220 code

I tried on another machine as well in the same LAN and it returns the same 220 code.
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
mattg
Moderator
Moderator
Posts: 18553
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Trying to receive email

Post by mattg » 2015-03-06 00:15

OK
(I should look harder - shouldn't I)
That means that local machine firewall is NOT the problem

It still could be ports NOT being forwarded from router for public IP address to the hMailserver.
squall8cloud7 wrote:THe ports are fowarded correctly I assume as I am using the FTP right now and the other ports are getting through.
The bit about FTP is confusing to me too.

Can you please show a screen shot of your router's config page where the port forward is occurring. Also please define make and model of router if not contained in that screenshot
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

squall8cloud7
New user
New user
Posts: 10
Joined: 2015-03-05 04:30

Re: Trying to receive email

Post by squall8cloud7 » 2015-03-06 01:10

Sure no problem.

Here is a screenshot of the router.

Router is a linksys smart wifi EA6400
Attachments
Port-Fowarding.png

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

Re: Trying to receive email

Post by mattg » 2015-03-06 01:30

I can't telnet to you on any of the ports in that screenshot, including the FTP ports

Is the SPI firewall for that device disabled (or at least allowing connections)
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

squall8cloud7
New user
New user
Posts: 10
Joined: 2015-03-05 04:30

Re: Trying to receive email

Post by squall8cloud7 » 2015-03-06 01:36

Yup - I disabled the IPv4 SPI firewall.

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

Re: Trying to receive email

Post by jimimaseye » 2015-03-06 11:11

For me, this is definitely seeming NOT an hmailserver problem but more like a network (internal or external) network problem. Firewall, the incoming external IP address (from DNS) wrong, or something else...who knows. But it isnt hmailserver. It isnt HMAILSERVER support you need any more, you need network/firewall/router/DNS/internet support from somewhere.

And yet, if those router details are responsible for the routing, and your stated ip address is correct it definitely shows something interfering.

Did you call your ISP about port 25?

Is this you? Is this your server responding?

Code: Select all

ftp> open 173.176.138.9
Connected to 173.176.138.9.
220-EXPERIMANTAL BUILD
220-NOT FOR PRODUCTION USE
220-
220 Implementing draft-bryan-ftp-hash-02
User (173.176.138.9:(none)):
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

squall8cloud7
New user
New user
Posts: 10
Joined: 2015-03-05 04:30

Re: Trying to receive email

Post by squall8cloud7 » 2015-03-06 13:47

Alright. Thanks a lot! If it's on my end I'll have try to figure it out.

Yeah that is my FTP. I saw you connecting through the logs.

I called about port 25, not much luck there. They told me they blocked port 25 for sending emails. Which is not a problem if I send through their SMTP.

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

Re: Trying to receive email

Post by jimimaseye » 2015-03-06 14:12

I think its quite conclusive.

They said they have blocked port 25.

Case closed.

How to get over this? Well sending is easy (you relay to their server). But receiving: you're stuffed unless you have their/an external email provider.
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

danswartz
Normal user
Normal user
Posts: 91
Joined: 2013-10-03 15:35

Re: Trying to receive email

Post by danswartz » 2015-03-06 18:56

I'm not so sure about that. Not all ISPs block port 25 both ways. Mine (verizon in US) blocks outbound from residential but allows inbound.

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

Re: Trying to receive email

Post by jimimaseye » 2015-03-06 19:40

danswartz wrote: Not all ISPs block port 25 both ways.
....but some do.
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

Post Reply