wberger@bunker.isc-br.com (William Wonneberger) (05/15/91)
Greetings....
I would like to make a modification to the machine specific section of
ruleset 0 in the sendmail.cf to do a rewrite for an address that
requires two (2) hops via uucp.
What I am trying to do is to map a resolved address to a secondary uucp
connection. Give the example below:
Domain = outland.com Domain = bloom.org
A BSD Server A System V Box An MS-DOS PC (uupc)
opus billtcat milo
(opus.outland.com) (billtcat.outland.com) (milo.bloom.org)
Connections:
billtcat dials into opus, and billtcat dials into milo.
Objective:
To route mail more quickly to milo.bloom.org, I would like to have
opus.outland.com to route all mail it gets to milo.bloom.org through
billtcat.outland.com, rather than going through the gateway for the
bloom.com domain (the normal gateway to the bloom.org domain being
accessible by the BSD Server via SMTP). Ideally, anything opus.outland.com
gets for milo.bloom.org should be rewritten to send via uux: billtcat!milo
I have tried the following, which looks correct when I run sendmail in
debug mode, but when mail actually gets a hold of it, it doesn't seem to
add/work with the second ! as expected:
R$+<milo.bloom.org> $#uucp$@billtcat$@milo$:$1
The output from ruleset 0 when running sendmail in debug mode resolves
to the following (which as far as I can tell, seems correct)...
>0 berke@milo.bloom.org
.
.
.
(Results of rulesets 3, 8 and 6 are omitted for clarity....)
.
.
.
rewrite: ruleset 0 returns: "^V" "uucp" "^W" "billtcat" "^W" "milo" "^X" "berke"
As shown above, sendmail seems to treat the address correctly, but when
sendmail in invoked from mail, mail gets the following rewrite:
mail -v berke@milo.bloom.org
berke@milo.bloom.org... Connecting to billtcatmilo.uucp...
bad system name: billtcatmilo
uux failed. code 68
Any suggestions on how I can modify my sendmail.cf to to the rewrite
so mail can handle "the 2nd hop" correctly would be greatly appreciated.
Please reply by E-mail, and I'll gladly post the results later on.
Thanks in advance for your help.
Sincerely,
Bill Wonneberger
Internet: wberger@bunker.shel.isc-br.com
UUCP: ...!{oliveb, yale, philabs, isc-br}!bunker!wberger