Article View: comp.mail.sendmail
Article #2879Re: route-addrs in UUCP paths?
From: Bill Fenner
Date: Sun, 23 Oct 1988 23:26
Date: Sun, 23 Oct 1988 23:26
44 lines
2055 bytes
2055 bytes
In article <9742@swan.ulowell.edu> page@swan.ulowell.edu (Bob Page) writes:
|
|OK, so since the standards say only registered hosts can put themselves
|in a route-addr (which is probably just wishful thinking, but hey),
|maybe I can combine the above rule with another one that strips
|everything between a comma and the ! -- so
| mit-eddie!host1.domain,host2.domain!user@host.domain
|becomes
| mit-eddie!host1.domain!user@host.domain
|which eventually gets rewritten into
| mit-eddie!host1.domain!host.domain!user
|which is what I want.
|
|I think.
I think you might rather have mit-eddie!host2.domain!host.domain!user...
or, of course, you could make a rule to rewrite it into
mit-eddie!host1.domain!host2.domain!host.domain!user...
|Any suggestions? How do I correctly deal with route-addrs in UUCP
|paths? How do others do it?
|
how about
R$*@$+,$* $1!$2$3 #take care of ,'s
R$*@$+:$- $1!$2!$3 #take care of :'s
actually, don't most people do
R@$+,$+ @$1:$2
or something to make route-addr parsing easier? In that case, just
remove the first @ and change :@'s and :'s to !'s. ooh, wattapain.
R@$+:$* $1:$2
R$*:@$* $1!$2
R$*:$* $1!$2
I'm sure that's not quite right... I'm doing this off the top of my head.
Anyone care to correct me? Suggest another way to do it?
Bill
--
Bitnet: wcf@psuhcx.bitnet Bill Fenner | "Ain't got no cash,
Internet: wcf@hcx.psu.edu | Ain't got no style
UUCP: {gatech,rutgers}!psuvax1!psuhcx!wcf | Ain't got no girls
Fido: Sysop at 263/42 (814/238 9633) \hogbbs!wcf| To make me smile"
Technical Details
Message-ID:
<968@psuhcx.psu.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!husc6!psuvax1!psuhcx!wcfReferences:
<9742@swan.ulowell.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!husc6!psuvax1!psuhcx!wcf From: wcf@psuhcx.psu.edu (Bill Fenner) Newsgroups: comp.mail.sendmail,comp.mail.uucp Subject: Re: route-addrs in UUCP paths? Message-ID: <968@psuhcx.psu.edu> Date: 23 Oct 88 23:26:15 GMT References: <9742@swan.ulowell.edu> Reply-To: wcf@psuhcx (Bill Fenner) Organization: Penn State University Lines: 44