---%<-------------------------------------------------------------------------
#!/bin/sh
# Written by Michal Grzedzicki - public domain
# handy script to rename uw-imapd style subscriptions to dovecot

for hdir in `cat /etc/passwd|cut -d: -f6` ; do
    if [ -f "$hdir/.mailboxlist" ]; then
        cp -a "$hdir/.mailboxlist" "$hdir/.subscriptions"
    fi
done
---%<-------------------------------------------------------------------------

(This file was created from the wiki on 2012-08-01 04:42)
