diff options
Diffstat (limited to 'dovecot')
-rwxr-xr-x | dovecot/uwimap2dovecot.sh | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/dovecot/uwimap2dovecot.sh b/dovecot/uwimap2dovecot.sh deleted file mode 100755 index fc242ae..0000000 --- a/dovecot/uwimap2dovecot.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -for mbox in `ls -1 /home/*/mail/mbox`; do - user=`echo $mbox|sed 's,/home/\(.\+\)/mail/mbox,\1,'` - inbox=/var/mail/$user - if test -s $inbox; then - cat $inbox >> $mbox - fi - mv $mbox $inbox - user-init $user -done -for oldlist in `ls -1 /home/*/.mailboxlist`; do - user=`echo $oldlist|sed 's,/home/\(.\+\)/.mailboxlist,\1,'` - newlist=/home/$user/mail/.subscriptions - mv $oldlist $newlist - user-init $user -done |