[imapfilter-devel] Problems With First Rule

Lefteris Chatzimparmpas lefcha at hellug.gr
Thu Jul 19 01:07:43 EEST 2007


Tom Purl wrote:
> [...]
> 
>     result = account1.INBOX:contain_from('tom at tompurl.com')
>     account1.INBOX:move_messages(account1['@Action'], result)
> 
> [...]
> 
>     C (3): 1006 UID SEARCH FROM "tom at tompurl.com"
>     S (3): 1006 OK SEARCH done.
>     C (3): 1007 LOGOUT
>     S (3): 1007 OK LOGOUT completed
> 
> [...]

Hello Tom,

It looks like the search didn't find any messages, and that's why no
messages are moved... To be sure of that, you can run imapfilter with
the -d option, and look for the debug file in ~/.imapfilter/debug.*
You can check there the results from the SEARCH FROM query sent to the
server, or sent the debug file here.

But since someone else had some similar problem, and didn't respond to
my proposed solutions, maybe you could try replacing the mailbox.lua
file with the one I'm attaching, and tell us if that helped.  If you are
using imapfilter prepackaged as part of some distribution, the file will
probably go in /usr/share/imapfilter/

Thanks,
Lefteris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mailbox.lua.gz
Type: application/x-gzip
Size: 2991 bytes
Desc: not available
URL: <http://lists.hellug.gr/pipermail/imapfilter-devel/attachments/20070719/d171e591/attachment.bin>


More information about the Imapfilter-devel mailing list