Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* OSF/1 sendmail and name canonicalization via bind --- HELP please!
@ 1994-06-15 13:11 franz g. fischer
  1994-06-15 15:06 ` wilko bulte
  0 siblings, 1 reply; 2+ messages in thread
From: franz g. fischer @ 1994-06-15 13:11 UTC (permalink / 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}___________________________(_)/ (_)________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: OSF/1 sendmail and name canonicalization via bind --- HELP please!
  1994-06-15 13:11 OSF/1 sendmail and name canonicalization via bind --- HELP please! franz g. fischer
@ 1994-06-15 15:06 ` wilko bulte
  0 siblings, 0 replies; 2+ messages in thread
From: wilko bulte @ 1994-06-15 15:06 UTC (permalink / raw)


fischer@lpr.lpr.e-technik.tu-muenchen.de (franz g. fischer) writes:


>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?

You should use /usr/sbin/named iso /sbin/named. See the OSF/1 2.0
release notes (page 4-7)

>(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?

For what is worth: we use an AT&T V3.2 nameserver with Wollongong TCP/IP
here on our plant. It works fine with the OSF/1 systems.

Good luck.

WIlko
--
 |   / o / /  _   Wilko Bulte               mail: wilko@idca.tds.philips.nl
 |/|/ / / /( (_)  |d|i|g|i|t|a|l| Equipment Corporation voice: +3155-432062
fax: +3155-432103 DTN: 829 2062 PO Box 245 - 7300 AE Apeldoorn - The Netherlands


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1994-06-15 15:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-06-15 13:11 OSF/1 sendmail and name canonicalization via bind --- HELP please! franz g. fischer
1994-06-15 15:06 ` wilko bulte

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox