no longer overwritten by the flags on the server and checking for new mails
only reports the really new mails.
svn path=/trunk/kdenetwork/kmail/; revision=130054
it has always an older date than the index, even if the user changed the clock
or lets KMail running, while it switches itself from daylight savings time to
normal time.
svn path=/trunk/kdenetwork/kmail/; revision=129370
- Show number of queued messages in outbox
- Open thread if it contains new, unread or _important_ messages
svn path=/trunk/kdenetwork/kmail/; revision=128438
- Slightly better support for broken mails without charset header
Thanks to Takumi ASAKI <asataku@osk3.3web.ne.jp>
svn path=/trunk/kdenetwork/kmail/; revision=127974
- Allows easily keeping track of obsolete cache files. These are now cleaned up.
- IMAP folders are now always accesible, not only when already connected.
svn path=/trunk/kdenetwork/kmail/; revision=111641
The idea is to attempt to prevent mail loss when exceptional
events that KMail was not designed to handle occur.
In order to prevent mail loss when an external application
(like procmail) modifies folder files in ~/Mail I want to
check for an out of date index file everywhere that the
index file is updated which is in three places.
1) When closing (for real) a folder
2) When adding message to a folder
3) When compacting a folder
There's also the possibility that an external program
modifies a folder file but doesn't update its date, making
the kmail index file out of sync with the corresponding
folder file. I want to check for this, and if it occurs
then no longer compact that folder file (disabling
compaction should eliminate the possibility of losing mail
due to an index file being out of sync).
I have two ideas for doing this.
1) Check that the index entry matches the folder file when
a message is selected and if not disable compaction for
that folder (I've done that in the attached patch, it would
be best to prompt the user asking if they want to regnerate
the index file).
2) When compacting check that the index entry matches the
folder file. I'm working on a way to this quickly.
svn path=/trunk/kdenetwork/kmail/; revision=106520
Instead when checking for new mail sync just before expunging the local
account or just before deleting mail from the pop server. I guess syncing
isn't currently as issue for imap.
There is a question of whether/when sync should be called for other
operations such as moving messages between folders.
svn path=/trunk/kdenetwork/kmail/; revision=105142
Otherwise KMail claims, it has found mailbox files from a KMail version of a
different univers of the generation after next with version number 135949380,
if the user browes a ~/Mail directory produced from KMail via IMAP and has
hidden folders enabled.
svn path=/trunk/kdenetwork/kmail/; revision=103059
causing trailing "F"s.
Now that Sam's patch has been applied KMMsgInfos store an
offset into an mbox and the length of the message at that
point.
But a problem occurs when a new message is appended to an
mbox. KMail ensures a '\n' separator is appended in the
file to separate the last message in the mbox from the
"From ..." mbox separator that will be inserted for the
new message.
This causing a complication that the last message in the
mbox must have its length updated (otherwise compaction is
messed up).
The patch fixes an exception to the above. If a message at
the end of the mbox is deleted then we don't want to update
the length of the last (undeleted) message in the mbox (as
that length has already been updated earlier when new mail
arrived).
This patch won't fix currently deleted mbox files. I'm not
to sure how bad the corruption it. Hmm, might be bad.
I also noticed that the "revert" variable seems to be set
wrong. It is used to roll back the mbox when a critical
error (like disk space exhausted) occurs. So I fixed that
also.
svn path=/trunk/kdenetwork/kmail/; revision=102830
conversions, it indeed gives a better overview in the code.
This also fixes a few minor problems with non-latin folder names.
- Remove all subfolders, when removing a folder, not only the first one.
- Remove some unused code.
svn path=/trunk/kdenetwork/kmail/; revision=102457