summaryrefslogtreecommitdiff
path: root/localmb2md
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2006-03-24 13:54:46 +0000
committerJonas Smedegaard <dr@jones.dk>2006-03-24 13:54:46 +0000
commit9dba313ddcd5c5df899c09c44c12aea714c6c63f (patch)
tree402b816f72f2582e2e6c8ecb0364f8ac1974b2ef /localmb2md
parent1d386cbe8597ab554c0c5c9e668879a2088d4881 (diff)
Enable convertion of mbox subdirs.
Diffstat (limited to 'localmb2md')
-rwxr-xr-xlocalmb2md4
1 files changed, 2 insertions, 2 deletions
diff --git a/localmb2md b/localmb2md
index 5ee56ce..0e9fe5e 100755
--- a/localmb2md
+++ b/localmb2md
@@ -3,7 +3,7 @@
# /usr/local/sbin/adduser.local
# Copyright 2005-2006 Jonas Smedegaard <dr@jones.dk>
#
-# $Id: localmb2md,v 1.5 2006-03-24 13:53:35 jonas Exp $
+# $Id: localmb2md,v 1.6 2006-03-24 13:54:46 jonas Exp $
#
# Convert user account from mailboxes below /var/mail/ and ~/mail/ to
# maildirs below ~/Maildir/ .
@@ -63,7 +63,7 @@ fi
# Convert secondary mailboxes
if [ -d ~/mail ]; then
mv ~/mail ~/mail.abandoned
- mb2md -s mail.abandoned
+ mb2md -R -s mail.abandoned
# Grab dovecot subscriptions
if [ -f ~/mail/.subscriptions ]; then
mv ~/mail/.subscriptions ~/Maildir/.subscriptions