Silly idea, need help (verbal announcement of inbound emails)
Ok, so here's the deal.
I was bored and ripped up an old laptop to build into a picture frame type thing, so far all it does is sit there running ether-ape showing network activity on my lan (this is for my home setup) That looks nice and I thought... Hmm, what else can I do, so I came up with this....
I've installed Cepstral speech engine on the frame and I want the zimbra server to send a message to it somehow so that as an email arrives for any user, the frame will speak a message, like "New mail for Joe User from ****** Spam" etc, I know this is pointless, I know its stupid, but I still think it's kinda cool.
However, I barely know where to start. I want the notifications to be instant, so any form of pop3 collection is out. I'm thinking it should be possible to set zimbra to send a message to the frame, as the mail arrives and run a shell script on the frame to listen on a port or something. It should be easy, but currently I'm at the 'blank page' stage and struggling to start.
Anyone have any ideas?
This will keep you busy...
Dirk..As I can see you have time on your hand then try this..
1# create a pop/email user on your domain [firstname.lastname@example.org]
2# Add the following line to MAIN.CF for postfix
always_bcc = email@example.com
* Postfix will send a COPY of every email coming to Zimbra on that address
3# Setup POP client on your Client/Frame computer and POP [firstname.lastname@example.org] account on your server every 30 seconds or less
* this will download every email coming on to your server every 30 seconds..
4# Now you have all the time to code the client to trigger your speech engine
Let us know if this works..we will send you some few thousand emails to keep you entertained…lol