I recently wrote something like that but for mailboxes. It uses formail etc and requires that each mail has a Message-Id (which some didn't have...). Look into the -D and -s options of formail, maybe it works for maildirs too?
- Slightly OT: I'm looking for a tool to merge maildirs Chris Green
- Re: Slightly OT: I'm looking for a tool to merge m... Jean Louis
- Re: Slightly OT: I'm looking for a tool to merge m... Cameron Simpson
- Re: Slightly OT: I'm looking for a tool to mer... raf
- Re: Slightly OT: I'm looking for a tool to... Chris Green
- Re: Slightly OT: I'm looking for a tool to mer... Chris Green
- Re: Slightly OT: I'm looking for a tool to... Cameron Simpson
- Re: Slightly OT: I'm looking for a tool to merge m... Claus Assmann
- Re: Slightly OT: I'm looking for a tool to merge m... Marcus C. Gottwald
