[kmail2] [Bug 400770] Erratic Kmail filtering (startup problem?)

2019-05-15 Thread David Lochrin
https://bugs.kde.org/show_bug.cgi?id=400770

--- Comment #7 from David Lochrin  ---
(In reply to David Lochrin from comment #1)

> But sometimes two copies of the email go to the Link mailbox, one which
> seems perfectly OK and a second which has no bodypart, is permanently
> flagged as "unread", and cannot be deleted.  Other effects are
> unpredictable; I have an instance now where the same two copies also
> appeared in the scratch folder but the copy with a blank bodypart was
> successfully deleted.

This problem still occurs, and it's extremely annoying to the point where I'm
considering ditching Kmail altogether.

The obvious problem can be fixed by renaming the Kmail folder, creating a new
folder with the original name, moving all emails except the offending one(s) to
the new folder, deleting the renamed folder, and finally re-specifying the
folder in the relevant filter.

However I have no idea in what state this leaves the Kmail database.  The
problem cannot be solved by running the Kmail database utility.

Is there any plan for fixing it?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmail2] [Bug 400770] Erratic Kmail filtering (startup problem?)

2019-05-15 Thread David Lochrin
https://bugs.kde.org/show_bug.cgi?id=400770

--- Comment #6 from David Lochrin  ---
(In reply to Andy Goss from comment #4)

> Filters cannot be run manually on a folder unless the Settings > Configure
> Filters utility is opened, and one filter, it doesn't matter which, is
> selected, and OK pressed. Then filters can be run manually on a folder, and
> any subsequent incoming emails during the session will be fully filtered.
> 
> The problem does not occur on every startup, just most of them. On rare
> occasions no filters are applied.

I can confirm this.  My Kmail-client startup does not download immediately
which gives me time to open the "apply filters" menu and clock "OK".  That
reliably initialises the filters.  Clearly Kmail startup is buggy.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmail2] [Bug 400770] Erratic Kmail filtering (startup problem?)

2018-12-29 Thread David Lochrin
https://bugs.kde.org/show_bug.cgi?id=400770

--- Comment #5 from David Lochrin  ---
Please also see recent discussion which may clarify this problem at
https://forums.opensuse.org/showthread.php/534002-Kmail-A-filter-won-t-work-until-re-OK-d

DL

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmail2] [Bug 400770] Erratic Kmail filtering (startup problem?)

2018-12-28 Thread Andy Goss
https://bugs.kde.org/show_bug.cgi?id=400770

Andy Goss  changed:

   What|Removed |Added

 CC||aeg...@internode.on.net

--- Comment #4 from Andy Goss  ---
I have a similar problem with filters.

Some filters are not applied on incoming emails. Those that are applied are the
ones that redirect emails from their initial inbox (I have several email
addresses) to the local inbox or to other folders, based on the To, From, and
Subject fields. Other filters are not applied, even though the first group are
set to not stop checking if met.

Filters cannot be run manually on a folder unless the Settings > Configure
Filters utility is opened, and one filter, it doesn't matter which, is
selected, and OK pressed. Then filters can be run manually on a folder, and any
subsequent incoming emails during the session will be fully filtered.

The problem does not occur on every startup, just most of them. On rare
occasions no filters are applied.

In addition, the initial download on startup does not always happen

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmail2] [Bug 400770] Erratic Kmail filtering (startup problem?)

2018-11-16 Thread David Lochrin
https://bugs.kde.org/show_bug.cgi?id=400770

--- Comment #3 from David Lochrin  ---
I think this problem may also be related to Bug 283682 "KMail duplicates
filtered messages" - see https://bugs.kde.org/show_bug.cgi?id=283682

I've confirmed that using successive filters to simply copy each incoming
message to different folders does not cause a problem.

The discussion in the OpenSuSE Forum mentioned above seems to support the idea
that erratic functioning (or non-functioning) of filtering is associated with
Kmail startup.  I'm now starting Kmail manually after the system is fully
booted, then waiting until Kmail is running before entering the Kwallet
password, and I'll see if the problem recurs.  I've also disabled
download-pipelining.

DL

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmail2] [Bug 400770] Erratic Kmail filtering (startup problem?)

2018-11-14 Thread David Lochrin
https://bugs.kde.org/show_bug.cgi?id=400770

--- Comment #2 from David Lochrin  ---
Please also refer to the discussion in the OpenSuSE Forum at
https://forums.opensuse.org/showthread.php/533871-Kmail-filters-and-duplicated-emails?p=2886392#post2886392

There seems a possibility these problems may be associated with Plasma.

DL

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmail2] [Bug 400770] Erratic Kmail filtering (startup problem?)

2018-11-09 Thread David Lochrin
https://bugs.kde.org/show_bug.cgi?id=400770

--- Comment #1 from David Lochrin  ---
I'd like to add another observation which may be relevant.

I created a filter for testing purposes, the first to be executed, which simply
copies each incoming email into a scratch folder and continues to the next
filter.  A subsequent filter ("Link") tests the Return-Path header then, if
true, moves the email to another folder and exits.

But sometimes two copies of the email go to the Link mailbox, one which seems
perfectly OK and a second which has no bodypart, is permanently flagged as
"unread", and cannot be deleted.  Other effects are unpredictable; I have an
instance now where the same two copies also appeared in the scratch folder but
the copy with a blank bodypart was successfully deleted.

I've just disabled the first filter (which creates a copy) and I'll see if the
problem returns.

Does this sound like some sort of race condition?  I should say that one filter
(there are now only three active) pipes the bodypart of flowed-format emails
through the following bash script in order to remove the flowed-format line
wraps, and I think / assume piped procedures are executed synchronously:
   sed ':L1; /\x20$/{N; s/\x20\x0D/\x20/g; s/\x20\x0A/\x20/g; bL1}'
   exit 0

DL

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmail2] [Bug 400770] Erratic Kmail filtering (startup problem?)

2018-11-06 Thread David Lochrin
https://bugs.kde.org/show_bug.cgi?id=400770

David Lochrin  changed:

   What|Removed |Added

 CC||dloch...@key.net.au

-- 
You are receiving this mail because:
You are watching all bug changes.