Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!henry From: henry@utzoo.UUCP (Henry Spencer) Newsgroups: net.mail Subject: Re: Restricting other sites from passing mail to ATTMAIL Message-ID: <6997@utzoo.UUCP> Date: Mon, 28-Jul-86 16:37:22 EDT Article-I.D.: utzoo.6997 Posted: Mon Jul 28 16:37:22 1986 Date-Received: Mon, 28-Jul-86 16:37:22 EDT References: <633@codas.ATT.UUCP> <123@einode.UUCP> <657@codas.ATT.UUCP> <288@micropro.UUCP>, <2281@akgua.UUCP> Organization: U of Toronto Zoology Lines: 22 > >Does anybody out there have a method for a site without a source license > >to pass mail between all it's neighbors EXCEPT attmail?... > > Actually that isn't too hard to do. With Honey-dan-ber, you can > set up the Permissions file to run your own "rmail" program... > [example which checks and then invokes /bin/rmail] Actually, you can do better than that: there is nothing in a vanilla Unix which insists that /bin/rmail be a link to /bin/mail (or whatever). Utzoo ran for years with /bin/rmail a shell file which did some checks, took some precautions against errors, and then invoked the "real rmail" under another name. If you make the link to /bin/mail under a name like "rrmail", this will cover both the possibility that mail is looking at the first letter to see if it's 'r' (this is what at least the older Unix mailers do) and the possibility that it's checking to see whether the last five characters are "rmail" (2.10 news uses such an approach to check for "rnews"). It's then trivially easy to hack something suitable into the /bin/rmail shell file to make whatever checks you want. -- EDEC: Stupidly non-standard brain-damaged incompatible Henry Spencer @ U of Toronto Zoology proprietary protocol used. {allegra,ihnp4,decvax,pyramid}!utzoo!henry