mcr@julie.UUCP (Michael Richardson) (08/05/89)
I've been rewritting parts of my brain damaged `port' of uucp (uuslave) I've come to rmail. (There are apparently, several ports of smail, I haven't, however managed to find one. The ICS 386/ix we have at work can't seem to deal with CLOCAL mode or uugetty, so smail hasn't been set up there either. My knowledge of it is therefore quite theoretical.) Historically, rmail was invoked with a `user' name. If it has bangs in it, we get the next host and (assuming it is the L.sys/Systems- (*) ) invoke, uux - "<next-host>!rmail <rest-of-path>". Now, since one purpose of this mod is to be able to recognise and deal with domain style names (FQDN would also be neat), I'm wondering what to do with the path that is passed? 1) Ignore it. Use the To: field. 2) If it is solid ! (no @) then use it as above. 2a) If it has a @ then use it like a To:. (Maybe putting this field in <> in the To: field, putting the old one in '()' ) 3) If is is solid ! use it as above. 3a) Otherwise use To: (3) seems most correct to me. (2) rewrites the To: field, which I understand is not such a great idea. (Rewriting the From: line, though is debateble. It is justified, I believe when gating mail from one network to another, is it not?) (*) - this is where passive re-routing would come in. Now, next the question arises --- if all my outside connections are in the form of uucp connections and are running standard stuff, they are going to pass me a bang path on the command line. Will there be a To: line? Can I depend on it? Will is necessarily relate to the bang path? If a .ca subdomain is set up (The utai registry people tell that it will be possible. wimsey.bc.ca already exists) such as amiga.ottawa.on.ca, how will this affect the relationship between path and To:? Will mail that is forwarded come in as say ...!nrcaer!julie!amiga, but have a To: of mcr@julie.amiga.ottawa.on.ca ? (Of course, nrcaer would strip its component) Thanks. (BTW: No rabid re-routers to be found here!) -- :!mcr!: Michael Richardson Amiga v--------+ UUCP: uunet!attcan!lsuc!nrcaer!julie!mcr | INTERNET mcr@doe.carleton.ca Fido: Michael Richardson @ 1:163/109.10<--+ Alter @ 7:483/109.10
mmengel@cuuxb.ATT.COM (Marc W. Mengel) (08/19/89)
In article <0344.AA0344@julie> mcr@julie.UUCP (Michael Richardson) writes: > > Historically, rmail was invoked with a `user' name. If it has bangs in >it, we get the next host and (assuming it is the L.sys/Systems- (*) ) invoke, >uux - "<next-host>!rmail <rest-of-path>". > > Now, since one purpose of this mod is to be able to recognise and deal >with domain style names (FQDN would also be neat), I'm wondering >what to do with the path that is passed? >(*) - this is where passive re-routing would come in. ... > > Now, next the question arises --- if all my outside connections >are in the form of uucp connections and are running standard stuff, >they are going to pass me a bang path on the command line. Will >there be a To: line? Can I depend on it? Will is necessarily relate >to the bang path? Old fashioned uucp mail systems have a habit of sending files that look like: +-------- |From joe.... | Hi there +--------- which get forwarded, etc. and turn into +--------- |From uucp |>From joe | Hi there +--------- which is to say, they have no To: line, no From: line, etc. Therefore, if you're an rmail, you should believe your rmail argument as to where to send the mail. If rmail is given an address of the form foo!bar@baz.silly.name it is clearly ambiguous, (that is, should it be sent to baz.silly.name or foo next?) but most mailers I have seen are configured to give '@' higher precedence than '!', thereby giving the next rmail in the delivery process a '!' only name. > If a .ca subdomain is set up (The utai registry people tell that >it will be possible. wimsey.bc.ca already exists) such as >amiga.ottawa.on.ca, how will this affect the relationship between >path and To:? Will mail that is forwarded come in as say ...!nrcaer!julie!amiga, >but have a To: of mcr@julie.amiga.ottawa.on.ca ? (Of course, nrcaer >would strip its component) probably. Thats how mail comes in hereabouts at AT&T, the domain machine (arpa.att.com) gets mail for my machine (mmengel@cuuxb.att.com) and forwards it to att!cuuxb!mmengel. > Thanks. (BTW: No rabid re-routers to be found here!) > Michael Richardson Amiga -- Marc Mengel mmengel@cuuxb.att.com attmail!mmengel ...!{lll-crg|att}!cuuxb!mmengel