diff options
-rwxr-xr-x | localmb2md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |