OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Daemon To Execute Commands

From: Alan Hicks (alanlizella.net)
Date: Fri Aug 29 2008 - 19:54:53 CDT


On Sat, 30 Aug 2008 00:57:51 +0200
"Marcel Grandemange" <thavincithavinci.za.net> wrote:

> Im looking for a programme that can run in daemon mode and watch one
> of my mbox male files.
>
> The idea I have is I would like to have the ability to send a email
> to one of my addresses and have it execute commands based on email
> content.
>
> I would essentially like to execute commands via e-mail messages.

There's no need for a daemon here. Procmail should be able to do
anything you need. The e-mail can be piped to an external program or
shell script as soon as it arrives.

--
It is better to hear the rebuke of the wise,
Than for a man to hear the song of fools.
Ecclesiastes 7:5