Results 1 to 10 of 13

Thread: Silly idea, need help (verbal announcement of inbound emails)

Hybrid View

  1. #1
    Join Date
    May 2006
    Location
    England.
    Posts
    927
    Rep Power
    10

    Default 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?

  2. #2
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    12

    Default

    hah, you have far too much time on your hands

    i would see if there's a command line imap notifier that supports IDLE command, or alternatively if the 'frame' is powerful enough to run the zimbra webclient to make some sort of zimlet?

    let us know if you get anywhere!!!

  3. #3
    Join Date
    Apr 2007
    Posts
    23
    Rep Power
    8

    Default

    just a thought but if the zimbra toaster is open source you might want to start there...

  4. #4
    Join Date
    May 2006
    Location
    England.
    Posts
    927
    Rep Power
    10

    Default

    The laptop I used was is a P4 so it can run the client ok, but I want it to check for any incomming mail, not just the account that the client would be logged into.

    I feel the same problem may exist for the toaster, but the source for that will be simpler then the entire web client, so it's something to look at. I'll grab the toaster source and see what I can do, is there a linux version of the toaster? It's running Debian.

    As for too much time, nah, never enough time, just too many ideas! The amount of unfinished projects I have floating around it out of control!

  5. #5
    Join Date
    Oct 2005
    Location
    USA, Canada and India
    Posts
    777
    Rep Power
    11

    Talking 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 [get.copy.of.all@domain.com]

    2# Add the following line to MAIN.CF for postfix
    /opt/zimbra/postfix-2.2.9/conf/main.cf
    always_bcc = get.copy.of.all@domain.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 [get.copy.of.all@domain.com] 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


    Raj

  6. #6
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    12

    Default

    I think the toaster is written in c#, so depending on what level of .net it uses mono may be able to use it.

    fetchmail supports imap idle, might be a better starting point?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •