Quote:
Originally Posted by djbaze
<xxx@xxx>: Host or domain name not found. Name service error for
name=xxx type=A: Host found but no data record of requested type.
|
This is saying you need some DNS records for your domain and your mail server. Your mail server needs matching forward and reverse DNS records, and it should announce itself as whatever you set the forward name as. If you are using NAT, this will be related to whatever the IP address is on your Internet connection.
Your domain (in this case, whatever comes after the @) needs at least either an A or MX record so that the receiving server can check the authenticity of your domain.
Quote:
|
Also when I send a mail from the internet to my server nothing is being received,
|
Do some testing to and from your server with telnet. An example from your server might be as follows. You should substitute your own info. Remote server responses are
italicised. Swap the obvious bits around for testing into your server. This lets you emulate what a mail server does, and might give you some clues as to where it fails (like, are your ports really open, etc).
telnet alt1.gmail-smtp-in.l.google.com 25
Trying 74.125.65.27...
Connected to alt1.gmail-smtp-in.l.google.com.
Escape character is '^]'.
220 mx.google.com ESMTP b18si26144582anl.98
helo myservername.example.com
250 mx.google.com at your service
mail from:<you@yourdomain.example.com>
250 2.1.0 OK b18si26144582anl.98
rcpt to:<someone@gmail.com>
250 2.1.5 OK b18si26144582anl.98
data
354 Go ahead b18si26144582anl.98
To:
someone@gmail.com
From:
you@yourdomain.example.com
Subject: test 123
foo
bar
.
250 2.0.0 OK 1277248974 b18si26144582anl.98
quit
221 2.0.0 closing connection b18si26144582anl.98
Connection closed by foreign host.
Recent comments
23 hours 42 min ago
1 day 9 hours ago
1 day 9 hours ago
1 day 13 hours ago
1 day 17 hours ago
1 day 18 hours ago
1 day 20 hours ago
2 days 6 hours ago
2 days 11 hours ago
2 days 12 hours ago