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

procmail - filtering already received mails



Hello all,

I'm trying to filter already received mails (in a maildir) through procmail.
My latest "approach" is executing

for i in `ls`; do
  echo -n "$i: ";
  procmail < $i && rm $i;
  echo "done.";
done

in SomeMaildir/cur

advantage: it is working
disadvantage: it is incredibly slow (5 seconds per mail)

Does anybody know a better solution.

tia
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: pgpc0rOHpC5ut.pgp
Description: PGP signature


Reply to: