On Thu, 13 Apr 2000, John Hyland wrote:
> On Thu, Apr 13, 2000 at 12:00:36PM -0400, Rich wrote:
> > I need a setup to check response mail from a web site and direct it
> > to one of several people based on content. IE, if the e-mail contains
> > the word "remove" send it to the person responsible for removal.
> >
> > Any ideas?
>
> Well, I don't know how useful this observation will be for you, but it sounds
> like something qmail would be well suited for. Make a dotfile for the address
> in question that pipes the email to a short perl script. The perl script does
> whatever content checking you need, changes the "To:" field, and calls
> qmail-send. Should be fairly straightforward.
>
> Of course, if you don't want to run qmail, that doesn't help much.
Just use a .forward instead, and it'll work whether or not you run qmail.
You could also use procmail, though, instead of perl. Use the B flag to
grep the body of the message for whatever sorting text string you want.
later,
chris
--
Chris Ricker ">kaboom@gatech.edu
">chris.ricker@genetics.utah.edu
--
To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.