summaryrefslogtreecommitdiff
path: root/localmb2md
diff options
context:
space:
mode:
Diffstat (limited to 'localmb2md')
-rwxr-xr-xlocalmb2md4
1 files changed, 3 insertions, 1 deletions
diff --git a/localmb2md b/localmb2md
index 0e9fe5e..b5864c4 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.6 2006-03-24 13:54:46 jonas Exp $
+# $Id: localmb2md,v 1.7 2006-03-24 14:03:00 jonas Exp $
#
# Convert user account from mailboxes below /var/mail/ and ~/mail/ to
# maildirs below ~/Maildir/ .
@@ -38,6 +38,7 @@ fi
# Avoid incoming mail while messing with INBOX
if [ -e "/var/mail/$USER" ]; then
+ echo "Locking INBOX"
mail-lock
mail-touchlock &
# Save the PID of the mail-touchlock process
@@ -58,6 +59,7 @@ if [ -e "/var/mail/$USER" ]; then
# Allow incoming mail again
kill "${BADGER}"
mail-unlock
+ echo "INBOX unlocked again"
fi
# Convert secondary mailboxes