#!/bin/sh set -e if [ ! -f /usr/bin/mb2md ]; then echo 'ERROR: mb2md not installed!' exit 1 fi if [ -f ~/.procmailrc ]; then echo 'ERROR: ~/.procmailrc exists - must be handled manually...!' exit 1 fi echo 'DEFAULT=$HOME/Maildir/' > ~/.procmailrc # Convert secondary mailboxes first # (reduces risk of clashing with new incoming mail) mv ~/mail ~/mail.abandoned mb2md -s mail.abandoned #FIXME: check spool file lock before reading the spool file if [ -f "/var/mail/$USER" ]; then mb2md -m echo -n '' > "/var/mail/$USER" fi # 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 ogo' rowspan='2'>cgit logo index : notmuch
Unnamed repository; edit this file 'description' to name the repository.Jonas Smedegaard
summaryrefslogtreecommitdiff
path: root/tags/57/6a/159730562702.28716.4640417642725560144@wilder.debian.org/unread
diff options
context:
space:
mode:
Diffstat (limited to 'tags/57/6a/159730562702.28716.4640417642725560144@wilder.debian.org/unread')
-rw-r--r--tags/57/6a/159730562702.28716.4640417642725560144@wilder.debian.org/unread0
1 files changed, 0 insertions, 0 deletions