On Monday 14 May 2007 10:21:49 Will Stephenson wrote:
> On Saturday 12 May 2007, Andrew Colvin said:
> > I have a perplexing problem.  It seems to be since the last kde update
> > from the build service for my opensuse10.2
> >
> > kmail is duplicating mails.
> >
> > This is how it is doing it.
> >
> > I have an imap server where I collect all my incoming mail from
> > (dovecot). The emails are delived through postfix to the imap server
> > where the emails are stored
> >
> > Now when kmail runs I have a rule (well several) which looks to see if
> > the mail is from this list and moves it to a local folder
> >
> > What is happening is that the kmail move rule is happily making a copy of
> > the email in the local folder but is not removing the message from the
> > imap.
> >
> > Hence with every refresh it creates a new copy of the email in my local
> > folder.
> >
> > The only thing that has changed is the kde upgrade I did yesterday
> >
> > Has anyone else noticed this?
>
> Yes.  https://bugzilla.novell.com/show_bug.cgi?id=273154
>
> It's one of two recently added patches.  One was a patch from KMail
> upstream to try and solve the phantom dimap mail loss bug.  The other was
> an update to KDE 3.5 svn branch to pre-test the upcoming KDE 3.5.7.
>
> To debug this I am trying out all combinations of the patches.
>
> The build currently in the obss, Version 3.5.6-44.1 has both patches
> applied.
>
> The next build will have only the dimap patch but not the 3.5.7 update.
>
> I would be grateful if you could test that build.
>
> What I'm not sure about is why this is happening to you.  The dimap patch
> replaces the optimistic part of the folder sync algorithm with an explicit
> list of imap UIDs that have been deleted.  This should prevent mail loss by
> duplicating mails that would have been 'lost'.  What I don't know is
> whether you are suffering from the root cause of mail loss and now have
> duplication (I have been unable to reproduce any loss), or there is an
> unintended sideeffect when using local move filtering, or whether the patch
> is systemically broken and duplicates mail and I was just lucky or didn't
> test it enough.
>

Will,  I will gladly test it out.  I did some changes to my filters (on the 
broken version) to see if it was caused when moving between imap folders on 
the same namespace and between namespaces and I can confirm that it is broken 
for all three situations: local, same namespace and different namespace.

Additionally I inspected the mbox file and the emails have a status set on 
them of "O" and that is it.  What is wierd is that they never appear in the 
inbox withing kmail (even if you rebuild the cache and the index - and I even 
obliterated the dovecot files on the server).  

I also checked my dovecot configuration to make sure nothing the configuration 
file was correct and could find nothing wrong.  

I look forward to the new version when it is available :)

Andrew


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to