NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
mailq (Score:1)
Re: (Score:1)
Re: (Score:1)
As well, consider replacing fetchmail+procmail(+spamassassin?) by some homegrown Mail::POP3Client [cpan.org]+Email::Filter [cpan.org]+Email::LocalDelivery [cpan.org](+Mail::SpamAssassin [cpan.org]?) combo. The traditional combo requires one process per mail and plus a fixed overhead of several other processes per fetch, so it bogs down quite a bit when polling a heavily populated mailbox.
Besides that, locking works nicer, the syntax is non-arcane, etc etc etc. :-)