From a5681705a4df69f0134c7d94deb68de8f72fd263 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Fri, 5 Aug 2005 12:30:38 +0000 Subject: Grab older dovecot subscriptions and only UW-imap ones as a fallback. --- localmb2md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'localmb2md') diff --git a/localmb2md b/localmb2md index 421547f..8452b66 100755 --- a/localmb2md +++ b/localmb2md @@ -25,6 +25,10 @@ if [ -f "/var/mail/$USER" ]; then echo -n '' > "/var/mail/$USER" fi -if [ -f ~/.mailboxlist ]; then +# Grab dovecot subscriptions +if [ -f ~/mail/.subscriptions ]; then + mv ~/mail/.subscriptions ~/Maildir/.subscriptions +# ...or UW-imap ones +elif [ -f ~/.mailboxlist ]; then mv ~/.mailboxlist ~/Maildir/.subscriptions fi -- cgit v1.2.3