Re: [gentoo-user] KMail-2 duplicates

2015-07-08 Thread Peter Humphrey
On Monday 06 July 2015 19:16:59 Mick wrote:

 Peter, I'm going from memory here, but I recovered from a kmail2 problem by
 clearing the akonadi cache and thereby forcing a reindexing.  I recall
 opening the akonadi console from the tool tray and this offered me a GUI,
 which listed the various KDEPIM resources.  I right clicked on the
 corrupted folder and selected to clear the cache; in my case it would not
 list any messages and was hanging when trying to sync with the mail server.
  This fixed it.
 
 Are you looking at the same place?

I finally found it. The Browser tab shows a list of collections in the top 
left pane. Right-clicking on an e-mail folder there offers Clear akonadi 
cache. I did that, waited a few seconds for disk activity to stop and then 
took the Synchronise option. That took a long time - I don't know how long as 
I had to go out and leave it to itself.

Repeating the procedure for each of my dodgy folders appears to have tidied up 
the worst of the mess, though I still get duplicates. At least now they aren't 
phantoms.

Thanks for your perseverance, Mick.

-- 
Rgds
Peter




Re: [gentoo-user] KMail-2 duplicates

2015-07-08 Thread Peter Humphrey
On Wednesday 08 July 2015 22:03:16 Mick wrote:

 I would thing that this is a relatively straight forward transaction to
 troubleshoot, but devs may not be using POP3 on Kmail2, or if the glacial
 progress of KDEPIM is anything to go by, then I seriously suspect they are
 NOT really using ... Kmail2!  :-p

You may have something there. I forget the detail now but one of their devs 
remarked that it was a pity that POP3 still existed. I thought he was joking 
at the time, but maybe he wasn't.

I have only POP3 accounts: my ISP doesn't offer IMAP, and I don't propose to 
change ISPs on that account.

-- 
Rgds
Peter




Re: [gentoo-user] KMail-2 duplicates

2015-07-08 Thread Mick
On Wednesday 08 Jul 2015 08:56:46 Peter Humphrey wrote:
 On Monday 06 July 2015 19:16:59 Mick wrote:
  Peter, I'm going from memory here, but I recovered from a kmail2 problem
  by clearing the akonadi cache and thereby forcing a reindexing.  I
  recall opening the akonadi console from the tool tray and this offered
  me a GUI, which listed the various KDEPIM resources.  I right clicked on
  the corrupted folder and selected to clear the cache; in my case it
  would not list any messages and was hanging when trying to sync with the
  mail server.
  
   This fixed it.
  
  Are you looking at the same place?
 
 I finally found it. The Browser tab shows a list of collections in the
 top left pane. Right-clicking on an e-mail folder there offers Clear
 akonadi cache. I did that, waited a few seconds for disk activity to stop
 and then took the Synchronise option. That took a long time - I don't know
 how long as I had to go out and leave it to itself.
 
 Repeating the procedure for each of my dodgy folders appears to have tidied
 up the worst of the mess, though I still get duplicates. At least now they
 aren't phantoms.
 
 Thanks for your perseverance, Mick.

You are welcome, but I am saddened to read that the problem (duplicate emails 
when using POP3) is *still* not resolved.  I don't know what is causing it, 
but suspect that it is something to do with the UIDL command causing some hash 
malfunction on the Kmail2 POP3 client. I am guessing (wildly and with no 
evidence) that akonadi's (re)indexing is not managing the message ID reliably, 
potentially barfing on the message hash, recreating a duplicate.  Either way, 
applications like this give MSOutlook with its reliably self-corrupting .pst 
files a good name.

I would thing that this is a relatively straight forward transaction to 
troubleshoot, but devs may not be using POP3 on Kmail2, or if the glacial 
progress of KDEPIM is anything to go by, then I seriously suspect they are NOT 
really using ... Kmail2!  :-p

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] KMail-2 duplicates

2015-07-08 Thread Alan McKinnon
On 08/07/2015 23:57, Peter Humphrey wrote:
 On Wednesday 08 July 2015 22:03:16 Mick wrote:
 
 I would thing that this is a relatively straight forward transaction to
 troubleshoot, but devs may not be using POP3 on Kmail2, or if the glacial
 progress of KDEPIM is anything to go by, then I seriously suspect they are
 NOT really using ... Kmail2!  :-p
 
 You may have something there. I forget the detail now but one of their devs 
 remarked that it was a pity that POP3 still existed. I thought he was joking 
 at the time, but maybe he wasn't.
 
 I have only POP3 accounts: my ISP doesn't offer IMAP, and I don't propose to 
 change ISPs on that account.
 


kmail-1 was awesome.
kmail-2 is a complete joke.

The best recommendation I can give you is to salvage what you can from
your mailboxes and switch to something that works. Thunderbird, claws,
mutt all work fine and one of those surely fits your needs?

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] KMail-2 duplicates

2015-07-08 Thread Peter Humphrey
On Thursday 09 July 2015 01:04:13 Alan McKinnon wrote:

 kmail-1 was awesome.
 kmail-2 is a complete joke.
 
 The best recommendation I can give you is to salvage what you can from
 your mailboxes and switch to something that works. Thunderbird, claws,
 mutt all work fine and one of those surely fits your needs?

I did survey the available clients but didn't find anything to compare with 
what KMail ought to be.

Seriously though, after following Mick's advice, I have what seems to be a 
stable e-mail system now, even if it does throw up the occasional duplicate. I 
can live with that if it doesn't regress further.

-- 
Rgds
Peter




Re: [gentoo-user] KMail-2 duplicates

2015-07-06 Thread Mick
On 06-07-2015 ,09:33:58, Peter Humphrey wrote:
 Hello list,
 
 Isn't anyone else suffering duplication of e-mails in KMail-2? This list is 
 silent on the subject, and the bug I opened in April still hasn't even been 
 confirmed, never mind acted on.

I had duplicated emails in my first attempt (c. 2011) to move to Kmail2.
This was on a POP3 account.  When I deleted the duplicates, more would be
created.  I did not have the full semantic KDEPIM enchilada enabled and
I was running sqlite3, which the KDE devs advised against (unable to
manage multithreaded operations that mysql/postgresql could do with
ease).  At the time I blamed sqlite as the cause of this, but I may have
been wrong if you are also observing the same.

More recently (c. 2013/4) I tried again to setup Kmail2, but using IMAP4
and mysql.  Small IMAP4 accounts with a couple of thousand messages work
fine.  Large IMAP4 accounts with 120k messages or more, work like a pig,
unless you have FTTP and some octa-core beast to run your desktop on.


 https://bugs.kde.org/show_bug.cgi?id=346695
 
 It looks as though the underlying database design is incomplete, or just 
 broken, to judge by ~/.local/share/akonadi/db_data/mysql.err . I raised bug 
 348491 about that - also unconfirmed so far. I suppose the KDE devs are 
 overwhelmed.

HEALTH WARNING: This can potentially delete ALL your messages, with the
same ease that it creates duplicates.  So, ensure that you have some
back up system, to safeguard loss of your email data.

If you open the akonadi console you should be able to clear the akonadi
cache.  This ought to follow with a re-indexing of your messages by
akonadi, hopefully without creating a duplicate of each message in your
Inbox folder.

-- 
Regards,
Mick



[gentoo-user] KMail-2 duplicates

2015-07-06 Thread Peter Humphrey
Hello list,

Isn't anyone else suffering duplication of e-mails in KMail-2? This list is 
silent on the subject, and the bug I opened in April still hasn't even been 
confirmed, never mind acted on.

https://bugs.kde.org/show_bug.cgi?id=346695

It looks as though the underlying database design is incomplete, or just 
broken, to judge by ~/.local/share/akonadi/db_data/mysql.err . I raised bug 
348491 about that - also unconfirmed so far. I suppose the KDE devs are 
overwhelmed.

-- 
Rgds
Peter




Re: [gentoo-user] KMail-2 duplicates

2015-07-06 Thread Mick
On Monday 06 Jul 2015 16:44:39 Peter Humphrey wrote:
 On Monday 06 July 2015 11:01:08 Mick wrote:
  If you open the akonadi console you should be able to clear the akonadi
  cache.  This ought to follow with a re-indexing of your messages by
  akonadi, hopefully without creating a duplicate of each message in your
  Inbox folder.
 
 The only reference I can find to the cache in akonadi console v 0.99 is a
 Cache only retrieval tick box. I've set off a Synchronise All and I'll
 see if it does anything useful. Doesn't look like it.

Peter, I'm going from memory here, but I recovered from a kmail2 problem by 
clearing the akonadi cache and thereby forcing a reindexing.  I recall opening 
the akonadi console from the tool tray and this offered me a GUI, which listed 
the various KDEPIM resources.  I right clicked on the corrupted folder and 
selected to clear the cache; in my case it would not list any messages and was 
hanging when trying to sync with the mail server.  This fixed it.

Are you looking at the same place?
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] KMail-2 duplicates

2015-07-06 Thread Paul Colquhoun
On Mon, 6 Jul 2015 09:33:58 Peter Humphrey wrote:
 Hello list,
 
 Isn't anyone else suffering duplication of e-mails in KMail-2? This list 
is
 silent on the subject, and the bug I opened in April still hasn't even 
been
 confirmed, never mind acted on.
 
 https://bugs.kde.org/show_bug.cgi?id=346695
 
 It looks as though the underlying database design is incomplete, or 
just
 broken, to judge by ~/.local/share/akonadi/db_data/mysql.err . I raised 
bug
 348491 about that - also unconfirmed so far. I suppose the KDE devs 
are
 overwhelmed.


Yes, I get duplicate message as well. I've been getting them for all 
versions of Kmail-2, as far as I remember.

Currently using version 4.14.8 and the frequency of duplicates has 
dropped, but they still happen.

Also, Kmail-2 doesn't seem to move message files correctly in maildir 
folders. Quite a few get left in the 'new' directory instead of being moved 
to 'cur'. I havn't checked to see it these correleate with duplicated 
messages at all.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro



Re: [gentoo-user] KMail-2 duplicates

2015-07-06 Thread Peter Humphrey
On Monday 06 July 2015 11:01:08 Mick wrote:

 If you open the akonadi console you should be able to clear the akonadi
 cache.  This ought to follow with a re-indexing of your messages by
 akonadi, hopefully without creating a duplicate of each message in your
 Inbox folder.

The only reference I can find to the cache in akonadi console v 0.99 is a 
Cache only retrieval tick box. I've set off a Synchronise All and I'll see if 
it does anything useful. Doesn't look like it.

I'm beginning to suspect a problem with mime types, but I'm largely ignorant 
in that area so I'd prefer it to be somewhere else :-)

-- 
Rgds
Peter