From: mjl@newton.auto.tuwien.ac.at (Martin J. Laubach)
Subject: IDA Sendmail and DNS
Organization: University of technology, Vienna, Austria. 
Date: Thu, 12 Nov 1992 20:13:07 GMT

  I'm currently exploring the with the IDA sendmail included in 10.4,
and it really looks very nice, especially the M4 definition files
are great.

  However, this sendmail doesn't seem to use the name server correctly
(or at all). While the old 10.3.5 sendmail on another machine with
a similiar sendmail.cf file actually expands incomplete domain
specifications, the new sendmail does nothing of the sort. And thus
a lot of the mail that did get through just fine, will be bounced by
the mail relay host.

  An example -- the new apollo sendmail does this (/usr/lib/sendmail
-Cfoo.cf -bt):

ADDRESS TEST MODE
Enter <ruleset> <address>
[Note: No initial ruleset 3 call]
> 3,0 foo@vmars
rewrite: ruleset  3   input: foo @ vmars
rewrite: ruleset  7   input: foo @ vmars
rewrite: ruleset  9   input: foo @ vmars
rewrite: ruleset  9 returns: < foo > @ vmars
rewrite: ruleset  7 returns: < @ vmars > , foo
rewrite: ruleset  3 returns: < @ vmars > , foo
rewrite: ruleset  0   input: < @ vmars > , foo
rewrite: ruleset  8   input: < @ vmars > , foo
rewrite: ruleset  8 returns: < @ vmars > , foo
rewrite: ruleset 29   input: < @ vmars > , foo
rewrite: ruleset 29 returns: < @ vmars > , foo
rewrite: ruleset 26   input: < @ vmars > , foo
rewrite: ruleset 25   input: < @ vmars > , foo
rewrite: ruleset 25 returns: < @ vmars > , foo
rewrite: ruleset  4   input: < @ vmars > , foo
rewrite: ruleset  4 returns: foo @ vmars
rewrite: ruleset 26 returns: < @ vmars > , foo
rewrite: ruleset  0 returns: $# TCP $@ email . tuwien . ac . at $:
		 < @ vmars > , foo


  Whereas the sendmail on a NeXT around here (with the same config
file) looks like this:

ADDRESS TEST MODE
Enter <ruleset> <address>
[Note: No initial ruleset 3 call]
> 3,0 foo@vmars
rewrite: ruleset  3   input: foo @ vmars
rewrite: ruleset  7   input: foo @ vmars
rewrite: ruleset  9   input: foo @ vmars
rewrite: ruleset  9 returns: < foo > @ vmars
rewrite: ruleset  7 returns: < @ vmars > , foo
rewrite: ruleset  3 returns: < @ vmars > , foo
rewrite: ruleset  0   input: < @ vmars > , foo
rewrite: ruleset  8   input: < @ vmars > , foo
rewrite: ruleset  8 returns: < @ vmars . tuwien . ac . at > , foo
rewrite: ruleset 29   input: < @ vmars . tuwien . ac . at > , foo
rewrite: ruleset 29 returns: < @ vmars . tuwien . ac . at > , foo
rewrite: ruleset 26   input: < @ vmars . tuwien . ac . at > , foo
rewrite: ruleset 25   input: < @ vmars . tuwien . ac . at > , foo
rewrite: ruleset 25 returns: < @ vmars . tuwien . ac . at > , foo
rewrite: ruleset  4   input: < @ vmars . tuwien . ac . at > , foo
rewrite: ruleset  4 returns: foo @ vmars . tuwien . ac . at
rewrite: ruleset 26 returns: $# TCP $@ vmars . tuwien . ac . at $: 
		< @ vmars . tuwien . ac . at > , foo
rewrite: ruleset  0 returns: $# TCP $@ vmars . tuwien . ac . at $: 
		< @ vmars . tuwien . ac . at > , foo



  As you can see, on the apollo it forwards the mail to the relay host,
whereas on the NeXT (and on apollos with pre-10.4 sendmail) it completes
the domain name and sends the mail directly to the destination.

  What's the problem here??

	mjl



PS: Anyone got a ready-compiled dbm(1) around? Ftp'ing the config files
    to the NeXT, building the dbm index and transferring them back is
    a bit tedious :) (It works, though!)


Newsgroups: comp.sys.apollo