Sorry if I missed something earlier in the thread. Isn't this what formail is for? In testing procmail rules, I frequently do something like: formail -s procmail ~/.procmailrc < oldmbox - Bob