[comp.mail.sendmail] deferring .uucp interpretation

jeremy@jeremy.prime.com (Jeremy Nussbaum) (01/12/90)

I would like to defer interpretation of a .uucp address and send
it to a relay machine, but I may have a local connection that I really
do want to do right now.  What is the way to check to see if a uucp
address is covered by a local connection?

--
Jeremy Nussbaum (jeremy@jeremy.prime.com)
Prime Computer/2 Crosby Drive MS 16-2 /Bedford, Ma. 01730
(617)275-1800 x6745
Standard Disclaimer: The opinions expressed are mine and not my employer's.

shri@ccs1.cs.umass.edu (H.Shrikumar{shri@ncst.in}) (01/13/90)

In article <JEREMY.90Jan11124738@jeremy.prime.com> jeremy@jeremy.prime.com (Jer
emy Nussbaum) asks:
>I would like to defer interpretation of a .uucp address and send
>it to a relay machine, but I may have a local connection that I really
>do want to do right now.  What is the way to check to see if a uucp
>address is covered by a local connection?

   The trick is to read in the first column of L.sys as a class using a
FLlocaluucp L.sys %s  line.

   Then at the end you can check if the system is in the class with something
like  R$=L.uucp!$+   $#... etc. and resolve it to a mailer. I could give you 
a whole line to do just this, but perhaps you might want to include this
at some appropriate point in your .cf, and may want to support user%node.uucp
and user@node.uucp etc. etc. So I leave it to you.

-- shrikumar ( shri@ccs1.cs.umass.edu, shri@ncst.in )