remote host address is the local host: retry timeout exceeded

koos

Verified User
Joined
Nov 15, 2003
Messages
31
I make a new user.
I make a new domain.
is send a mail to [email protected] and i get: remote host address is the local host: retry timeout exceeded

A new user receives the mail ok....
I did try Mailscanner and Clamav before but it doesn't work correctly.

Is there anybody for help?

thanks a lot
 
What version of exim are you running?

To see, try from your shell login:

$ telnet localhost 25

and let us know the version number.

Did you give the new domain DNS time to propagate?

Jeff
 
Thanks, Marcel.

How about the real user and domain name?

Then I can do a test or two for you.

Jeff
 
Hi,

I will post the whole message.
Think that is better.

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:

[email protected]
(generated from Info@hetgeldersgeluid)
remote host address is the local host: retry timeout exceeded

------ This is a copy of the message, including all the headers. ------

Return-path: <[email protected]>
Received: from [213.46.72.241] (helo=nbmarcel)
by free1.firehosting.nl with esmtp (Exim 4.24)
id 1BBhGZ-000AoW-1J
for Info@hetgeldersgeluid; Thu, 08 Apr 2004 23:40:55 +0200
From: "Marcel - www.firehosting.nl" <[email protected]>
To: "'Het Gelders Geluid'" <[email protected]>
Subject: RE: test
Date: Thu, 8 Apr 2004 23:42:16 +0200
Organization: Firehosting
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0005_01C41DC3.207A2300"
X-Mailer: Microsoft Office Outlook, Build 11.0.5510
Thread-Index: AcQdse5wgP7urLnARlewB2nKxeRotgAAGnXw
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
In-Reply-To: <01bf01c41db2$21ac2310$152ea8c0@joopasus>
Message-Id: <[email protected]>

This is a multi-part message in MIME format.

------=_NextPart_000_0005_01C41DC3.207A2300
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

Binnen



_____

From: Het Gelders Geluid [mailto:Info@hetgeldersgeluid]
Sent: donderdag 8 april 2004 23:41
To: Marcel Otten
Subject: test



123


------=_NextPart_000_0005_01C41DC3.207A2300
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

------=_NextPart_000_0005_01C41DC3.207A2300--
 
I use RH 9 with da 1.21.2 and exim 4.24
It is not the dns time because if i make a new user in that domain he does work fine... But only the first standard user of a domain does have troubles with receiving mail.
i hope you understand my problem because my english is bad.:(
 
I can help Marcel, because he gave me real information.

Here's the results of some testing I did; please note that the boldface indicates what I typed in; the normal type indicates what the computer responded with:
Code:
[jeff@of1 jeff]$ [b]dig hetgeldersgeluid.firehosting.nl mx[/b]

; <<>> DiG 9.2.1 <<>> hetgeldersgeluid.firehosting.nl mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39990
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;hetgeldersgeluid.firehosting.nl. IN    MX

;; AUTHORITY SECTION:
firehosting.nl.         10689   IN      SOA     ns1.activedomaindns.net. postmas
ter.activedomain.nl. 1059666580 21600 1800 1209600 86400

;; Query time: 41 msec
;; SERVER: 192.168.2.1#53(192.168.2.1)
;; WHEN: Sat Apr 10 06:30:12 2004
;; MSG SIZE  rcvd: 132

[jeff@of1 jeff]$
The above shows that there's no mx record for the domain hetgeldersgeluid.firehosting.nl. While that may not be a fatal error, you should have an mx record for any domain that accepts email.

There is an A record for the domain:
Code:
[jeff@of1 jeff]$ [b]dig hetgeldersgeluid.firehosting.nl a[/b]

; <<>> DiG 9.2.1 <<>> hetgeldersgeluid.firehosting.nl a
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22644
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 1

;; QUESTION SECTION:
;hetgeldersgeluid.firehosting.nl. IN    A

;; ANSWER SECTION:
hetgeldersgeluid.firehosting.nl. 37951 IN A     217.148.176.20

;; AUTHORITY SECTION:
firehosting.nl.         37951   IN      NS      ns2.activedomaindns.net.
firehosting.nl.         37951   IN      NS      ns3.activedomaindns.net.
firehosting.nl.         37951   IN      NS      ns1.activedomaindns.net.

;; ADDITIONAL SECTION:
ns1.activedomaindns.net. 37747  IN      A       217.148.161.5

;; Query time: 40 msec
;; SERVER: 192.168.2.1#53(192.168.2.1)
;; WHEN: Sat Apr 10 06:40:52 2004
;; MSG SIZE  rcvd: 154

[jeff@of1 jeff]$
but what I don't know is if the A record is pointing to your DA system or not. It looks like it is; it answers "220 free1.firehosting.nl ESMTP Exim 4.24 Sat, 10 Apr 2004 15:40:59 +0200", which sounds reasonable for a DA system.

But when I try to send email I get an interesting error (in the following code example, telnet to port 25 is emulating a mailserver talking to your server):
Code:
[jeff@of1 jeff]$ [b]telnet hetgeldersgeluid.firehosting.nl 25[/b]
Trying 217.148.176.20...
Connected to hetgeldersgeluid.firehosting.nl.
Escape character is '^]'.
220 free1.firehosting.nl ESMTP Exim 4.24 Sat, 10 Apr 2004 15:43:34 +0200
[b]ehlo of1.ns-one.net[/b]
250-free1.firehosting.nl Hello of1.ns-one.net [67.112.189.217]
250-SIZE 52428800
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
[b]mail from:<[email protected]>[/b]
250 OK
[b]rcpt to:<[email protected]>[/b]
550 authentication required
[b]quit[/b]
221 free1.firehosting.nl closing connection
Connection closed by foreign host.
[jeff@of1 jeff]$
It's that 550 authentication required error that tells the story.

What it means is that this server, named free1.firehosting.nl, doesn't think it accepts email for hetgeldersgeluid.firehosting.nl.

The reason it's asking us for authentication is because hetgeldersgeluid.firehosting.nl is not in it's local_domains list or in it's relay_domains list.

In a DA implementation of exim, that's the same list for both; you should check the /etc/virtual/domains file to see if hetgeldersgeluid.firehosting.nl is listed. My guess is it's not, because the same code that would inser the hetgeldersgeluid.firehosting.nl domain into the domains file would also set up an mx record for it.

Please do some checking and let us know what you find.

Jeff
 
koos said:
i hope you understand my problem because my english is bad.:( [/B]
i can understand your problem.

What I can't do is test, because I don't have any information.

My guess is that for some reason it doesn't list that user as a valid user.

Have you tried deleting and recreating the user?

Have you checked to make sure you don't have a forward set up for that user?

Jeff
 
i have a testdomain : sthmail.nl
the user and mailadres with problem is sthmail [email protected]
I hope you have enough information...
Gr Koos

ps. there is no forward and i have it with more users.
 
Last edited:
Hi Jeff,

Read your answer and i lookup something for you.

Hetgeldersgeluid.nl has a MX record (10) witch point to the IP of the server.

; you should check the /etc/virtual/domains file to see if hetgeldersgeluid.firehosting.nl is listed. My guess is it's not, because the same code that would inser the hetgeldersgeluid.firehosting.nl domain into the domains file would also set up an mx record for it.

It's there.... /etc/virtual/hetgeldersgeluid.nl

I dont get it :confused:

Marcel.
 
Hi koos,

Make sure that the domain is in the /etc/virtual/domains and /etc/virtual/domainowners files.

Mark
 
Firehosting said:
Read your answer and i lookup something for you.

Hetgeldersgeluid.nl has a MX record (10) witch point to the IP of the server.
Hetgeldersgeluid.nl isn't the domain the mail is addressed to.

The domain you sent the email to, hetgeldersgeluid.firehosting.nl, does not have an MX record. If you look carefully at the error message you got, the email that bounced was addressed to:

[email protected]
It's there.... /etc/virtual/hetgeldersgeluid.nl
If you're sending mail to hetgeldersgeluid.firehosting.nl, then it needs to be set up as a domain on your system, because the domain has to be listed in both the /etc/virtual/domains and /etc/virtual/domainowners files, as Mark said.
I dont get it.
If for some reason you're not sending the mail there and it's being addressed there, then you need to check your system forwards.

Jeff
 
Last edited:
The domain is in the files...
But the problem is only with the first user.
I make a user sthmail. I make a domain sthmail.nl.
[email protected] doesn't work.
i make a new user [email protected]
Everything i send to [email protected] is ok.
I set the catch-all on [email protected].
all mail ending on @sthmail.nl is in the mailbox off [email protected] but only the mail of sthmail@sthmail doesn't come in the mailbox..
If i send a mail to [email protected] i receive a error mail back with: remote host address is the local host: retry timeout exceeded.

I hope you can understand me..:D :D

sorry for my bad english. If something unreadable i want to try explain again:p
 
I can understand you and you've made everything quite clear.

I think John needs to get involved in this one.

John... John... Are you listening :) ?

I'll write him and ask him to take a look at it.

Jeff
 
Hello,

Your hostname appears to be seleen.sth.nu, so ensure the following.

1) the hostname (seleen.sth.nu) is in the /etc/virtual/domains file.
2) the hostname (seleen.sth.nu) is *not* in the /etc/virtual/domainowners file.
3) the directory /etc/virtual/seleen.sth.nu *does* exist.
4) the directory /etc/virtual/seleen.sth.nu is empty (no files at all inside)
5) the domain sthmail.nl is in *both* /etc/virtual/domains and /etc/virtual/domainowners
6) the directory /etc/virtual/sthmail.nl exists and contains a /etc/virutal/sthmail.nl/passwd

I think the issue may lie with 1) or 5), but just have a look in /var/log/exim/mainlog right after attempting the delivery to check for error. If you would like us to have a look, just send over your IP, root password, and the name of the affected domain(s) (sthmail.nl)

John
 
it's work

Thank you very much for all reply

It's work :D .

2) the hostname (seleen.sth.nu) is *not* in the /etc/virtual/domainowners file. --> the hostname exist

4) the directory /etc/virtual/seleen.sth.nu is empty (no files at all inside) --> it was not empty.

And it works.

Greets Koos
 
Back
Top