Intern Mail works, not extern !

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
HarimaKenji
New user
New user
Posts: 5
Joined: 2007-07-20 16:12

Intern Mail works, not extern !

Post by HarimaKenji » 2007-07-20 16:38

Hi,

I'm a newbie in mail server and I choose hmailServer for its simplicity, coupled with roundCube interface.

I follow step by step the instructions for installation, then now my internal messages are sent/received !

But now I want to send mail to extern adress (like inmy*ss@gmail.com or whatsthelol@hotmail.com). So I read that I have to get a static IP (or something like that) and an MX.

So I make an account at dyndns.com but now I'm totally lost inside this jungle or functions ! :shock:

Can someone explain me how to use dyndns.com to allow mail between internal and external ?

Thanks a lot !


Sorry if my english is not perfect (i'm french).
What's the LOL ?

^DooM^
Site Admin
Posts: 13861
Joined: 2005-07-29 16:18
Location: UK

Post by ^DooM^ » 2007-07-20 18:05


syslordx
New user
New user
Posts: 3
Joined: 2007-07-21 06:00

Post by syslordx » 2007-07-21 06:05

Have any1 read this thread? Any idea?

http://roundcubeforum.net/forum/index.php?topic=1922.0


Thanx!!




Hey, HarimaKenji!

PM me...

:D

toetag_hmail
Normal user
Normal user
Posts: 119
Joined: 2007-06-25 16:55
Location: Nowhere, USA

Re: Intern Mail works, not extern !

Post by toetag_hmail » 2007-07-22 04:23

HarimaKenji wrote:Hi,

I'm a newbie in mail server and I choose hmailServer for its simplicity, coupled with roundCube interface.

I follow step by step the instructions for installation, then now my internal messages are sent/received !

But now I want to send mail to extern adress (like inmy*ss@gmail.com or whatsthelol@hotmail.com). So I read that I have to get a static IP (or something like that) and an MX.

So I make an account at dyndns.com but now I'm totally lost inside this jungle or functions ! :shock:

Can someone explain me how to use dyndns.com to allow mail between internal and external ?

Thanks a lot !


Sorry if my english is not perfect (i'm french).
setting up a mail server is relatively easy depending on the environment. here's a cliff note version.

1: install mail server
2: setup an MX record in DNS (MX mail exchange)
3: verify that SMTP and POP3 ports are accessible outside the organization/firewall.

when i wish to send an email to: test@somedomain.com, the first thing my server does is look up the MX record for somedomain.com. Once it receives an MX record, it attempts to connect to the SMTP port (25) of the MX record and transmits the message if successful.

Most of the time that I've seen either there is no MX record or SMTP and POP3 ports are not accessible outside the organization/firewall.

This is the simplistic version, but the basics.
a desert to an Irishman is an empty glass.

HarimaKenji
New user
New user
Posts: 5
Joined: 2007-07-20 16:12

Post by HarimaKenji » 2007-07-23 09:50

I've made all of these !

My only difficulty seems to set the MX records on my DNS, dyndns.com

I tried a lot of menus with nothing to help me !
What's the LOL ?

User avatar
zybex
Normal user
Normal user
Posts: 129
Joined: 2006-11-19 21:03

Post by zybex » 2007-07-23 14:43

I thiink it's automatically created in dyndns, no need to add it manually.
You can test it by doing this in a command line (cmd):

> nslookup
> set type=mx
> yourDomainName.dyndns.com (or org, or whatever)

If it replies with a bunch of information, including "primary name server = something", then that part is working. If if returns an error, then something's missing.

HarimaKenji
New user
New user
Posts: 5
Joined: 2007-07-20 16:12

Post by HarimaKenji » 2007-07-23 16:32

I've made some searchs. In dyndns and no-ip, MX option is not free. :D

I think I'll wait for it ! ^^

Thx either

User avatar
zybex
Normal user
Normal user
Posts: 129
Joined: 2006-11-19 21:03

Post by zybex » 2007-07-23 17:08

MX is FREE in no-ip, I use it with many no-ip domains.
What's not free is MX Backup (different thing) and MX hosting (basically a volume mailbox hosted at their servers).

In fact, I just tried it with a new no-ip domain. The NSLOOKUP query does in fact return a server of theirs (nf1.no-ip.com), but they must redirect because it does work; I sent and email from gmail and it arrived at the new domain without problems.

(edit)
Also, on the config page of no-ip com, there are options to insert the MX servers. I created a "domain.no-ip.org" and added the MX "domain.no-ip.org", and it worked. nslookup does return "domain.no-ip.com" as it should (after dns cache refresh). They did NOT ask for my credit card :)

User avatar
[PT]Cableguy
New user
New user
Posts: 25
Joined: 2007-02-22 11:09
Location: Portugal

Post by [PT]Cableguy » 2007-07-23 20:07

I confirm what zybex says.
I use no-ip.org also and just configured the DUC (DynamicUpdateClient) on the server.
Then, i've created that domain on the Hmail server and pufff, it works.

btw: I'll try to create a simple tutorial to accomplish that.

HarimaKenji
New user
New user
Posts: 5
Joined: 2007-07-20 16:12

Post by HarimaKenji » 2007-07-26 15:50

Cableguy, I'm waiting for your tutorial because I really don't find what you are talking about and it's playing with my nerves ! :D

charmglow
New user
New user
Posts: 20
Joined: 2007-07-27 19:07

Need Help

Post by charmglow » 2007-07-27 19:24

I have created a web server and gotr domain from dysdns.com. Everything works perfect and can be accessed from outside.

I have installed your software and love all the feature, when i first installed and completed it asked me to conect to localhost and that went through perfect. Then I added the domain

http://charmglowmarketing.mine.nu/

which im sure you can access it but when I do the nslookup i receive the below info. Please help me to get this resolve.

Code: Select all

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\larry>NSLOOKUP
*** Can't find server name for address 192.168.1.1: Non-existent domain
*** Default servers are not available
Default Server:  UnKnown
Address:  192.168.1.1
Please help

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Post by martin » 2007-07-27 19:31

You need to specify the correct DNS server IP addresses in the network connection in Windows. (This is a Windows configuration issue and isn't related to hMailServer, but you've probably already understand that..)

charmglow
New user
New user
Posts: 20
Joined: 2007-07-27 19:07

Post by charmglow » 2007-07-27 19:39

Hi Martin, thank you so much for your quick response. Could tell me step by steps on how to do that in xp.

thanks in advance

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Post by martin » 2007-07-27 19:41

Choose Start, Settings and then Network connections. Right click on the connection you're using and select Properties. Open up the settings for Internet Protocol (TCP/IP) and enter your ISP's DNS servers in the lower part of the dialog. At least that's what it looks like on my computer.

charmglow
New user
New user
Posts: 20
Joined: 2007-07-27 19:07

Post by charmglow » 2007-07-27 19:58

i beleive that worked:

Code: Select all

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Theo>nslookup
Default Server:  dns.rnc.net.cable.rogers.com
Address:  64.71.255.198
How can i test this now, if you can tell me:

Thank you so much and what other settings must i do to get it going.

Thanks

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Post by martin » 2007-07-27 20:07


charmglow
New user
New user
Posts: 20
Joined: 2007-07-27 19:07

Post by charmglow » 2007-07-28 19:22

Hi there, still dont understand where the name of my mail server is: i did all this and it return teh below, so I added this domain to hmailserver. Also, can I created email accounts through this ?

I got this domain at dysdns.com , would my mail servers be:

pop>>>>>mail.charmglowmarketing.mine.nu
smtp>>>>mail.charmglowmarketing.mine.nu



> nslookup
> set type=mx
> yourDomainName.dyndns.com (or org, or whatever)


> charmglowmarketing.mine.nu
Server: dns.rnc.net.cable.rogers.com
Address: 64.71.255.198

Name: charmglowmarketing.mine.nu
Address: 74.116.222.22

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

Please help, I think im so close but yet so far away.

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Post by martin » 2007-07-28 19:28

still dont understand where the name of my mail server is:
Sorry, I don't understand what you mean by that.
i did all this and it return teh below, so I added this domain to hmailserver. Also, can I created email accounts through this
Through what? You can create email accounts in hMailServer Administrator by opening a domain and then select add account.

charmglow
New user
New user
Posts: 20
Joined: 2007-07-27 19:07

Post by charmglow » 2007-07-28 19:42

Thanks, I used cmd and type in teh following:

Code: Select all

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

>nslookup -type=mx charmglowmarketing.mine.nu
Server:  dns.rnc.net.cable.rogers.com
Address:  64.71.255.198

mine.nu
        primary name server = ns1.dyndns.org
        responsible mail addr = hostmaster.dyndns.org
        serial  = 2134924785
        refresh = 900 (15 mins)
        retry   = 300 (5 mins)
        expire  = 604800 (7 days)
        default TTL = 1800 (30 mins)

So would this be my smtp server:

responsible mail addr = hostmaster.dyndns.org


What i mean is how can i found out ISP's smtp server ?

thank you

charmglow
New user
New user
Posts: 20
Joined: 2007-07-27 19:07

Post by charmglow » 2007-07-28 21:59

Ok, i now can send email to support@.............com and i have forwarded to lif....@rog..com and i am receiving the email, but its NOT allowing me to send from support@mydomain.com.


Could my isp be blocking and how can I get around this. please help

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Post by martin » 2007-07-29 10:34

You really need to read the basic troubleshooting tips...
http://www.hmailserver.com/documentatio ... om_outside

charmglow
New user
New user
Posts: 20
Joined: 2007-07-27 19:07

Post by charmglow » 2007-07-29 21:07

this is what i get from the dns report:

Code: Select all

[ERROR: The parent servers say that the domain charmglowmarketing.mine.nu does not have any NS records (although they may have some other information on that zone). I can not do a DNS report on a hostname (such as mail.example.com) or a domain name that does not have its own zone.]
Please Martin, please help me, I have tried everything and its killing me.

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Post by martin » 2007-07-29 21:20

What problem is it that you have? Sending or receiving? What happens when you try to receive? Have you set up MX records for your domain? Have you confirmed that your ISP isn't blocking incoming or outgoing traffic on port 25? Can you connect to hMailServer using your email client? If not, what error message do you get?

Seriously, how do you expect me to be able to help if you don't spend any time describing your problem and how you've tried to fix it..?

charmglow
New user
New user
Posts: 20
Joined: 2007-07-27 19:07

Post by charmglow » 2007-07-29 21:42

Sending email is my big concern, i have a database of 10,000 emails and need to send out. I tried to connect to the hmailserver and it cant connect, I know that my isp is blocking port 25. What i did is:

this is what I get:

Code: Select all

Log onto incoming mail server (POP3): Cannot find the e-mail server. Verify the server information in your account properties.

Code: Select all

Send test e-mail message: Cannot find the e-mail server. Verify the server information in your account properties.
How can i find out what the pop and smtp is


I got a free domain from no-ip : http://charm.sytes.net/

I setup hmailserver and created support@charm.sytes.net



My issue is that teh smtp port is indeed block and its not allowing me to send out from support@charm.sytes.net.

I also did a test by setting support@charm.sytes.net in outlook by setting pop and smtp:

pop.charm.sytes.net
smtp.charm.sytes.net

I cant receive or send.

What is it that i need to get around the send port 25 block, what do i need to get to have an email address that i can send out tons of email off my server and in order for this to work.

I have read everything and tried, but cant get nothing going.

Can you get to my site ? http://charm.sytes.net/


Please please help me.

Thanks in advance.

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Post by martin » 2007-07-29 22:18

In your email client, in the POP3/SMTP settings, you need to specify the host name of the computer where hMailServer runs.

You write that you have specified pop.charm.sytes.net and smtp.charm.sytes.net. Why have you done this? As far as I can tell, these host names does not exist and you should specify charm.sytes.net as host name in your email client.

charmglow
New user
New user
Posts: 20
Joined: 2007-07-27 19:07

Post by charmglow » 2007-07-30 03:57

Excellent, the pop is working with what you told me what to do:


but the smtp is like this:
Send test e-mail message: Outlook cannot connect to your outgoing (SMTP) e-mail server. If you continue to receive this message, contact your server administrator or Internet service provider (ISP).
Your message did not reach some or all of the intended recipients.

Subject: test
Sent: 7/29/2007 11:24 PM

The following recipient(s) could not be reached:

'b.........@yahoo.ca' on 7/29/2007 11:24 PM
530 SMTP authentication is required.

So now we know port 25 is blocked, how can i get around this ? Ive tried all teh guides couldnt seem to get it going.

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Post by martin » 2007-07-30 08:29

Excellent, the pop is working with what you told me what to do
And you said it wasn't documented. Funny...
So now we know port 25 is blocked
How do you know that? You apparently haven't searched for the error message in the documentation. Do that.

charmglow
New user
New user
Posts: 20
Joined: 2007-07-27 19:07

Post by charmglow » 2007-07-30 08:59

Yes, receiving is no issue. i know for a fact that port 25 is block from ISP. So what steps can i take to go around this. Please help.

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Post by martin » 2007-07-30 09:17

Configure hMailServer to use your ISP's SMTP server as SMTP relayer.

charmglow
New user
New user
Posts: 20
Joined: 2007-07-27 19:07

Post by charmglow » 2007-07-30 21:18

this is not what i want to do , this is why i built a web server with mail server. Because i do not want to use my ISP. What else can i do ?

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Post by martin » 2007-07-30 21:22

Is your ISP blocking incoming or outgoing traffic on port 25? Or both? Have you actually asked them about it?

If they block for incoming traffic on port 25, you need to configure hMailServer to listen on a non standard port, such as 250, and then get someone to forward email for your domain on this port. You can purchase these services from No-IP for example:
http://www.no-ip.com/services/managed_m ... rview.html

If they block outgoing traffic on port 25, you can configure hMailServer to deliver email to your ISP's server which will then deliver it on to the recipients. If this doens't work for you, you need to find a hosting company which can relay email for you on some other port than port 25.

g0yjs0
Senior user
Senior user
Posts: 282
Joined: 2006-01-26 10:18

Post by g0yjs0 » 2007-07-30 23:13

Most hosting companies have port 587 available for SMTP relay as well because of ISPs blocking port 25. At least, we do. It has served us well.

charmglow
New user
New user
Posts: 20
Joined: 2007-07-27 19:07

Post by charmglow » 2007-07-30 23:57

It is my outgoing smtp port that is block. I tested it also by sending email to supoort@mydomain.com and i received at that address. Its the smtp port that is block on 25.

charmglow
New user
New user
Posts: 20
Joined: 2007-07-27 19:07

Post by charmglow » 2007-07-30 23:59

how can i configure port 587, please tell me step by step. Thanks.

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Post by martin » 2007-07-31 00:00

Please spend 15 minutes thinking for yourself. Thanks!

charmglow
New user
New user
Posts: 20
Joined: 2007-07-27 19:07

Post by charmglow » 2007-07-31 00:02

what you mean ?
Please spend 15 minutes thinking for yourself. Thanks!

i dont know how to do this, thats why im here to ask for help.

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Post by martin » 2007-07-31 00:05

Have you found a server which you can send email through on port 587?

Read the documentation...
Some internet service providers (the people that offer you the internet connection) block outgoing traffic on port 25. Since outgoing traffic on port 25 is required for email to work properly, you either need to convince your ISP to open up port 25 for you (if it's not open), or you need to configure hMailServer to forward all email through your ISP's email server. To determine whether port 25 is blocked, try typing telnet mail.hmailserver.com 25 on your command line. If you can connect, port 25 is not blocked; if you can't, port 25 is blocked. If you configure your ISP's email server as SMTP relayer, hMailServer will deliver all outgoing email to your ISP's email server, which in turn will deliver it to the correct destination. Since it's almost always possible to send email through your ISP's email server, this is a workaround if port 25 is blocked.

1. Start hMailAdmin
2. In the tree to the left, go to Settings -> Protocols -> SMTP
3. To the right, the SMTP settings are now shown. Click on the Delivery of e-mail tab.
4. In the SMTP Relayer field, enter the host name of your ISP's email server, along with your credentials on that server in case it demands authentication.
5. Save your changes

Please note that you should never specify localhost, 127.0.0.1, or your own hostname as the SMTP Relayer, since that would mean that hMailServer would try to forward messages to itself. That would result in an infinite loop. Also, you should leave this field empty if your ISP is not blocking port 25.

charmglow
New user
New user
Posts: 20
Joined: 2007-07-27 19:07

Post by charmglow » 2007-07-31 00:17

thank you. So you mean if i add my email that was providided from ISP into the smtp relayer, you mean then that it wil send it from the ISP email address and not my domain email that I create through hmailserver..... is this correct ?

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Post by martin » 2007-07-31 00:20

That depends on how you're ISP has configured their server. They may not allow you to send email from other addresses than the address they provided you with.

Just type in their host name in the SMTP Relayer field, save the changes and try to send an email.

charmglow
New user
New user
Posts: 20
Joined: 2007-07-27 19:07

Post by charmglow » 2007-07-31 00:27

this is an issue. i cant use nobodies else email other then @Rogers.com. i have tried many times to try to use from domain, yahoo, msn and nothing works.

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Post by martin » 2007-07-31 00:28

What happens when you try to send from another domain than rogers.com then?

Anyway, I wrote in this thread at 2007-07-30 20:22 what to do if you cannot relay outgoing email through your ISP:
If this doens't work for you, you need to find a hosting company which can relay email for you on some other port than port 25.

charmglow
New user
New user
Posts: 20
Joined: 2007-07-27 19:07

Post by charmglow » 2007-07-31 00:36

I always get this:

Send test e-mail message: Outlook cannot connect to your outgoing (SMTP) e-mail server. If you continue to receive this message, contact your server administrator or Internet service provider (ISP).

Do you know any ?

Is my issue because I have a free domain, would I be better off buying a real domian?

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Post by martin » 2007-07-31 00:40

What happens when you try to send from another domain than rogers.com then?
Send test e-mail message: Outlook cannot connect to your outgoing (SMTP) e-mail server. If you continue to receive this message, contact your server administrator or Internet service provider (ISP).
Why do you think this means that your ISP is stopping you from sending to other domains? The error message says that Outlook cannot connect to your SMTP server - which is hMailServer. Not that it's having some problem with your ISP's server. Right?

Have you specified the correct host name in the SMTP settings in Outlook? If Outlook cannot connect to the SMTP server, it's either because the SMTP server isn't accessible, or because you've specified incorrect settings.

What host name have you specified?

Is there any more text in the error message?

The problem does not occur because you're using some free domain name. It occurs because you haven't configured your email client or hMailServer properly.

User avatar
danny6167
Senior user
Senior user
Posts: 472
Joined: 2007-02-07 15:24
Location: Western Australia
Contact:

Post by danny6167 » 2007-07-31 12:40

I believe it is the ", contact your server administrator or Internet service provider (ISP)." part of the message that makes him think that.

g0yjs0
Senior user
Senior user
Posts: 282
Joined: 2006-01-26 10:18

Post by g0yjs0 » 2007-07-31 15:37

Charmglow, please contact me via PM, and I will see if I can help you through this. I think part of the problem is that too many people are throwing out different solutions and it's making your head spin. PM me and I will step you through different avenues one at a time so we can figure out the solution that is the least painful to implement.

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Post by martin » 2007-07-31 21:11

I've added to you to my MSN list as well if you want assistance..

charmglow
New user
New user
Posts: 20
Joined: 2007-07-27 19:07

Post by charmglow » 2007-08-01 02:26

Thanks !

charmglow
New user
New user
Posts: 20
Joined: 2007-07-27 19:07

Post by charmglow » 2007-08-01 09:34

I want to thank Martin for his fine software and help but i would like to specially thank prodjtech for his time, support and most of all for educating me with hmailserver. They both were excellent help and I could have not gotten my server going without them.


Great software, great people and most of all excellent support !


Thank you guys.

^DooM^
Site Admin
Posts: 13861
Joined: 2005-07-29 16:18
Location: UK

Post by ^DooM^ » 2007-08-01 09:55

Did you notice the donate button at the top of your screen ;)

g0yjs0
Senior user
Senior user
Posts: 282
Joined: 2006-01-26 10:18

Post by g0yjs0 » 2007-08-01 15:32

Doom,

You're too late. He already offered me money, and I told him to donate it to hMailServer. :wink:

charmglow
New user
New user
Posts: 20
Joined: 2007-07-27 19:07

Post by charmglow » 2007-08-01 17:47

Donated a few from azeo@.........


Thanks alot guys.

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Post by martin » 2007-08-01 22:21

Thanks for the donation charmglow. Nice of you... =)

Post Reply