[nzlug] Beware kmail disconnected IMAP

brenda brenda at wallace.net.nz
Thu Nov 1 14:39:08 NZDT 2007


Robin i have a procmail recipe for that - keeps a month archive in a
folder that kmail can't have.

# common variables:
# my mail folders are stored in here
MAILDIR=/home/brenda/Maildir/
DEFAULT=/home/brenda/Maildir/

# Keep archives by the month.
MONTH=`date +%Y%m`
MONTH=.$MONTH

:0 Wic
* ? test ! -d $MAILDIR/$MONTH.sent-mail
| rm $MAILDIR/.sent-mail; mkdir $MAILDIR/$MONTH.sent-mail; mkdir
$MAILDIR/$MONTH.sent-mail/cur; mkdir $MAILDIR/$MONTH.sent-mail/new;
mkdir $MAILDIR/$MONTH
.sent-mail/tmp; ln -s $MAILDIR/$MONTH.sent-mail $MAILDIR/.sent-mail

# Now point MAILDIR at the archive directory.
MAILDIR=$MAILDIR/$MONTH

# logfile of all transactions down in here.
LOGFILE=$MAILDIR/procmail$MONTH.log




On Thu, 2007-11-01 at 01:08 +1300, Robin Sheat wrote:

> I use kmail with disconnected IMAP on my laptop, and today it got confused 
> about something, and asked if I wanted to resync. It sounded like something 
> you'd want it to do. _Don't do this!_
> 
> I have gone from an inbox of size 1,500 to 0. And not in a nice 'sorting and 
> deleting' fashion like I periodically do myself, but in a 'everything's gone, 
> even on the server' sort of way.
> 
> Of course, now I'm setting up backups on the server. A little late.
> 
> (This is kmail on gutsy, I've never seen this error on previous versions)
> 
> _______________________________________________
> NZLUG mailing list NZLUG at linux.net.nz
> http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug


More information about the NZLUG mailing list