<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi<br>i'm trying to use imapfilter as a daemon to move periodically my messages in subfolders.<br>so, i'm using the become_daemon function<br>but, even if the daemon is running and the filters applied (i see periodic success in file debug), messages are only moved the first time the filters are applied, new incoming messages are not moved.<br><br>i'm using IMAPFilter 2.0.3 on mandriva, and my configuration looks like this (with real parameters) :<br><br>---------------config.lua--------------<br><br>options.timeout = 120<br>options.subscribe = true<br>options.info = true<br><br>account1 = IMAP {<br> server = 'myserver',<br> username = 'myusername',<br>-- password = '',<br> ssl = 'ssl3',<br>}<br><br>mailboxes, folders =
account1:list_all()<br>mailboxes, folders = account1:list_subscribed()<br><br>function mesfiltres()<br>result = account1.INBOX:contain_subject('mysubject')<br>account1.INBOX:move_messages(account1['mysubfolder'], result)<br>end<br><br>become_daemon(60, mesfiltres)<br>------------------------------------------<br><br>and in my file debug, there is many lines of successful search, but no move :<br>sending command (5):<br>1011 UID SEARCH ALL SUBJECT "mysubject"<br><br><br>if someone can help me, i would appreciate :-)<br><br>Guillaume<br>
</div></div><br>
<hr size="1">
Ne gardez plus qu'une seule adresse mail ! <a href="http://www.trueswitch.com/yahoo-fr/">Copiez vos mails</a> vers Yahoo! Mail </body></html>