View Full Version : remote host address is the local host: retry timeout exceeded
I make a new user.
I make a new domain.
is send a mail to user@domain.tld 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
Firehosting
04-09-2004, 10:44 AM
Same problem here...
I'm not running Mailscanner and/or Clamav...
Marcel.
nobaloney
04-09-2004, 11:26 AM
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
Firehosting
04-09-2004, 02:20 PM
Exim version is 4.24
Marcel.
nobaloney
04-09-2004, 02:53 PM
Thanks, Marcel.
How about the real user and domain name?
Then I can do a test or two for you.
Jeff
Firehosting
04-09-2004, 03:12 PM
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:
Info@hetgeldersgeluid.firehosting.nl
(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: <info@firehosting.nl>
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" <info@firehosting.nl>
To: "'Het Gelders Geluid'" <Info@hetgeldersgeluid.firehosting.nl>
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: <E1BBhGZ-000AoW-1J@free1.firehosting.nl>
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.:(
nobaloney
04-10-2004, 06:59 AM
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:
[jeff@of1 jeff]$ dig hetgeldersgeluid.firehosting.nl mx
; <<>> 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:
[jeff@of1 jeff]$ dig hetgeldersgeluid.firehosting.nl a
; <<>> 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):
[jeff@of1 jeff]$ telnet hetgeldersgeluid.firehosting.nl 25
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
ehlo of1.ns-one.net
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
mail from:<directadmin@nobaloney.net>
250 OK
rcpt to:<info@hetgeldersgeluid.firehosting.nl>
550 authentication required
quit
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
nobaloney
04-10-2004, 07:01 AM
Originally posted by koos
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 sthmail@sthmail.nl
I hope you have enough information...
Gr Koos
ps. there is no forward and i have it with more users.
Firehosting
04-10-2004, 08:04 AM
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.
DirectAdmin Sales
04-10-2004, 10:10 AM
Hi koos,
Make sure that the domain is in the /etc/virtual/domains and /etc/virtual/domainowners files.
Mark
nobaloney
04-10-2004, 02:56 PM
Originally posted by Firehosting
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:
info@hetgeldersgeluid.firehosting.nl
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
nobaloney
04-10-2004, 02:57 PM
This post was made in error; so I deleted it.
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.
sthmail@sthmail.nl doesn't work.
i make a new user test@sthmail.nl
Everything i send to test@sthmail.nl is ok.
I set the catch-all on test@sthmail.nl.
all mail ending on @sthmail.nl is in the mailbox off test@sthmail.nl but only the mail of sthmail@sthmail doesn't come in the mailbox..
If i send a mail to sthmail@sthmail.nl 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
nobaloney
04-15-2004, 05:22 PM
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
DirectAdmin Sales
04-15-2004, 08:41 PM
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
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
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.