Converting from uw-mailboxes (mbx) to Unix format (dovecot)
It took me by surprise how the mailbox formats had changed, when I switched to Dovecot which is the best IMAP/POP3 mail program, in my opinion. It handles large (enormous) mailboxes with many (hundreds of) users. Caching makes things go fast again.
Here is a simple bash utility, to take all users, and convert all mailboxes & folders.
cd /home
for u in *
do
if [ -d /home/$u/Mail ]; then
echo "User: $u"
cd /home/$u/Mail
PlanetMySQL Voting: Vote UP / Vote DOWN