Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rice!sun-spots-request From: moj@mirfak.UTU.FI (Matti Jokinen) Newsgroups: comp.sys.sun Subject: Re: Calendar Keywords: Software Message-ID: <9691@brazos.Rice.edu> Date: 6 Jul 90 11:45:44 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 12 Approved: Sun-Spots@rice.edu X-Refs: Original: v9n249, Replies: v9n249 X-Sun-Spots-Digest: Volume 9, Issue 254, message 1 >One user on my network is getting 3 mail messages from >calendar...one server is sending one, and the other server is sending 2, >about 7 or 8 seconds apart. At least in SunOS 4.0.3 there is a bug in /usr/bin/calendar: the messages are sent twice if the userid is both in /etc/passwd and in the YP map. Fortunately /usr/bin/calendar is a script and can be fixed easily: 27c27 > $caldata |cat /etc/passwd - | grep -v '^[+-]' |\ --- < $caldata |cat /etc/passwd - | grep -v '^[+-]' | sort -u |\