diff options
author | Jonas Smedegaard <dr@jones.dk> | 2006-03-24 14:03:00 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2006-03-24 14:03:00 +0000 |
commit | 2f3697fe40d4310f111b0ce6098584dff519053d (patch) | |
tree | 87c476b0ad4a6762f4599507d6c2735dfc454021 | |
parent | 9dba313ddcd5c5df899c09c44c12aea714c6c63f (diff) |
Be verbose about locking INBOX.
-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 |