🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.sendmail
Article #3153

Isn't rule 0 the final path?

#3153
From: Larry Blair
Date: Sun, 05 Feb 1989 09:04
17 lines
1158 bytes
Reading sendmail manual (as distributed by Sun), it appears that path given
to sendmail is parsed by rule 3, then 0, which determines which mailer to
use.  The To: address is then parsed by 3, and in the case of uucp mail, 23.
The From: goes through 3, then 13.

I decided that I didn't like the way my To: lines went out, so I started
mucking with ruleset 5, called by 23.  One of the (apparently) more
important things I did was to remove the rule that generated u%h and add
some that would generate u@h.  I didn't touch ruleset 0, or any ruleset
called by 0.

While sendmail -bt says that ruleset 0 works correctly and ruleset 23 works
the way I want, the value of $h!$u passed to the mailer is messed up.
Specifically, if I enter a!b!c, the mailer gets a!c@b.  Who's screwing
it up?
-- 
Larry Blair   ames!vsi1!lmb   lmb@vicom.com
Technical Details
Message-ID: <1459@vicom.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!rutgers!apple!vsi1!lmb

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!rutgers!apple!vsi1!lmb
From: lmb@vicom.COM (Larry Blair)
Newsgroups: comp.mail.sendmail
Subject: Isn't rule 0 the final path?
Message-ID: <1459@vicom.COM>
Date: 5 Feb 89 09:04:24 GMT
Organization: VICOM Systems Inc., San Jose, CA
Lines: 17