[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: procmail - filtering already received mails



On Mon, Aug 14, 2000 at 03:54:22PM -0400, Arcady Genkin wrote:
> Florian Friesdorf <42ff@gmx.net> writes:
> 
> > > for i in `ls`; do
> > >   echo -n "$i: ";
> > >   procmail < $i && rm $i;
> > >   echo "done.";
> > > done
> > 
> > I still don't understand what was going on, but with this one it worked fine.
> > 
> > (for i in `ls`; do echo -n "$i: "; procmail < $i && rm $i; echo "done."; done) > ../log 2>&1 &
> 
> Not to say that this is the cause of slowness, but you may still want
> to change the `ls` to *.  This will save running ls, and opening and
> closing a pipe:
> 
> for i in *; do
> ...
> -- 
> Arcady Genkin
> Don't read everything you believe.

Thanks for the hint.
It seems, I was little bit tired. The second time it was running on the server where the mail folder was saved locally. Not on my nfs mounted box.
But I still don't understand, why it was that slow over nfs (100BaseT).

-ff

-- 
     Florian Friesdorf <42ff@gmx.net>
OpenPGP key available on public key servers

------> Save the future of Open Source <------
-> Online-Petition against Software Patents <-
------> http://petition.eurolinux.org <-------

Attachment: pgp2Tfq1XShvb.pgp
Description: PGP signature


Reply to: