On 07/05/10 13:38, Alexander Batischev wrote: > So here is what I'm looking for: is there a way to run procmail on > already downloaded messages? Maybe I should download them to separate > directory and run procmail on it? Maybe I can just pass existing > (already sorted) mail directory to procmail for re-sorting? I hope > there are some way to do that.
You can invoke procmail by piping an email to it. find $LOCAL_MAIL_DIR -type f | while read mail; do procmail < "$mail"; done
signature.asc
Description: OpenPGP digital signature