Path: utzoo!attcan!uunet!mcvax!ukc!kl-cs!jonathan From: jonathan@cs.keele.ac.uk (Jonathan Knight) Newsgroups: comp.mail.elm Subject: Re: New Elm behavior Message-ID: <614@kl-cs.UUCP> Date: 29 May 89 18:22:08 GMT References: <1346@ruuinf.cs.ruu.nl> Organization: University of Keele, England Lines: 69 From article <1346@ruuinf.cs.ruu.nl>, by edwin@ruuinf.cs.ruu.nl (Edwin Kremer): > First of all, I should say that I *really* like ELM and also appreciate > the activities of the ELM development group, trying to develop the best of > the best. Ditto > > In article <137@dsinc.DSI.COM>, syd@dsinc.DSI.COM (Syd Weinstein) writes: > > 1. Signatures were being confused as to local/remote. > > > > The code checks to see if the address has you domain name in it > > and uses local, else it uses remote. The patch fixed this. > Ok, I *like* this feature, but I see an implementation problem: > looking at the code, I would say it checks "" and not if > your domain is just part of the address. So if you are on machine "xxx" at > domain "sub.top", only "...@xxx.sub.top" checks out to be local. But what > if I mail to a collegue who happens to own machine "yyy" and thus would be > addressed "...@yyy.sub.top" ????? > Isn't it more logical to just check if the address ENDS with your domain > (leading '.' stripped to be able to hide machine names and have a smart > sendmail running) and have all "...@whatever.sub.top" taken local ??? What about us in the UK? Our addresses START with the domain. And what about local machines which are in a different domain. I.E. we have several departmemts, one is Computer Science and another in Communications and Neuroscience. Their domain is uk.ac.kl.co and ours is uk.ac.kl.cs but all are on the ethernet and so the local signature would do just fine. There is also the problem of long a short domain names. Here in the UK we have two forms of the domain name, one short and one long. So uk.ac.kl.cs and uk.ac.keele.cs are both valid addresses for the same machine. Both need to be recongised as local. There's also the question of local addresses such as 'jonathan@derek'. Sendmail expands this up to a fully qualified domain name which then resloves into my local machine. So that needs the local signature too. Perhaps and easy solution would be to select the local signature on these conditions (these will need modifying for the UUCP world). 1. The address does not have a '.' in it. 2. The address matches a list of domains. The list will be like this: .kl.ac.uk .keele.ac.uk Elm would then need to test the address for 'kl', 'keele', 'kl.ac' 'keele.ac', 'kl.ac.uk', 'keele.ac.uk' to see if its local. And it would have to check both ends of the address. How about a simple question if both local and remote signatures are defined and there is an address (rather than just a username): Local or Remote signature [R] ? @ > -- > Edwin Kremer, Department of Computer Science, University of Utrecht > Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands > Phone: +31 - 30 - 534104 | UUCP : ...!hp4nl!ruuinf!edwin > "I speak for myself ..." | INTERNET: edwin@cs.ruu.nl -- ______ JANET :jonathan@uk.ac.keele.cs Jonathan Knight, / BITNET:jonathan%cs.kl.ac.uk@ukacrl Department of Computer Science / _ __ other :jonathan@cs.keele.ac.uk University of Keele, Keele, (_/ (_) / / UUCP :...!ukc!kl-cs!jonathan Staffordshire. ST5 5BG. U.K.