From: fischer@lpr.lpr.e-technik.tu-muenchen.de (franz g. fischer)
Subject: OSF/1 sendmail and name canonicalization via bind --- HELP please!
Date: 15 Jun 94 13:11:57 GMT [thread overview]
Message-ID: <fischer.771685917@lpr.lpr.e-technik.tu-muenchen.de> (raw)
Hello Experts,
I have to configure sendmail for one of our ALPHAs (OSF/1 v2.0), which is
supposed to become our central mail server. I created a sendmail.cf by
running mailsetup and answering all the questions, but for our specific needs
I have to tune the resulting config file in some places.
Especially I'd like to query bind to find out the fully qualified and
canonical Name for a host; therefore I changed on line in ruleset 7
old: R$*<@$->$* $@$1<@$2.$N>$3 qualify hostnames
new: R$*<@$+>$* $@$1<@$[$2$]>$3 qlfy using bind
(with Macro $N beeing our domainname.)
When running the address test mode, OSF's sendmail seems to query bind for
the hostname, but the rule is properly rewritten (i. e. hostname $2 expanded
to fully qualified name) only for hosts in our domain. Partially qualified
hostnames (within the same parent domain) are NOT rewritten as expected.
I checked the bind configuration by trying to resolve those partially qualified
names with nslookup, and this works fine.
(/etc/resolv.conf setup properly w/ domainname and nameserver)
Next I checked this sendmail.cf on another host (a Magnum 3000 running
RISC/os 4.52), and ALL names were resolved and canonicalized properly!
So I tried to trace down the Problem:
(1) I wanted to get debug messages from OSF/1's named,
but neither with SIGUSR1 nor with ``-d 2'' on the command line
I got output in /var/tmp/named.run!
Is this a bug or where does debug output go?
(2) I changed /etc/resolv.conf to use the nameserver on the Magnum
workstation, but with this server OSF/1's sendmail couldn't
canonicalize names at all:
Does anybody know of incompatibilities or protocol changes?
Indeed, the debugged query from the ALPHA looks very strange
--- see the marke line further on.
(I collected the debug output on the Magnum, where SIGUSR1
worked as described):
Query from OSF/1 v2.0 sendmail (for name ``foo''):
datagram from xxx.yyy.zzz.40 port 2650, fd 10, len 58
req: nlookup(foo.name lpr.e-technik.tu-muenchen.de) id 6 type=1
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
req: found 'foo.name lpr.e-technik.tu-muenchen.de' as 'e-technik.tu-muenchen.de' (cname=0)
forw: forw -> xxx.yyy.zzz.180 10 (53) nsid=7620 id=6 0ms retry 4 sec
...
Query from RISC/os 4.52 sendmail (for name ``foo''):
datagram from xxx.yyy.zzz.160 port 3714, fd 10, len 53
req: nlookup(foo.lpr.e-technik.tu-muenchen.de) id 14 type=1
req: found 'foo.lpr.e-technik.tu-muenchen.de' as 'lpr.e-technik.tu-muenchen.de' (cname=0)
req: answer -> xxx.yyy.zzz.160 12 (3714) id=14 Local
datagram from xxx.yyy.zzz.160 port 3715, fd 10, len 49
req: nlookup(foo.e-technik.tu-muenchen.de) id 15 type=1
req: found 'foo.e-technik.tu-muenchen.de' as 'foo.e-technik.tu-muenchen.de' (cname=0)
req: answer -> xxx.yyy.zzz.160 12 (3715) id=15 Local
Has anybody had similar problems? Any hints how to make OSF's sendmail make
correct bind queries (?) and name canonicalization?
Thanks in advance
\franz
--
franz g. fischer --------------- fischer@[gavia.]lpr.e-technik.tu-muenchen.de
Lehrstuhl f"ur Proze"srechner, TU M"unchen __o Phone: +49-89-2105-3561
D-80333 M"unchen, Germany _ \<,_ Fax: +49-89-2105-3555
\input{disclaimer}___________________________(_)/ (_)________________________
next reply other threads:[~1994-06-15 13:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-06-15 13:11 franz g. fischer [this message]
1994-06-15 15:06 ` OSF/1 sendmail and name canonicalization via bind --- HELP please! wilko bulte
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox