[comp.mail.sendmail] ruleset zero questions, where system name == domain name

gamiddleton@watmath.waterloo.edu (Guy Middleton) (08/17/89)

We have the following in our sendmail.cf file, in ruleset zero:

# strip local stuff
R$*<$+$=w>$*			$1<$2>$4	thishost
R$*<$+uwaterloo.ca>$*		$:$>7$1<$2>$3	thishost again
R<@>:$+				$@$>8$1		strip null route, retry
R$+<@>				$@$>8$1		strip null addr, retry
R$*<$*$=w>$*			$@$>8$1$2$4

It all works fine, except when run on a machine whose name is the same as a
local subdomain.  After going through these rules, mail from vlsi.waterloo.edu
to jquser@xxx.vlsi.waterloo.edu ends up being sent to "jquser@xxx.", which
isn't what I want.  Has anybody else encountered a similar problem?  How do
you get around this?

 -Guy Middleton, University of Waterloo		gamiddleton@watmath.waterloo.edu
		(+1 519 885 1211 x3472)		gamiddleton@watmath.uwaterloo.ca