Paul Johnson <[EMAIL PROTECTED]> writes:
> On Thu, May 31, 2001 at 08:58:40PM -0400, KeN ClarK wrote:
> > I haven't done much of anything yet. But of course figured out how
> > fetchmail can do this and send it to my user locally. So that is working.
> > BUT, if a perl script that is cron'd will use less resources, I'd prefer
> > that.
>
> I would be extremely surprised if fetchmail wasn't far cheaper to run
> than a Perl solution.
Mail::Audit (a procmail replacement by Simon Cozens) comes with a script
which you can run to turn it into a fetchmail replacement as well. The
idea is that you can just leave it running in daemon mode and it'll
deliver mail etc without having to fork off extra processes.
Assuming you've got your filtering scripts sorted out properly, this
will probably be the most lightweight solution going.
And it's Perl. And it's available from CPAN. Result.
--
Piers Cawley
www.iterative-software.com