#!/bin/sh
TEMP=`date +%b`
echo For $( date )
grep -i $TEMP /home/nerd/CALENDAR.TXT|sort
about the spam stuff, think spam assassin should do the job.
additionally, one could use a + tag to trace how your mail id was gathered by
the spammer in the first place.
for eg, if your mailid is sysadmin@..., when entering it anywhere(say
when you subscribe to a newsletter), you could enter
sysadmin+newsletter@....(i have been told anything after the '+' is
ignored by the SMTP servers.)
that way, the next time you get spam, you'll atleast be able to pin point the
source.