l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
August 5: Social gathering
Next Installfest:
TBD
Latest News:
Jul. 4: July, August and September: Security, Photography and Programming for Kids
Page last updated:
2004 Jan 05 15:26

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] email notification tool
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] email notification tool



dylan said:
> hi-
>
> i am looking for a software package, if one exists, that would execute an
> arbitrary script when email arrives, or is present in my Maildir folders.
>
> something kind of like biff - but that would be able to handle Maildir
> format, and that would execute a script instead of modifying the terminal
> window.
>
> as ridiculous as this might sound -- i would like to put an LED in the
> hand
> of a small figurine that lights up when i have email -- i would be sending
> serial commands via shell scripts to a Basic Stamp in order to toggle the
> LED..... i know pretty dorky...  :)

Hmm.. looking through my debian packages, I find this:
----> ixbiff <----
notify user when mail arrives by blinking keyboard leds

Details:
Ixbiff blinks the keyboard LEDs when new mail arrives. The keyboard LEDs
used depend upon the daemon's configuration.

For obvious reasons only three mailboxes can be checked.

Currently, ixbiff is Linux specific and requires root access.

Ixbiff supports the standard UNIX mbox format as well as qmail's Maildir
format.
-------------------

But maybe building your own is desired? How about:

(I am nearly certain this will work...) You could use procmail and add a
line much like you would for calling spamc or spamassassin in piping the
message through your script.

Of course, the difference is that the script would actually be a kind of
wrapper. Example:

file /tmp/this.sh:
----BEGIN----
#!/bin/bash
#

cat

/path/to/led/script/to/run > /dev/null 2>&1
----END----

In such a case, the data piped in gets piped out, and a script also gets
called.

Of course, if you are looking for something less-hackish to add onto,
check out some of these:
clockmail_applet/MailCheck Applet that works from X and can be docked.
(from miguel@kernel.org, jberkman@andrew.cmu.edu,
jaka.mocnik@kiss-uni-li.si, poettering@gmx.net)

And:
mailcheck (may permit running applications and work from a shell without X)
(from jeff@debian.org)

HTH
-ME

_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.