Hi there
zhang [03.Apr.2009 08:45]:
I have a not functioning so well .procmailrc and I would like to try
to sort the mails already popped again. Could anyone give me some
pointers on this?
Well, if you store your email in a maildir-type structure, you could use
something like this:
for j in $(find .maildir/ -type d | grep cur) ; do (
cd $j ;
for i in * ;
do cat $i | formail -s procmail ;
done) ;
done
If you have one mbox-file, well, try this:
cat .mbox-file | formail -s procmail
You should also have a look at the formail options in the corresponding
manpage, which might help you adjust the above lines to your needs.
JP
--
Time flies like the wind, but fruit flies like bananas.
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail