Re: [gentoo-user] KMail and KDE-plasma: a tale of woe

2017-01-02 Thread Peter Humphrey
On Monday, 2 January 2017 16:30:34 GMT J. Roeleveld wrote:

> I wonder if the kmail developers actually test with locally stored email?

A year or two ago I was following a KDE bug and one of the developers made 
some remark about wishing POP would go away. I thought he was joking at the 
time, but now I'm wondering...

> I only use IMAP and am not encountering these issues.

-- 
Regards
Peter




Re: [gentoo-user] KMail and KDE-plasma: a tale of woe

2017-01-02 Thread Peter Humphrey
On Monday, 2 January 2017 13:09:25 GMT Michael Mol wrote:

> https://userbase.kde.org/KMail/
> FAQs_Hints_and_Tips#Local_Folders_is_added_over_and_over
> 
> Came across that while looking for something else. HTH.

Thanks Michael. It's not quite the same problem, but it looks interesting 
anyway.

-- 
Regards
Peter




Re: [gentoo-user] KMail and KDE-plasma: a tale of woe

2017-01-02 Thread Mick
On Monday 02 Jan 2017 16:22:34 Peter Humphrey wrote:
> On Monday, 2 January 2017 11:42:44 GMT Mick wrote:
> > On Monday 02 Jan 2017 10:51:23 Peter Humphrey wrote:
> > > Hello lists,
> > > 
> > > (I've sent this to both gentoo-user and kdepim-users as being relevant
> > > in
> > > both lists - I'm using kde-apps/kmail-16.12.0-r1 on Gentoo.)
> > > 
> > > Well, I think I can finally emerge from a long battle to get KMail
> > > working. It's been uphill all the way - except for the frequent slips
> > > backwards to start abain. (I still don't have spell checking, as you
> > > see.)
> > > 
> > > The main problem has been to recover archived e-mails, which sounds
> > > simple enough as I always keep a week of daily archives on a different
> > > partition, but it wasn't. The routine would go like this:
> > > 
> > > 1.Set up KMail the way I like it, but on an empty message set. 
> > > Save the
> > > arrangement for use next time.
> > > 2.Import the latest archive to a temporary folder.
> > > 3.Mark all the imported messages as read and move each folder into
> > > position under Local Folders. Delete the temporary folder.
> > > 4.Restore all the filters.
> > > 5.Cross fingers and fetch new mail (POP as my ISP doesn't offer 
> > > IMAP).
> > > 6.KMail goes haywire. It re-creates the temporary folder and 
> > > proceeds
> > > to
> > > fill it with duplicates of all the existing messages. All those
> > > duplicates prevent me from making a new archive until I clear them all
> > > out, painstakingly (yes, I did actually check several thousand e-mails
> > > for uniqueness).
> > > 7.Sigh. Delete the temporary folder again and have another go. 
> > > Same
> > > result. 8.Give up and start again.
> > > 
> > > Latterly, it changed slightly and sent all those duplicates to the
> > > sent-mail folder instead of creating a new folder for them. I think
> > > this coincided with me using a different archive file from the previous
> > > day.
> > > 
> > > In the end I used Ark to extract the sent-mail directory from the
> > > archive
> > > and save it as a simple directory structure under
> > > "./.Local Folders.directory", then delete what I'd extracted from the
> > > archive. Then the import went smoothly in two stages: sent-mail, and
> > > everything else.
> > > 
> > > I lost count of the times I rebooted durning the whole struggle, but it
> > > may well have reached 100. To omit a reboot was to risk the next step
> > > going wrong. That's compounded by having to start KMail twice each
> > > time, because the first time, it shows a progress bar stuck at 0% with
> > > no indication of what is supposed to be in progress. This may be
> > > connected with the segmentation faults I still see sometimes on
> > > shutdown; it's hard to be sure.
> > > 
> > > Let's hope for some stability now. I still feel as though I'm walking on
> > > eggshells.
> > 
> > Instead of rebooting it should be easier to first quit kmail and then run:
> > 
> > akonadictl stop
> > akonadictl start
> > akonadictl fsck
> > akonadictl vacuum
> > 
> > On each of the above commands you should wait for a few
> > seconds/minutes/hours, depending on the size of the database and the
> > amount being downloaded/indexed from the mail server.  Once the complete
> > collection of messages, address book, calendar, etc. have been downloaded
> > AND indexed your problems of being stuck at 0% ought to go away, or
> > hopefully reduced significantly.
> 
> I've just run that set of four commands, and guess what? I now have my first
> batch of duplicate messages. I also have a feeling that some new messages
> from this list have disappeared.
> 
> I don't trust akonadictl at the moment.
> 
> > PS. Still on stable Kmail I occasionally get a 0% indication, but with
> > patience it goes away.  This typically happens for two reasons.  First the
> > connection to gmail or other mail servers is problematic.  This
> > eventually gives an indication of connection being lost and sometimes the
> > mailbox goes offline (I am using IMAP).  Second reason is that there are
> > no new messages in the Inbox or any other folder and therefore the
> > filters are not being run and contents not being indexed.  When a new
> > message arrives the 0% progresses to 100% and completes almost
> > immediately.
> 
> Thanks, but that doesn't explain why stopping KMail and immediately
> restarting it clears the zero progress on an unknown task. Every time, too.

I occasionally get the odd duplicate message appearing in the sent mail 
folder.  However, this only lasts for a little while.  In due course, re-
indexing gets rid of duplicates.  I have not used Kmail2 with POP3 since its 
very early days and back then it would not work at all for me (losing 
messages, creating duplicates and triplicates and quadruplicates and ...)

-- 
Regards,
Mick

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


Re: [gentoo-user] KMail and KDE-plasma: a tale of woe

2017-01-02 Thread Michael Mol
On Monday, January 2, 2017 4:22:34 PM EST Peter Humphrey wrote:
> On Monday, 2 January 2017 11:42:44 GMT Mick wrote:
> > On Monday 02 Jan 2017 10:51:23 Peter Humphrey wrote:
> > > Hello lists,
> > > 
> > > (I've sent this to both gentoo-user and kdepim-users as being relevant
> > > in
> > > both lists - I'm using kde-apps/kmail-16.12.0-r1 on Gentoo.)
> > > 
> > > Well, I think I can finally emerge from a long battle to get KMail
> > > working. It's been uphill all the way - except for the frequent slips
> > > backwards to start abain. (I still don't have spell checking, as you
> > > see.)
> > > 
> > > The main problem has been to recover archived e-mails, which sounds
> > > simple enough as I always keep a week of daily archives on a different
> > > partition, but it wasn't. The routine would go like this:
> > > 
> > > 1.Set up KMail the way I like it, but on an empty message set. 
> > > Save the
> > > arrangement for use next time.
> > > 2.Import the latest archive to a temporary folder.
> > > 3.Mark all the imported messages as read and move each folder into
> > > position under Local Folders. Delete the temporary folder.
> > > 4.Restore all the filters.
> > > 5.Cross fingers and fetch new mail (POP as my ISP doesn't offer 
> > > IMAP).
> > > 6.KMail goes haywire. It re-creates the temporary folder and 
> > > proceeds
> > > to
> > > fill it with duplicates of all the existing messages. All those
> > > duplicates prevent me from making a new archive until I clear them all
> > > out, painstakingly (yes, I did actually check several thousand e-mails
> > > for uniqueness).
> > > 7.Sigh. Delete the temporary folder again and have another go. 
> > > Same
> > > result. 8.Give up and start again.
> > > 
> > > Latterly, it changed slightly and sent all those duplicates to the
> > > sent-mail folder instead of creating a new folder for them. I think
> > > this coincided with me using a different archive file from the previous
> > > day.
> > > 
> > > In the end I used Ark to extract the sent-mail directory from the
> > > archive
> > > and save it as a simple directory structure under
> > > "./.Local Folders.directory", then delete what I'd extracted from the
> > > archive. Then the import went smoothly in two stages: sent-mail, and
> > > everything else.
> > > 
> > > I lost count of the times I rebooted durning the whole struggle, but it
> > > may well have reached 100. To omit a reboot was to risk the next step
> > > going wrong. That's compounded by having to start KMail twice each
> > > time, because the first time, it shows a progress bar stuck at 0% with
> > > no indication of what is supposed to be in progress. This may be
> > > connected with the segmentation faults I still see sometimes on
> > > shutdown; it's hard to be sure.
> > > 
> > > Let's hope for some stability now. I still feel as though I'm walking on
> > > eggshells.
> > 
> > Instead of rebooting it should be easier to first quit kmail and then run:
> > 
> > akonadictl stop
> > akonadictl start
> > akonadictl fsck
> > akonadictl vacuum
> > 
> > On each of the above commands you should wait for a few
> > seconds/minutes/hours, depending on the size of the database and the
> > amount being downloaded/indexed from the mail server.  Once the complete
> > collection of messages, address book, calendar, etc. have been downloaded
> > AND indexed your problems of being stuck at 0% ought to go away, or
> > hopefully reduced significantly.
> 
> I've just run that set of four commands, and guess what? I now have my first
> batch of duplicate messages. I also have a feeling that some new messages
> from this list have disappeared.

https://userbase.kde.org/KMail/
FAQs_Hints_and_Tips#Local_Folders_is_added_over_and_over

Came across that while looking for something else. HTH.





Re: [gentoo-user] KMail and KDE-plasma: a tale of woe

2017-01-02 Thread J. Roeleveld
On January 2, 2017 5:22:34 PM GMT+01:00, Peter Humphrey  
wrote:
>On Monday, 2 January 2017 11:42:44 GMT Mick wrote:
>> On Monday 02 Jan 2017 10:51:23 Peter Humphrey wrote:
>> > Hello lists,
>> > 
>> > (I've sent this to both gentoo-user and kdepim-users as being
>relevant
>> > in
>> > both lists - I'm using kde-apps/kmail-16.12.0-r1 on Gentoo.)
>> > 
>> > Well, I think I can finally emerge from a long battle to get KMail
>> > working. It's been uphill all the way - except for the frequent
>slips
>> > backwards to start abain. (I still don't have spell checking, as
>you
>> > see.)
>> > 
>> > The main problem has been to recover archived e-mails, which sounds
>> > simple enough as I always keep a week of daily archives on a
>different
>> > partition, but it wasn't. The routine would go like this:
>> > 
>> > 1. Set up KMail the way I like it, but on an empty message set.
>Save the
>> > arrangement for use next time.
>> > 2. Import the latest archive to a temporary folder.
>> > 3. Mark all the imported messages as read and move each folder into
>> > position under Local Folders. Delete the temporary folder.
>> > 4. Restore all the filters.
>> > 5. Cross fingers and fetch new mail (POP as my ISP doesn't offer
>IMAP).
>> > 6. KMail goes haywire. It re-creates the temporary folder and
>proceeds
>> > to
>> > fill it with duplicates of all the existing messages. All those
>> > duplicates prevent me from making a new archive until I clear them
>all
>> > out, painstakingly (yes, I did actually check several thousand
>e-mails
>> > for uniqueness).
>> > 7. Sigh. Delete the temporary folder again and have another go.
>Same
>> > result. 8. Give up and start again.
>> > 
>> > Latterly, it changed slightly and sent all those duplicates to the
>> > sent-mail folder instead of creating a new folder for them. I think
>> > this coincided with me using a different archive file from the
>previous
>> > day.
>> > 
>> > In the end I used Ark to extract the sent-mail directory from the
>> > archive
>> > and save it as a simple directory structure under
>> > "./.Local Folders.directory", then delete what I'd extracted from
>the
>> > archive. Then the import went smoothly in two stages: sent-mail,
>and
>> > everything else.
>> > 
>> > I lost count of the times I rebooted durning the whole struggle,
>but it
>> > may well have reached 100. To omit a reboot was to risk the next
>step
>> > going wrong. That's compounded by having to start KMail twice each
>> > time, because the first time, it shows a progress bar stuck at 0%
>with
>> > no indication of what is supposed to be in progress. This may be
>> > connected with the segmentation faults I still see sometimes on
>> > shutdown; it's hard to be sure.
>> > 
>> > Let's hope for some stability now. I still feel as though I'm
>walking on
>> > eggshells.
>> 
>> Instead of rebooting it should be easier to first quit kmail and then
>run:
>> 
>> akonadictl stop
>> akonadictl start
>> akonadictl fsck
>> akonadictl vacuum
>> 
>> On each of the above commands you should wait for a few
>> seconds/minutes/hours, depending on the size of the database and the
>> amount being downloaded/indexed from the mail server.  Once the
>complete
>> collection of messages, address book, calendar, etc. have been
>downloaded
>> AND indexed your problems of being stuck at 0% ought to go away, or
>> hopefully reduced significantly.
>
>I've just run that set of four commands, and guess what? I now have my
>first 
>batch of duplicate messages. I also have a feeling that some new
>messages 
>from this list have disappeared.
>
>I don't trust akonadictl at the moment.
>
>> PS. Still on stable Kmail I occasionally get a 0% indication, but
>with
>> patience it goes away.  This typically happens for two reasons. 
>First the
>> connection to gmail or other mail servers is problematic.  This
>> eventually gives an indication of connection being lost and sometimes
>the
>> mailbox goes offline (I am using IMAP).  Second reason is that there
>are
>> no new messages in the Inbox or any other folder and therefore the
>> filters are not being run and contents not being indexed.  When a new
>> message arrives the 0% progresses to 100% and completes almost
>> immediately.
>
>Thanks, but that doesn't explain why stopping KMail and immediately 
>restarting it clears the zero progress on an unknown task. Every time,
>too.

I wonder if the kmail developers actually test with locally stored email?

I only use IMAP and am not encountering these issues.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] KMail and KDE-plasma: a tale of woe

2017-01-02 Thread Peter Humphrey
On Monday, 2 January 2017 11:42:44 GMT Mick wrote:
> On Monday 02 Jan 2017 10:51:23 Peter Humphrey wrote:
> > Hello lists,
> > 
> > (I've sent this to both gentoo-user and kdepim-users as being relevant
> > in
> > both lists - I'm using kde-apps/kmail-16.12.0-r1 on Gentoo.)
> > 
> > Well, I think I can finally emerge from a long battle to get KMail
> > working. It's been uphill all the way - except for the frequent slips
> > backwards to start abain. (I still don't have spell checking, as you
> > see.)
> > 
> > The main problem has been to recover archived e-mails, which sounds
> > simple enough as I always keep a week of daily archives on a different
> > partition, but it wasn't. The routine would go like this:
> > 
> > 1.  Set up KMail the way I like it, but on an empty message set. Save the
> > arrangement for use next time.
> > 2.  Import the latest archive to a temporary folder.
> > 3.  Mark all the imported messages as read and move each folder into
> > position under Local Folders. Delete the temporary folder.
> > 4.  Restore all the filters.
> > 5.  Cross fingers and fetch new mail (POP as my ISP doesn't offer IMAP).
> > 6.  KMail goes haywire. It re-creates the temporary folder and proceeds
> > to
> > fill it with duplicates of all the existing messages. All those
> > duplicates prevent me from making a new archive until I clear them all
> > out, painstakingly (yes, I did actually check several thousand e-mails
> > for uniqueness).
> > 7.  Sigh. Delete the temporary folder again and have another go. Same
> > result. 8.  Give up and start again.
> > 
> > Latterly, it changed slightly and sent all those duplicates to the
> > sent-mail folder instead of creating a new folder for them. I think
> > this coincided with me using a different archive file from the previous
> > day.
> > 
> > In the end I used Ark to extract the sent-mail directory from the
> > archive
> > and save it as a simple directory structure under
> > "./.Local Folders.directory", then delete what I'd extracted from the
> > archive. Then the import went smoothly in two stages: sent-mail, and
> > everything else.
> > 
> > I lost count of the times I rebooted durning the whole struggle, but it
> > may well have reached 100. To omit a reboot was to risk the next step
> > going wrong. That's compounded by having to start KMail twice each
> > time, because the first time, it shows a progress bar stuck at 0% with
> > no indication of what is supposed to be in progress. This may be
> > connected with the segmentation faults I still see sometimes on
> > shutdown; it's hard to be sure.
> > 
> > Let's hope for some stability now. I still feel as though I'm walking on
> > eggshells.
> 
> Instead of rebooting it should be easier to first quit kmail and then run:
> 
> akonadictl stop
> akonadictl start
> akonadictl fsck
> akonadictl vacuum
> 
> On each of the above commands you should wait for a few
> seconds/minutes/hours, depending on the size of the database and the
> amount being downloaded/indexed from the mail server.  Once the complete
> collection of messages, address book, calendar, etc. have been downloaded
> AND indexed your problems of being stuck at 0% ought to go away, or
> hopefully reduced significantly.

I've just run that set of four commands, and guess what? I now have my first 
batch of duplicate messages. I also have a feeling that some new messages 
from this list have disappeared.

I don't trust akonadictl at the moment.

> PS. Still on stable Kmail I occasionally get a 0% indication, but with
> patience it goes away.  This typically happens for two reasons.  First the
> connection to gmail or other mail servers is problematic.  This
> eventually gives an indication of connection being lost and sometimes the
> mailbox goes offline (I am using IMAP).  Second reason is that there are
> no new messages in the Inbox or any other folder and therefore the
> filters are not being run and contents not being indexed.  When a new
> message arrives the 0% progresses to 100% and completes almost
> immediately.

Thanks, but that doesn't explain why stopping KMail and immediately 
restarting it clears the zero progress on an unknown task. Every time, too.

-- 
Regards
Peter




Re: [gentoo-user] KMail and KDE-plasma: a tale of woe

2017-01-02 Thread Mick
On Monday 02 Jan 2017 10:51:23 Peter Humphrey wrote:
> Hello lists,
> 
> (I've sent this to both gentoo-user and kdepim-users as being relevant in
> both lists - I'm using kde-apps/kmail-16.12.0-r1 on Gentoo.)
> 
> Well, I think I can finally emerge from a long battle to get KMail working.
> It's been uphill all the way - except for the frequent slips backwards to
> start abain. (I still don't have spell checking, as you see.)
> 
> The main problem has been to recover archived e-mails, which sounds simple
> enough as I always keep a week of daily archives on a different partition,
> but it wasn't. The routine would go like this:
> 
> 1.Set up KMail the way I like it, but on an empty message set. Save the
> arrangement for use next time.
> 2.Import the latest archive to a temporary folder.
> 3.Mark all the imported messages as read and move each folder into 
> position
> under Local Folders. Delete the temporary folder.
> 4.Restore all the filters.
> 5.Cross fingers and fetch new mail (POP as my ISP doesn't offer IMAP).
> 6.KMail goes haywire. It re-creates the temporary folder and proceeds to
> fill it with duplicates of all the existing messages. All those duplicates
> prevent me from making a new archive until I clear them all out,
> painstakingly (yes, I did actually check several thousand e-mails for
> uniqueness).
> 7.Sigh. Delete the temporary folder again and have another go. Same 
> result.
> 8.Give up and start again.
> 
> Latterly, it changed slightly and sent all those duplicates to the sent-mail
> folder instead of creating a new folder for them. I think this coincided
> with me using a different archive file from the previous day.
> 
> In the end I used Ark to extract the sent-mail directory from the archive
> and save it as a simple directory structure under
> "./.Local Folders.directory", then delete what I'd extracted from the
> archive. Then the import went smoothly in two stages: sent-mail, and
> everything else.
> 
> I lost count of the times I rebooted durning the whole struggle, but it may
> well have reached 100. To omit a reboot was to risk the next step going
> wrong. That's compounded by having to start KMail twice each time, because
> the first time, it shows a progress bar stuck at 0% with no indication of
> what is supposed to be in progress. This may be connected with the
> segmentation faults I still see sometimes on shutdown; it's hard to be sure.
> 
> Let's hope for some stability now. I still feel as though I'm walking on
> eggshells.

Instead of rebooting it should be easier to first quit kmail and then run:

akonadictl stop
akonadictl start
akonadictl fsck
akonadictl vacuum

On each of the above commands you should wait for a few seconds/minutes/hours, 
depending on the size of the database and the amount being downloaded/indexed 
from the mail server.  Once the complete collection of messages, address book, 
calendar, etc. have been downloaded AND indexed your problems of being stuck 
at 0% ought to go away, or hopefully reduced significantly.

PS. Still on stable Kmail I occasionally get a 0% indication, but with 
patience it goes away.  This typically happens for two reasons.  First the 
connection to gmail or other mail servers is problematic.  This eventually 
gives an indication of connection being lost and sometimes the mailbox goes 
offline (I am using IMAP).  Second reason is that there are no new messages in 
the Inbox or any other folder and therefore the filters are not being run and 
contents not being indexed.  When a new message arrives the 0% progresses to 
100% and completes almost immediately.
-- 
Regards,
Mick

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