Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I finished tunning my .procmailrc, now I want to process all the mails I have in my Inbox. How can I do that?

share|improve this question

The tool for doing this is formail which is part of procmail. You first move all the mail you want to process somewhere else to prevent infinite loops and then run formail -s procmail < old_inbox where old_inbox is what you renamed your mail file. This assumes your mailbox is a single file in mbox format.

share|improve this answer
OK, I'll look that. Thank you! – anders Oct 7 '10 at 11:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.