PDA

View Full Version : Alert for new mail


xchanyazy
04-23-2002, 10:58 AM
Hello,
I have fetchmail set up to download mail to my computer, and am using mutt to peruse it once it has been downloaded. This is giving me much less grief than Entourage and mail.app, however I would like some sort of audible notice that there is new mail waiting for me when I am sitting at my computer. I was thinking maybe using cron/anacron to check every 5 minutes, but I wasn't sure how the system tells itself there is new mail. I know when I open a new terminal window, if I have new mail it will say
Welcome to Darwin!
You have new mail., but I usually just keep one terminal window open all the time so this wouldn't help too much.

Thanks for any help!

bakaDeshi
04-23-2002, 11:28 AM
I think you can just add this

CHECKMAIL=300

to your .cshrc file or if you do it apple's way in ~/Library/init/tcsh/rc.mine

number is in seconds.

xchanyazy
04-23-2002, 11:34 AM
I have that in my ~/.fetchmailrc file, that is what actually downloads the mail. I just want the terminal to beep (or say something) if there is new mail...

bakednotfried
04-23-2002, 05:00 PM
i think biff is what you are looking for. try

man biff
hope this helps,
mike

xchanyazy
04-23-2002, 05:03 PM
Excellent, that's just the type of thing I've been looking for. Thanks, Mike.