Unmangle mbox according to the configuration file.

Fixes #273, #276