#! /bin/ksh

locals="(type=localsig & old!=Local)"
olds=`sssearch "$locals" email.db | ssformat -t %old`
resends=`sssearch "$locals & resend=@" email.db | ssformat -t %resend`
alias mail=Mail

for email in $resends
do
	#email=$email@xerox.com
	echo $email
	sssearch "$locals & resend=$email" email.db |
		ssformat -t "
============================================================
Dear %Charter,

As you may know, the SIGCHI mailing lists such as announcements.chi
will be moving from Xerox.com to ACM.org by the end of the year,
to relieve the Xerox administrative and server load, and to move
the lists to where they more properly belong to serve ACM organizations.

As part of the move, many naming conventions have been redesigned,
	(see: http://www.acm.org/~perlman/chiemail.htm)
so there is an opportunity to choose email names that best represent your
organization.  Currently, the Xerox alias we have for you is:
	%old
The main idea of the new naming conventions is to rename:
	XXX.chi@xerox.com to be chi-XXX@acm.org

Some of the old names have not seemed right to me, either because of
length, duplication of the word SIGCHI, or because the chapters have
adopted nicknames.  I have proposed changing your CHI email name to:
	%new
If I do not hear from you, I will assume that the proposed name is okay,
or that you do not care.  The name can be changed in the future, but keep
in mind that the names will eventually be printed in the SIGCHI Bulletin.
Also note that official ACM chapters can have their own mail lists
at ACM.ORG, independent of the SIGCHI aliases.  So, for example,
	chi-BuckCHI@acm.org
might simply forward mail to:
	BuckCHI@acm.org

Gary Perlman, ACM SIGCHI Vice-Chair for Publications
" | mail -s "RFC SIGCHI Mailing List Changes" $email
done
