Discussion:
[imapfilter-devel] Imapfilter-devel Digest, Vol 78, Issue 1
Paul
2013-03-19 10:11:03 UTC
Permalink
From: Lee Jones <lee.jones at linaro.org>
Now, the first filter _does_ catch lots of mail, but lots are also
slipping though the gaps into 'personal'. Some mail finds its way into
_both_ folders. Also, if I place all mail which slipped though back
into INBOX and run imapfilter again, sometimes it finds it way into
the _correct_ folder - it makes no sense to me?
Does it work if you only run the first filter - does it then catch
everything and put it in the right place?

I wonder if the moves are happening asynchronously, and so the second
filter is picking up some of the emails that are in the process of being
moved from the first filter.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hellug.gr/pipermail/imapfilter-devel/attachments/20130319/c070a3f1/attachment.html>
Lee Jones
2013-03-19 11:59:37 UTC
Permalink
Post by Paul
From: Lee Jones <lee.jones at linaro.org>
Now, the first filter _does_ catch lots of mail, but lots are also
slipping though the gaps into 'personal'. Some mail finds its way into
_both_ folders. Also, if I place all mail which slipped though back
into INBOX and run imapfilter again, sometimes it finds it way into
the _correct_ folder - it makes no sense to me?
Does it work if you only run the first filter - does it then catch
everything and put it in the right place?
I wonder if the moves are happening asynchronously, and so the second
filter is picking up some of the emails that are in the process of being
moved from the first filter.
I was wondering something similar.

Is Imapfilter single or multi-threaded?

It would be a disaster if the filters were run out-of-order.
--
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
Paul
2013-03-19 12:22:58 UTC
Permalink
Post by Lee Jones
Post by Paul
Does it work if you only run the first filter - does it then catch
everything and put it in the right place?
I wonder if the moves are happening asynchronously, and so the second
filter is picking up some of the emails that are in the process of being
moved from the first filter.
I was wondering something similar.
Is Imapfilter single or multi-threaded?
It would be a disaster if the filters were run out-of-order.
Well I was wondering if it was the IMAP server itself returning an "OK"
before it had completed the move. As far as I know, imapfilter is
single threaded.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hellug.gr/pipermail/imapfilter-devel/attachments/20130319/f912d79e/attachment.html>
Lee Jones
2013-03-19 12:46:42 UTC
Permalink
Post by Paul
Post by Lee Jones
Post by Paul
Does it work if you only run the first filter - does it then catch
everything and put it in the right place?
I wonder if the moves are happening asynchronously, and so the second
filter is picking up some of the emails that are in the process of being
moved from the first filter.
I was wondering something similar.
Is Imapfilter single or multi-threaded?
It would be a disaster if the filters were run out-of-order.
Well I was wondering if it was the IMAP server itself returning an "OK"
before it had completed the move. As far as I know, imapfilter is
single threaded.
I'm not entirely sure of the inner workings of the IMAP server, but
this is the second server that it happens with. I'm unsure what the
first IMAP server was, but the second is Gmail based.
--
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
Bill Kearney
2013-03-19 13:24:36 UTC
Permalink
Post by Lee Jones
but the second is Gmail based.
I seem to recall having trouble with gmail filtering. Make sure you're
using the right folder. There are some pseudo-folder aspects of gmail that
gave me trouble from scripts using imap. Their notion of 'labels' and
whether they're shown in IMAP being a part of the trouble. Make sure you've
got your labels set up the way you expect and control how they're shown in
an IMAP connection.

I can't say whether this specifically affects your situation, but when you
mentioned gmail and filtering it rang a bell...

-Bill Kearney

Loading...