Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!classic.iinet.com.au!swing.iinet.net.au!news.uoregon.edu!chi-news.cic.net!io.org!nobody
From: taob@ionews.io.org (Brian Tao)
Newsgroups: comp.unix.bsd.bsdi.misc,comp.mail.sendmail
Subject: Suppressing DNS lookups on .bitnet mail hosts?
Date: 25 Oct 1995 11:18:44 -0400
Organization: Internex Online (io.org) Data: 416-363-4151 Voice: 416-363-8676
Lines: 57
Message-ID: <46lkgk$6sb@ionews.io.org>
NNTP-Posting-Host: flinch.io.org
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:1265 comp.mail.sendmail:21294
I'm running sendmail 8.6.12 on BSD/OS 2.0 here. One of our users
would like to send mail directly to .bitnet hosts and have the mailer
do the right thing. I fiddled with /usr/share/sendmail/cf/bsdi.mc and
regenerated the sendmail.cf file with the following additional lines:
# BITNET relay host
DBsmtp:cunyvm.cuny.edu
CPBITNET
# resolve fake top level domains by forwarding to other hosts
R$*<@$+.BITNET.>$* $: $>95 < $B > $1 <@$2.BITNET.> $3 user@host.BITNET
That last line doesn't match what is given on page 345 of the ORA
sendmail book (particularly the bit with calling ruleset 95). I
uncommented the following line in bsdi.mc (is there something else I
also need to uncomment?):
define(`BITNET_RELAY', `smtp:cunyvm.cuny.edu')
The checksendmail perl script produces reasonable looking output
when asked to run a .bitnet address through the new rules:
io# checksendmail -T holistic@siucvmb.bitnet
system: io.org current dir: /usr/share/sendmail/cf
config file: /etc/sendmail.cf resolve file: /tmp/csm.in8545
Mail address resolution (rule 0)
holistic@siucvmb.bitnet --(smtp )--> holistic<@siucvmb.BITNET.>[cunyvm.cuny.edu]
$f address header transformations
holistic@siucvmb.bitnet ----> holistic@siucvmb.bitnet
`To' envelope and header address transformations for mailer smtp [3,2,21,4]:
holistic@siucvmb.bitnet ----> holistic%siucvmb.BITNET@cunyvm.cuny.edu
`From' envelope address transformations for mailer smtp [3,1,11,4]:
holistic@siucvmb.bitnet ----> holistic%siucvmb.BITNET@cunyvm.cuny.edu
`From' address header transformations for mailer smtp [3,1,31,4]:
holistic@siucvmb.bitnet ----> holistic%siucvmb.BITNET@cunyvm.cuny.edu
$g address transformations for mailer smtp [3,1,4,3,1,31,4]:
holistic@siucvmb.bitnet ----> holistic%siucvmb.BITNET@cunyvm.cuny.edu
According to one of my users however, she gets a bounced message
saying that the siucvmb.bitnet does not exist. It looks like
something is attempting to look up siucvmb.bitnet's MX record in the
DNS and doesn't find anything useful. Should I be turning off DNS
lookups for .bitnet addresses? Is this possible?
Any help appreciated, thanks.
--
Brian Tao (BT300, taob@io.org)
Systems Administrator, Internex Online Inc.
"Though this be madness, yet there is method in't"