Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.