On Mon, Oct 30, 2000 at 11:17:59AM +0000, David Hodgkinson wrote:
> > If you have a mail server doing program delivery to a few perl
> > scripts a lot, what can be done to optimize this?
> Bulkmail works really well. (Comes with *ack* majordomo).
> Also, does work really well if you give it stuff you already know
> you're in with a shot of delivering. So damn well pre-process your
> list. Do MX lookups and stuff.
Hmmm ... I read the original message as looking for solution to dealing
with *incoming* mail, rather than *outgoing*.
We have a similar problem here, where we farm all the incoming customer
care mail through a perl script to do all sorts of work on it before
"delivering" it to the care team for answwering. But it has to spawn a
new process for each incoming message, which isn't very nice...
We've looked a few time at having the script read from a queue instead,
and sleep when it's nothing to do, but we just haven't gotten around to
doing this.
So I'd also be interested if anyone's come up with a really nice
solution...
Tony
--
-----------------------------------------------------------------------------
Tony Bowden | Belfast, NI | [EMAIL PROTECTED] | www.tmtm.com | www.blackstar.co.uk
centred on silence counting on nothing
-----------------------------------------------------------------------------