Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!gatech!akgua!glc From: glc@akgua.UUCP (glc) Newsgroups: net.mail Subject: Restricting other sites from passing mail to ATTMAIL Message-ID: <2281@akgua.UUCP> Date: Sun, 27-Jul-86 22:06:39 EDT Article-I.D.: akgua.2281 Posted: Sun Jul 27 22:06:39 1986 Date-Received: Mon, 28-Jul-86 05:06:13 EDT References: <633@codas.ATT.UUCP> <123@einode.UUCP> <657@codas.ATT.UUCP> <288@micropro.UUCP> Organization: AT&T Technologies/Bell Labs, Atlanta Lines: 30 Re: >Does anybody out there have a method for a site without a source license >to pass mail between all it's neighbors EXCEPT attmail? We run >honey-dan-ber so we have the source for that, but others (SCO? >MicroPort? etc.) won't even have that. 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. e.g.: MACHINE=OTHER COMMANDS=/usr/lib/uucp/rmail The /usr/lib/uucp/rmail script could be something like: # Only allow mail from certain sites to be passed along to "attmail". # This is to prevent "freeloading" from other sites. # case "$1" in attmail*|*@attmail) case "$UU_MACHINE" in akgua|akgub|akguc) ;; # Allow these sites *) if [ `echo "$UU_MACHINE" | egrep -c "$ALLOW"` -eq 0 ] ; then echo '\nYour site not authorized to send to ATTMAIL' >&2 exit 1 fi ;; esac ;; esac /bin/rmail $1