Re: Is there an equivalent of Outlook?
From: Robert Heller (heller_at_deepsoft.com)
Date: 03/02/05
- Next message: John: "Re: Can't Find Partition Table On Boot"
- Previous message: Michael Heiming: "Re: Is there an equivalent of Outlook?"
- In reply to: John-Paul Stewart: "Re: Is there an equivalent of Outlook?"
- Next in thread: Davide Bianchi: "Re: Is there an equivalent of Outlook?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 02 Mar 2005 00:01:38 +0100
John-Paul Stewart <jpstewart@binaryfoundry.ca>,
In a message on Tue, 01 Mar 2005 15:11:29 -0500, wrote :
JS> Robert M. Riches Jr. wrote:
JS> > On 2005-03-01, om.newsgroup@gmail.com <om.newsgroup@gmail.com> wrote:
JS> >
JS> >>Can someone tell me if there is an equivalent of Outlook for Linux?
JS> >>
JS> >>Outlook is really powerfull and offers many functionalities.
JS> >>
JS> >>The ONLY thing I though need is:
JS> >>
JS> >>1. The ability to send an email to the printer for printing as soon as
JS> >>it is received from a SPECIFIC address.
JS> >>
JS> >>2. Similarly to the above, to be able play a specific sound when an
JS> >>email is received from a specific address.
JS> >>
JS> >>Any help would be appreciated.
JS> >
JS> >
JS> > Welcome to Linux-land.
JS> >
JS> > While I don't know of any off-the-shelf tools to do exactly
JS> > those two things, those two functions should be quite easy
JS> > to do. I would suggest using the procmail utility to put
JS> > the mail from your specified address(es) in a particular
JS> > file. Then, I would run a shell or perl script in the
JS> > background (or maybe a cron job every minute or so) to check
JS> > whether that particular file exists and is not empty.
JS>
JS> Why go to all that trouble with an extra script and cron? Why not (in
JS> ~/.procmailrc):
JS>
JS> :0c:
JS> ^From: printme@example.com
JS> | /usr/bin/lpr
JS>
JS>
JS> Something similar could be done to play a song, too. Piping the mail to
JS> the player app might seem non-sensical, but from within procmail that
JS> seems to be the only way to trigger an external program. You just have
JS> to be sure the music player app _ignores_ it's stdin (i.e., the mail)
JS> and plays the file!
:0c:
^From: printme@example.com
| (dd of=/dev/null;play sound.wav)
JS>
\/
Robert Heller ||InterNet: heller@cs.umass.edu
http://vis-www.cs.umass.edu/~heller || heller@deepsoft.com
http://www.deepsoft.com /\FidoNet: 1:321/153
- Next message: John: "Re: Can't Find Partition Table On Boot"
- Previous message: Michael Heiming: "Re: Is there an equivalent of Outlook?"
- In reply to: John-Paul Stewart: "Re: Is there an equivalent of Outlook?"
- Next in thread: Davide Bianchi: "Re: Is there an equivalent of Outlook?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|