Skip to main content.
home | support | download

Back to List Archive

Re: search as an email service

From: Bernhard Weisshuhn <bkw(at)>
Date: Fri Oct 25 2002 - 10:22:49 GMT
On Thu, Oct 24, 2002 at 10:03:01PM -0700, Sundaram Balasubramaninan <> wrote:

> Do anyone had thougt/done searching with swish-e as an email service as
> the google does?
> What is required is a component / interfaces which can receive email
> (with query words in the subject line) and process it automatically with
> swish-e and return back the results to the sender?

Elementary, Watson: Use Perl ;)

Set up a mail alias (procmail, /etc/aliases, .forward or the like) to
forward the mail to a perl script, which uses to parse the
Mail, to perform the search, and to send back
the results. Should be pretty straightforward.

Happy hacking,
Received on Fri Oct 25 10:26:42 2002