Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!wb3ffv!ssg0!petej From: petej@ssg0.pharmacia.com (Peter M. Jansson) Newsgroups: comp.mail.sendmail Subject: Why does sendmail -bt lie? Message-ID: <270@ssg0.pharmacia.com> Date: 21 Sep 90 16:07:17 GMT Reply-To: petej@pharmacia.com (Peter M. Jansson) Distribution: usa Organization: Pharmacia Diagnostics, Columbia, MD Lines: 27 We are connected to two sites, one of which is uunet, through which I route my outbound mail by default. I was trying to force use of the other connection by sending mail to: foo!bar.com!someone where foo is the other connection. The message was queued for uunet, to be sent to "bar.com.UUCP!someone", which is *not* what I expected. To try to figure out what is going on, I tried invoking sendmail with -bt, and fed it "0 foo!bar.com!someone", to which it replied: > rewrite: ruleset 3 input: "foo" "!" "bar" "." "com" "!" "someone" > rewrite: ruleset 8 input: "foo" "!" "bar" "." "com" "!" "someone" > rewrite: ruleset 8 returns: "foo" "!" "bar" "." "com" "!" "someone" > rewrite: ruleset 3 returns: "bar" "." "com" "!" "someone" "<" "@" "foo" "." "UUCP" ">" > rewrite: ruleset 0 input: "bar" "." "com" "!" "someone" "<" "@" "foo" "." "UUCP" ">" > rewrite: ruleset 6 input: "bar" "." "com" "!" "someone" "<" "@" "foo" "." "UUCP" ">" > rewrite: ruleset 6 returns: "bar" "." "com" "!" "someone" "<" "@" "foo" "." "UUCP" ">" > rewrite: ruleset 0 returns: "$#" "uucp" "$@" "foo" "$:" "bar" "." "com" "!" "someone" This looks like exactly what I want it to do. Why isn't sendmail actually queueing the mail the way -bt indicates? Replies via e-mail are welcome (the inbound side works fine!). Thanks for any help, Pete.