Thanks David. What I had tried was:
mboxsplit.rc has this:
:0
tmp/mails/.
and running formail with this (as a Q&D test):
cat mailbox | formail -cs procmail -m mboxsplit.rc
This took at least 30 minutes.
I just ran your method and it split out the 2125 messages in slightly under
two minutes which is not only a vast improvement but even quite acceptable
considering what is going on. Thanks very much for the suggestion. It is a
pity that formail can't do this on it's own, that'd be by far the fastest
approach.
BTW giving or not giving the n flag to formail made no difference.
Richard
On Apr 17, 9:58am, David W. Tamkin wrote:
[snip]
But the fastest thing I tried was to use procmail but prevent the locking;
where .splitrc had this code,
:0
$mailbox.$FILENO
this ran like the wind in comparison:
#!/bin/sh
export mailbox
for mailbox in pattern
do FILENO=00001 formail -ns procmail -pm ./.splitrc < "$mailbox"
done
-- End of excerpt from David W. Tamkin
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail