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

2009-06-03 Thread doug livesey
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.
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


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

2009-06-03 Thread Andrew Turner
2009/6/3 doug livesey biot...@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

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/