[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    [Bug 66880] "Index out of date" completely broken UI-wise
From:       Markus Baumeister <markus () spampit ! retsiemuab ! de>
Date:       2003-10-30 20:08:53
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=66880     




------- Additional Comments From markus@spampit.retsiemuab.de  2003-10-30 21:08 \
-------
> We allow the mbox file to be up to 5 seconds newer than the index file.
> This should be enough for any distributed system.

It can easily be more. If the server is using UTC time and the PC local time \
(unavoidable if it is to be dual bootable into Windows) you better not use KMail on \
your PC until it has updated from a timeserver. Which one is not supposed to do every \
few seconds.

> I've tried several tricks similar to what you propose. In each case NFS
> was "smarter" than me i.e. non of my workaround worked reliably. 

The following tcsh script works perfectly here:

------- snip --------
#!/bin/tcsh

set nametemp=$PWD/uniqueXXXXXX
set name=`mktemp $nametemp`

set localtime=`date +%s`
echo 1 >$name
# ls options are highly dependent on version! This is for GNU ls 4.5.8
# Without "--time ctime" ls will adapt to time differences and this
# programm won't work
set remotels=`ls -l --time ctime --time-style="+%s" $name`
set remotetime=`echo $remotels | awk '{ print $6 }' `

@ timediff= $remotetime - $localtime

if( $timediff > 5)  then
   echo "NFS server is" $timediff "seconds ahead."
else if ( $timediff < -5 ) then
   @ timediff = - timediff
   echo "NFS server is" $timediff "seconds back."
endif

rm -f $name
------- snip ------

> The normal user is not able to decide
and
> Sometimes compaction is disabled (also to protect the user 
> from mail loss)
Looks to me as if KMail is going the route of EMail for Dummies (aka "We know it \
better than the user"). Especially since KMail doesn't even bother to tell the user \
that it is not actually doing anything when it's pretending to compact.

Oh, and I prefer a mail format which allows me to easliy switch Mailers without \
loosing mail (i.e. mbox style).

Regards
    Markus
_______________________________________________
KMail Developers mailing list
kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic