[imapfilter-devel] Having some issues with filtering

Lee Jones lee.jones at linaro.org
Tue Mar 19 09:29:45 EET 2013


Hi,

I've posted here before with a different address about a year ago, but
I am still not in receipt of a reply. I guess I've waited long enough
for a poke. :)

I have the following filter:

lPadBugsOthers = LINARO.INBOX:contain_field('Subject', '[Bug') +
LINARO.INBOX:contain_subject('[Bug') +
LINARO.INBOX:contain_field('Reply-To', 'bugs.launchpad.net')
LINARO.INBOX:move_messages(LINARO['LP-bugs-others'], lPadBugsOthers)

Then I have:

personal = LINARO.INBOX:match_to('<myaddr>') +
LINARO.INBOX:contain_field('To', '<myaddr>')
LINARO.INBOX:move_messages(LINARO['Personal'], personal)

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?

This is becoming really annoying. Can anyone help me please?

Kind regards,
Lee

-- 
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog


More information about the Imapfilter-devel mailing list