- SNIP SNIP -
----- The following addresses have delivery notifications -----
<da...@wssch.k12.sc.us> (unrecoverable error)
----- Transcript of session follows -----
554 MX list for wssch.k12.sc.us. points back to wareshoals.wssch.k12.sc.us
554 <da...@wssch.k12.sc.us>... Local configuration error
[ Part 2: "Included Message" ]
Reporting-MTA: dns; wareshoals.wssch.k12.sc.us
Received-From-MTA: DNS; emerald-internet-ser.Greensboro.mci.net
- SNIP SNIP -
There is only one server, "wareshoals", and it handles the DNS and mail. Here
is the entry in my domain.db file:
@ IN SOA wssch.k12.sc.us. hostmaster.wssch.k12.sc.us. (
9 ; Serial number
172800 ; Refresh every 2 days
3600 ; Retry every hour
1728000 ; Expire every 20 days
172800 ); Minimum 2 days
;
IN NS wareshoals.wssch.k12.sc.us.
IN NS simba.smatnet.net.
IN MX 5 wareshoals.wssch.k12.sc.us.
;
localhost IN A 127.0.0.1
;
wareshoals IN A 205.160.98.50
IN MX 10 wareshoals.wssch.k12.sc.us.
What am I doing wrong? When I send to the host + domain name,
da...@wareshoals.wssch.k12.sc.us, it works just fine, but not when I use the
domain only. Any ideas?
*David*
Howdy,
I'm far from a sendmail or bind guru, I'm only just starting to
learn of the inner mysteries..... (typical disclaimer...)
I notice in the MX records:
wssch.k12.sc.us IN MX wareshoals.wssch.k12.sc.us
wareshoals.wssch.k12.sc.us IN MX wareshoals.wssch.k12.sc.us
so, if sendmail chases MX record chains, which I think it does,
you mail to david@domain gets stuck in a MX record loop at wareshoals.
I think you might need to remove the wareshoals.wssch.k12.sc.us
record that points to itself.
Perhaps the sendmail/DNS loop checks for the one step loop at the
top and skips to directly trying the MX chase instead of chasing
its tail. When led into the loop from afar, it might not be so smart.
The named files I've seen do fine with several MX at the domain
level, but I'm not familiar with MX for a host pointing to itself.
Bruce Bartram bbar...@etl.noaa.gov
usual disclaimers AND MORE apply
email sent too
> I'm far from a sendmail or bind guru, I'm only just starting to
>learn of the inner mysteries..... (typical disclaimer...)
That's fine, but your advices aren't very useful (sorry).
> I notice in the MX records:
> wssch.k12.sc.us IN MX wareshoals.wssch.k12.sc.us
> wareshoals.wssch.k12.sc.us IN MX wareshoals.wssch.k12.sc.us
>so, if sendmail chases MX record chains, which I think it does,
No, it does not.
>you mail to david@domain gets stuck in a MX record loop at wareshoals.
The question asked in the original posting is answered in the FAQ of
comp.mail.sendmail. (or at:
http://www.informatik.uni-kiel.de/%7Eca/email/english.html )
For sendmail 8, just add
Cwwareshoals.wssch.k12.sc.us
in sendmail.cf, restart sendmail, and everything should be fine.
>I think you might need to remove the wareshoals.wssch.k12.sc.us
>record that points to itself.
No!
Please don't follow this advice. The MX record is fine and useful!
Read the ORA sendmail book or take a look at:
http://www.informatik.uni-kiel.de/%7Eca/email/setup1.html
Regards,
Claus Assmann
--
Superstition brings misfortune.
<URL:http://www.informatik.uni-kiel.de/%7Eca/>
==>: What am I doing wrong? When I send to the host + domain name,
==>: da...@wareshoals.wssch.k12.sc.us, it works just fine, but not
==>: when I use the domain only. Any ideas?
==>
This is not a BIND problem. This is a sendmail configuration error.
Someone who uses mailer/domaintables might have to comment if you're doing
it that way.
In your sendmail.cf file, you can set up what domains/machine names your
sendmail thinks are local in two ways:
1. Set up a file with a list of domains/machine names your machine is
supposed to route as local, and point the Fw macro to that list.
For example, I have in my /etc/sendmail.cf file on quad.quadrunner.com:
Fw/etc/sendmail.cw
and in my /etc/sendmail.cw on quad.quadrunner.com:
quadrunner.com
quad.quadrunner.com
quadrunner.net
www.quadrunner.com
ns.quadrunner.com
...etc...
and if I send mail to c-hu...@quadrunner.net, the machine "quad" treats
"c-huegen" as local.
2. You can use multiple Cw lines in your /etc/sendmail.cf instead of
maintaining a separate file. For instance, I would place the following
lines in my /etc/sendmail.cf if I chose to use this option:
Cwquadrunner.com
Cwquad.quadrunner.com
Cwquadrunner.net
Cwwww.quadrunner.com
...etc...
/cah
sendmail doesn't, and no MTA should, chase MX chains: the result would
not make sense given the presence of MX preferences. Read the Bat book
from O'Reilly for the full story of how sendmail does DNS lookups, and
why.
Anyway, the correct answer is most likely that sendmail doesn't know
that it is supposed to consider the domain itself to be local. Add
the domain to class 'w':
Philip Guenther
----------------------------------------------------------------
Philip Guenther UNIX Systems and Network Administrator
Internet: guen...@gac.edu Voicenet: (507) 933-7596
Gustavus Adolphus College St. Peter, MN 56082-1498
> David G. Cannon (da...@emeraldis.com) wrote:
> : What am I doing wrong? When I send to the host + domain name,
> : da...@wareshoals.wssch.k12.sc.us, it works just fine, but not
> : when I use the domain only. Any ideas?
> : *David*
> I notice in the MX records:
> wssch.k12.sc.us IN MX wareshoals.wssch.k12.sc.us
> wareshoals.wssch.k12.sc.us IN MX wareshoals.wssch.k12.sc.us
> so, if sendmail chases MX record chains, which I think it does,
> you mail to david@domain gets stuck in a MX record loop at wareshoals.
>
> I think you might need to remove the wareshoals.wssch.k12.sc.us
> record that points to itself.
>
> Perhaps the sendmail/DNS loop checks for the one step loop at the
> top and skips to directly trying the MX chase instead of chasing
> its tail. When led into the loop from afar, it might not be so smart.
> The named files I've seen do fine with several MX at the domain
> level, but I'm not familiar with MX for a host pointing to itself.
Nope. His MX records look fine. MX records are not chained--they are
definitive.
Question for David: Did you put "wssch.k12.sc.us" in sendmail's "w" class?
You can do this either by adding the line "Cwwssch.k12.sc.us" to your
sendmail.cf file or, if your configuration uses it, to the sendmail.cw
file.
Your error message is coming from sendmail because it doesn't know what to
do with the message... DNS records say that the SMTP server at
wareshoals.wssch.k12.sc.us should handle the mail message, but that server
has no idea what to do with it. By adding the "other" names your server
receives mail for to the w class, sendmail knows that any mail for these
addresses should be delivered locally.
_
| |
|-|
| |pu <a...@spfld.com>
For matters related to the Pingry School ... <pin...@spfld.com>
(or <a...@dc1.pingry.k12.nj.us>)
: - SNIP SNIP -
: ----- The following addresses have delivery notifications -----
: <da...@wssch.k12.sc.us> (unrecoverable error)
: ----- Transcript of session follows -----
: 554 MX list for wssch.k12.sc.us. points back to wareshoals.wssch.k12.sc.us
: 554 <da...@wssch.k12.sc.us>... Local configuration error
: [ Part 2: "Included Message" ]
: Reporting-MTA: dns; wareshoals.wssch.k12.sc.us
: Received-From-MTA: DNS; emerald-internet-ser.Greensboro.mci.net
: - SNIP SNIP -
: There is only one server, "wareshoals", and it handles the DNS and mail. Here
: is the entry in my domain.db file:
: @ IN SOA wssch.k12.sc.us. hostmaster.wssch.k12.sc.us. (
: 9 ; Serial number
: 172800 ; Refresh every 2 days
: 3600 ; Retry every hour
: 1728000 ; Expire every 20 days
: 172800 ); Minimum 2 days
: ;
: IN NS wareshoals.wssch.k12.sc.us.
: IN NS simba.smatnet.net.
: IN MX 5 wareshoals.wssch.k12.sc.us.
: ;
: localhost IN A 127.0.0.1
: ;
: wareshoals IN A 205.160.98.50
: IN MX 10 wareshoals.wssch.k12.sc.us.
: What am I doing wrong? When I send to the host + domain name,
: da...@wareshoals.wssch.k12.sc.us, it works just fine, but not when I use the
: domain only. Any ideas?
: *David*
Wow, this sounds familiar. I was administrating DNS for a small company
over the summer, and we got this kind of problem all the time. We were
running BIND 4.9.5 on a Slackware Linux box (hey, for a company as small
as this, it worked fine). We kept trying things with the RRs
(specifically, the MX records), and sometimes, it worked. Usually, it
didn't. If I remember correctly, our problem was that Sendmail was
missing a bunch of its config files and was messing up each time we
restarted or rebulit the kernel. Anyway, I don't know if your problem is
in any way similar to what ours was, but it sure sounds like it. I
haven't done anything with the system for few months, but I know we got
it cleared up. I think my friend and co-administrator could probably
help you out more. try him at cde...@ludington-crnet.com.
-Simon
Travis Wood
(wo...@qnet.com)
In article <54eklm$r...@srvr1.engin.umich.edu>,
sjp...@galilei.engin.umich.edu says...