Results tagged “mail” from Nothing new here
Evolution is a great email client, it's just missing a good new mail notifier - actually, it has none. I am running Fedora Core with Gnome and there's the new-mail applet, but it's huge and an overkill for most cases. To make a long story short, i was looking for a new mail notifier for Evolution and found none which were usable - so i made one. The following code should work on most Gnome desktops including Ubuntu and you can use with any other mail client which can pipe new emails to an external application:

Getting a new spam notification
It's using the libnotify library with python bindings (yum install notify-python), this is the source:
Save the code to a new file, give it the .py ending and make it executable (chmod +x notifier.py). Go to Evolution and create a new message filter for incoming mail and pipe all new mails to the script.

You can also use the script if you are running procmail locally, just add the following script to your ~/.procmailrc file:
# popup new mail alert
:0 c
| ~/notify.py
I release the notifier code in the public domain, do whatever you like with it. If you do some changes to it, please send me a copy, i may be interested in seeing it. Also it would be nice if you could link back to this post.


