[news.admin] Useful accplications of 'senduuname' control message

gam@amdahl.UUCP (01/26/87)

Summary:

I would like to suggest that the senduuname control message
be used to gather Usenet map entries for individual sites
on demand.  At our site, we defined UUNAME in defs.h
to be in LIBDIR/euuname, and the following shell script is
what is in LIBDIR/euuname.

I would like to encourage sites to use this method of providing
their Usenet map entries for their sites on demand.  This
would have useful applications in the maintenance of the Usenet map.

NOTE: you will need to change the defintion of the variable 'map'
to show where your site's map entry is stored.

--------------------- euuname follows this line ------------------------
: what to do if a site requests our uuname output

map=/usr/lib/smail/localmaps/com/amdahl/sdc/amdahl/global.map

echo "Subject: response to your uuname request"
cat <<EOF

Public information on UUCP connections to this site is recorded in
the Usenet map.
EOF
if [ -r $map ]
then
	cat <<EOF

For your convienience, the Usenet map entry for this site is enclosed:

EOF
	cat $map
fi