Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!yale!mintaka!mit-eddie!bu.edu!bu-cs!lectroid!cloud9!jjmhome!m2c!umvlsi!dime!ccs1.cs.umass.edu!shri From: shri@ccs1.cs.umass.edu (H.Shrikumar{shri@ncst.in}) Newsgroups: comp.mail.sendmail Subject: Re: deferring .uucp interpretation Message-ID: <8457@dime.cs.umass.edu> Date: 12 Jan 90 22:24:48 GMT References: Sender: news@dime.cs.umass.edu Reply-To: shri@ccs1.cs.umass.edu.CS.UMASS.EDU (H.Shrikumar{shri@ncst.in}) Distribution: comp Organization: University of Massachusetts, Amherst Lines: 17 In article 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 )