[ubuntu-uk] Set up an internal email server to launch processes

Andrew Turner acturneruk at gmail.com
Wed Jun 3 10:48:39 BST 2009


2009/6/3 doug livesey <biot023 at gmail.com>:
> Hi -- I  want to setup an internal web server on an Ubuntu machine that I
> will use to trigger scripts when emails arrive with certain addresses.
> The emails will be parsed for args to send the scripts, and the scripts will
> be written in Ruby.
> I've worked on projects before where this has been done, but I wasn't
> involved in that side of things, so have no idea where to start looking to
> implement it.
> Could anyone offer any advice on email server packages that would be good
> for this, and maybe pointers to resources I could research to figure out how
> to go about it?
> Thanks very much,
>    Doug.

I know procmail can be set up to forward email to a script instead of
a mailbox, as implemented on WebFaction's excellent hosting service.
The script can then parse the email for whatever information you want
and process it accordingly.

See https://help.webfaction.com/136

Cheers,
Andrew



More information about the ubuntu-uk mailing list