[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: notifying



Interesting...  Here are some thoughts:

Do you manage your own mail server?  You could use the "user+" convention,
by configuring exim appropriately, to send a message to wife+alert@yourserver.net, 
then use the .forward file to pipe the message to a script that sends a sound
file to /dev/audio.

/home/wife/.forward:

# Exim filter
if $local_part_suffix is "+alert" then pipe "/home/wife/alert.sh"

/home/wife/alert.sh:

#!/bin/sh
# The incoming message is available on standard input, but you can just
# ignore it
cat alert.au > /dev/audio

This is kind of off the top of my head, so I welcome other comments.  I guess if
you are using fetchmail and a POP account, you could just filter on a subject
line instead of an address suffix.

Marc

----------
Marc Mongeon <mongeon@bankoe.com>
Unix Specialist
Ban-Koe Systems
9100 W Bloomington Fwy
Bloomington, MN 55431-2200
(612)888-0123, x417 | FAX: (612)888-3344
----------
"It's such a fine line between clever and stupid."
   -- David St. Hubbins and Nigel Tufnel of "Spinal Tap"


>>> Brian Schramm <bschramm@schramms.penguinpowered.com> 11/05 11:48 AM >>>
I would like to set it up so I can send an email or some other message
from a machine over the net or locally to another user to tell them to log
in a check for messages.  I know if they are on I can get their attention
but a lot of times I would like to have my wife log in when I send her a
message that I need to have her look at right away.  The computer is
usually in ear shot so the sound card or speeker can be trigured.  

I would love to have it run by an email address so I can do it from
anywere.  

Any ideas??

Brian Schramm
bri@penguinpowered.com 
www.linuxexpert.org 



-- 
Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null



Reply to: