Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: sodjazero on September 30, 2008, 06:56:06 PM

Title: server not receiving mail
Post by: sodjazero on September 30, 2008, 06:56:06 PM
I have sme 7.3 i am not able to receive mail when sending to this address wb@wrbit.com. This site http://www.mxtoolbox.com/index.aspx shows that i have my mx record configured correclty.

I have a dynamic host name configured because i dont have a statip address.

What else can i check for?
Title: Re: server not receiving mail
Post by: cactus on September 30, 2008, 08:08:39 PM
I have sme 7.3 i am not able to receive mail when sending to this address wb@wrbit.com. This site http://www.mxtoolbox.com/index.aspx shows that i have my mx record configured correclty.

I have a dynamic host name configured because i dont have a statip address.

What else can i check for?
Did you setup some dynamic DNS service like DynDNS and setup your MX record to point to that? You know it is not a very good situation to run a mailserver on a dynamic IP address.
Title: Re: server not receiving mail
Post by: sodjazero on September 30, 2008, 08:27:01 PM
MX redord has been created via DynDns to point to my server.
Title: Re: server not receiving mail
Post by: brianr on September 30, 2008, 10:44:46 PM
using the link you provide, I get:

No MX records found for wrbit.com

Title: Re: server not receiving mail
Post by: sodjazero on October 01, 2008, 05:40:18 AM
The mx in the link above for www.wrbit.com, shows the info below...

10 www.wrbit.com 76.249.237.226 3600

Should my mx record be set to "wrbit.com" ? Instad of "www.wrbit.com"





Title: Re: server not receiving mail
Post by: cactus on October 01, 2008, 09:01:47 AM
The mx in the link above for www.wrbit.com, shows the info below...

10 www.wrbit.com 76.249.237.226 3600

Should my mx record be set to "wrbit.com" ? Instad of "www.wrbit.com"
Not sure, but I think you need to use the dyndns assigned hostname as this is linked to the changing IP, but I have never dealt with dynamic IP and mailservers.
Title: Re: server not receiving mail
Post by: janet on October 01, 2008, 10:41:31 AM
sodjazero

Do you have the wildcard setting ticked at dyndns ie to allow *.wrbit.com names ?

Have you done a port scan test from behind your server to see if required email ports are open ie port 25 ?
See
www.grc.com

Many dynamic services block ports.
Title: Re: server not receiving mail
Post by: brianr on October 01, 2008, 12:35:05 PM
Quote
Should my mx record be set to "wrbit.com" ? Instad of "www.wrbit.com"

yes I think so...
Title: Re: server not receiving mail
Post by: brianr on October 01, 2008, 12:36:10 PM
Quote

Many dynamic services block ports.

I use dyndns all over the place, they do not block any ports.
Title: Re: server not receiving mail
Post by: janet on October 01, 2008, 12:47:09 PM
brianr

Quote
I use dyndns all over the place, they do not block any ports.

I meant the dynamic (IP) service connection provided by ISP's, and many do have ports blocked, particularly 25.
Title: Re: server not receiving mail
Post by: brianr on October 01, 2008, 01:11:29 PM
brianr

I meant the dynamic (IP) service connection provided by ISP's, and many do have ports blocked, particularly 25.


ok, sorry, yes you are right, although many do not.  I find that the overtly "retail" ones often do, the more "middle of the road" ones do not.  In the UK, the main offenders are (as far as I can see) sky and telewest (cable).  Even tiscali, talk talk do not seem to, although I have other problems with them.
Title: Re: server not receiving mail
Post by: arne on October 01, 2008, 01:18:44 PM
I think you do not need a mx record at all for receiving mail. (MX record can be used, but it is not needed to be used when there is only one server for the domain and ip.)

I use to set up only two A records for my home server: domain.com and *.domain.com (The last with * wildcard.)

This will bring all traffic to the correct ip. (ping whateveryouwant.domain.com will work.)

I have used dynamic IP for years, and it has not been a problem until now. (But it changes not more often than one time per month.)

When setting up a mailserver I usually first send one mail to my gmail account. When it arrives at the gmail accont I send an answer in return to see that everything works. I have also used a hotmail account for a simular purpose.

To be able to receive mail you will also need to be able to "see" your mail port from the outside. (Usually tcp port 25)
https://www.grc.com/x/ne.dll?bh0bkyd2

Title: Re: server not receiving mail
Post by: sodjazero on October 01, 2008, 05:24:18 PM
I think you do not need a mx record at all for receiving mail. (MX record can be used, but it is not needed to be used when there is only one server for the domain and ip.)

I use to set up only two A records for my home server: domain.com and *.domain.com (The last with * wildcard.)

This will bring all traffic to the correct ip. (ping whateveryouwant.domain.com will work.)

I have used dynamic IP for years, and it has not been a problem until now. (But it changes not more often than one time per month.)

When setting up a mailserver I usually first send one mail to my gmail account. When it arrives at the gmail accont I send an answer in return to see that everything works. I have also used a hotmail account for a simular purpose.

To be able to receive mail you will also need to be able to "see" your mail port from the outside. (Usually tcp port 25)
https://www.grc.com/x/ne.dll?bh0bkyd2



The site shows port 25 to be open
Title: Re: server not receiving mail
Post by: sodjazero on October 01, 2008, 05:32:26 PM
This is the error message when i try to send mail to wb@wrbit.com

This is an automatically generated Delivery Status Notification

THIS IS A WARNING MESSAGE ONLY.

YOU DO NOT NEED TO RESEND YOUR MESSAGE.

Delivery to the following recipient has been delayed:

    wb@wrbit.com

Message will be retried for 2 more day(s)

Technical details of temporary failure:
DNS Error: Could not contact DNS servers

  ----- Message header follows -----

Received: by 10.142.77.11 with SMTP id z11mr2540781wfa.337.1222746000365;
       Mon, 29 Sep 2008 20:40:00 -0700 (PDT)
Received: by 10.142.12.11 with HTTP; Mon, 29 Sep 2008 20:40:00 -0700 (PDT)
Message-ID: <a112410a0809292040k485e670ahbb74659a1f06ef06@mail.gmail.com>
Date: Mon, 29 Sep 2008 22:40:00 -0500
From: "David Wheeler" <wbrown82@gmail.com>
To: wb@wrbit.com
Subject: test 2
MIME-Version: 1.0
Content-Type: multipart/alternative;
       boundary="----=_Part_30303_8380286.1222746000365"

  ----- Message body suppressed -----
Title: Re: server not receiving mail
Post by: arne on October 01, 2008, 08:46:04 PM
I believe that this is a incorrect configuration of the DNS server only.

If I make "ping www.wrbit.com" I got an answer.

If I make "ping wrbit.com" I got no answer.

If I make "ping something.wrbit.com I cot no answer.

What I use to do just to make it quick and easy is as mentioned only two A records:

wrbit.com and *.wrbit.com

Then both "ping wrbit.com" and "ping something.wrbit.com" will all resolve to the same ip, ping will answer and mail will come trough.

As the portscan is "positive" I would believe that the DNS issue is the only problem.

Of cource it can be done more "advanced" using MX records as well.

***
Does also not work: http://wrbit.com/ (But this works: http://www.wrbit.com )
I think that if dns is set so both links will work, and no MX for simplisity, the mail will come trough.
Title: Re: server not receiving mail
Post by: arne on October 01, 2008, 09:07:13 PM
By the way, just for some troubleshooting:

Try to send the mail to this address: wb@www.wrbit.com

I think (guess) that it will work.