From 9dba313ddcd5c5df899c09c44c12aea714c6c63f Mon Sep 17 00:00:00 2001
From: Jonas Smedegaard <dr@jones.dk>
Date: Fri, 24 Mar 2006 13:54:46 +0000
Subject: Enable convertion of mbox subdirs.

---
 localmb2md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'localmb2md')

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
-- 
cgit v1.2.3