The Sun is running sendmail and a pop3 server. I can send mail out just
fine. But, I can't recieve mail. I get "Too many hops" error. From what
I've read, this is probably because I have a loop somewhere, but I don't
know where.
Here's the cache of my DNS:
$ORIGIN .
$TTL 86400 ; 1 day
adoy.com IN SOA ns.adoy.com. root.adoy.com. (
1997022704 ;
28800 ;
14400 ;
3600000 ;
86400 ;
)
NS ns.adoy.com.
A 4.63.53.14
MX 10 smtp.adoy.com.
MX 20 smtp.easydns.com.
$ORIGIN adoy.com.
ftp A 4.63.53.14
localhost A 127.0.0.1
ns A 4.63.53.14
pop A 4.63.53.14
smtp A 4.63.53.14
www A 4.63.53.14
As you can see, my domain is adoy.com. Everything points to the same IP
address for the Linux box to handle. As for mail and http traffic, that
is forwarded to my Sun box with local IP addy 192.168.0.2 (Linux is
192.168.0.1).
I have smtp.easydns.com has the backup mail spooler. All mail should go
to smtp.adoy.com first then to smtp.easydns.com if that fails (If this
is wrong, let me know).
Like I said, I can send mail out just fine, but can't recieve it. Here's
the returned mail I get to postm...@adoy.com (i.e. ro...@adoy.com):
From MAILER-DAEMON Mon Jan 21 18:38:31 2002
Return-Path: <MAILER-DAEMON>
Received: from localhost (localhost)
by suburban.adoy.com (8.10.2+Sun/8.10.2) id g0M0cUU10890;
Mon, 21 Jan 2002 18:38:31 -0600 (CST)
Date: Mon, 21 Jan 2002 18:38:31 -0600 (CST)
From: Mail Delivery Subsystem <MAILER-DAEMON>
Message-Id: <200201220038...@suburban.adoy.com>
To: postmaster
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="g0M0cUU10890.1011659911/suburban.adoy.com"
Subject: Postmaster notify: see transcript for details
Auto-Submitted: auto-generated (postmaster-notification)
Content-Length: 15154
This is a MIME-encapsulated message
--g0M0cUU10890.1011659911/suburban.adoy.com
The original message was received at Mon, 21 Jan 2002 18:38:31 -0600
(CST)
from smtp.easydns.com [205.210.42.30]
with id g0M0cUT10890
----- The following addresses had permanent fatal errors -----
<bho...@adoy.com>
----- Transcript of session follows -----
554 5.0.0 Too many hops 31 (30 max): from <> via smtp.easydns.com, to
<bho...@adoy.com>
--g0M0cUU10890.1011659911/suburban.adoy.com
Content-Type: message/delivery-status
Reporting-MTA: dns; suburban.adoy.com
Received-From-MTA: DNS; smtp.easydns.com
Arrival-Date: Mon, 21 Jan 2002 18:38:31 -0600 (CST)
Final-Recipient: RFC822; bho...@adoy.com
Action: failed
Status: 5.4.6
Last-Attempt-Date: Mon, 21 Jan 2002 18:38:31 -0600 (CST)
--g0M0cUU10890.1011659911/suburban.adoy.com
Content-Type: message/rfc822
Return-Path: <>
Received: from smtp.easydns.com (smtp.easydns.com [205.210.42.30])
by suburban.adoy.com (8.10.2+Sun/8.10.2) with ESMTP id
g0M0cUT10890
for <bho...@adoy.com>; Mon, 21 Jan 2002 18:38:31 -0600 (CST)
Received: from suburban.adoy.com
(crtntx1-ar8-4-63-053-014.vz.dsl.gtei.net [4.63.53.14])
by smtp.easydns.com (Postfix) with ESMTP id 6C8BB20C0D
for <bho...@adoy.com>; Mon, 21 Jan 2002 19:31:53 -0500 (EST)
...(this is repeated over and over)
I have no idea where to start. Please, if you have any ideas, let me
know.
Thank you,
Brandon
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
Check out our new Unlimited Server. No Download or Time Limits!
-----== Over 80,000 Newsgroups - 19 Different Servers! ==-----
>I have a local domain that has a Linux box connected to ADSL. The Linux
>box is the primary nameserver running BIND9. I have easyDNS has a
>secondary nameserver and mail spooler, in case I go down to spool my
>mail. Also, all http (80), smtp (25), and pop3 (110) ports are
>forwarded to my Sun box, hostname suburban.
>The Sun is running sendmail and a pop3 server. I can send mail out just
>fine. But, I can't recieve mail. I get "Too many hops" error. From what
>I've read, this is probably because I have a loop somewhere, but I don't
>know where.
Look at the "Received:" headers of the failed message. You should be
able to identify the loop from that.
>Here's the cache of my DNS:
>$ORIGIN .
>$TTL 86400 ; 1 day
>adoy.com IN SOA ns.adoy.com. root.adoy.com. (
> 1997022704 ;
> 28800 ;
> 14400 ;
> 3600000 ;
> 86400 ;
> )
> NS ns.adoy.com.
> A 4.63.53.14
> MX 10 smtp.adoy.com.
> MX 20 smtp.easydns.com.
Your system does not know its own name.
Fortunately you did not disable EXPN, so I could do some testing.
Here is my test output:
connecting to host 4.63.53.14 (4.63.53.14), port 25
connection open
220 suburban.adoy.com ESMTP Sendmail 8.10.2+Sun/8.10.2; Mon, 21 Jan 2002 21:10:02 -0600 (CST)
ehlo adsl-65-42-131-8.dsl.chcgil.ameritech.net
250-suburban.adoy.com Hello adsl-65-42-131-8.dsl.chcgil.ameritech.net [65.42.131.8], pleased to meet you
250-ENHANCEDSTATUSCODES
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ONEX
250-ETRN
250-XUSR
250 HELP
EXPN postmaster
250 2.1.5 Super-User <ro...@suburban.adoy.com>
expn postm...@adoy.com
250 2.1.5 <postm...@adoy.com>
expn postm...@smtp.adoy.com
250 2.1.5 <postm...@smtp.adoy.com>
expn postm...@suburban.adoy.com
250 2.1.5 <postm...@adoy.com>
expn ro...@suburban.adoy.com
250 2.1.5 <ro...@adoy.com>
expn root
250 2.1.5 Super-User <ro...@suburban.adoy.com>
quit
221 2.0.0 suburban.adoy.com closing connection
It knows that "postmaster" is a local address, as shown by it expanding
to "root", and giving the user friendly name "Super-User".
It does not know that any of the addresses
postm...@adoy.com, postm...@smtp.adoy.com,
postm...@suburban.adoy.com, ro...@adoy.com
is local.
Try:
echo "adoy.com" >> /etc/mail/local-host-names
echo "smtp.adoy.com" >> /etc/mail/local-host-names
then restart your sendmail daemon.
Great!! That fixed it. Thanks for your help. I appreciate that not
only did you show me how to fix it, but you also explained what was
wrong.