Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!lll-winken!sun-barr!olivea!oliveb!bunker!wberger From: wberger@bunker.isc-br.com (William Wonneberger) Newsgroups: comp.mail.sendmail Subject: Specifying Two uucp Hops In sendmail.cf Ruleset 0 (Help needed...) Keywords: sendmail, sendmail.cf, ruleset, 0, zero, uucp, hops, resolve Message-ID: <19259@bunker.isc-br.com> Date: 14 May 91 18:23:21 GMT Organization: ISC-Bunker Ramo, an Olivetti Company, Shelton, CT Lines: 64 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$+ $#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