[imapfilter-devel] config.lua discrepancy
Lee Jones
lee.jones at canonical.com
Wed Aug 24 11:43:50 EEST 2011
Hi,
I'm experiencing an issue where I believe the contain_to('<blar>') and
contain_field('To', '<blar>') methods are also picking up cc's. Is this
correct behavior?
I provide the following example:
xxxPatches = ( CANONICAL.INBOX:contain_field('List-Id', 'lists.infradead.org') +
CANONICAL.INBOX:contain_field('List-Id', 'vger.kernel.org') +
*
( CANONICAL.INBOX:contain_field('From', 'xxx.com') +
CANONICAL.INBOX:contain_field('To', 'xxx.com') +
CANONICAL.INBOX:contain_field('Cc', 'xxx.com') )
-
CANONICAL.INBOX:contain_to('lee.jones at canonical.com')
CANONICAL.INBOX:move_messages(CANONICAL['xxx-patches'], xxxPatches)
personal = CANONICAL.INBOX:contain_to('lee.jones at canonical.com')
CANONICAL.INBOX:move_messages(CANONICAL['personal'], personal)
Some of my mail ends up on both folders, despite my email not residing in the
'To' field.
Any help would be gratefully received.
Kind regards,
Lee
More information about the Imapfilter-devel
mailing list