[Q]



	Hi all,
I'm implementing automatic filtering of incoming messages (ie bug fix the 
existing code to filter POP3 mailboxes and implement it also for local 
mailboxes, imap is not included for now, I'm too ignorant on this protocol 
for now). I face two problems : the first one is directly related to my 
ignorance ;-) Filters move/copy message around using 
libbalsa_move_messages/libbalsa_copy_messages and I'm not sure that the 
balsa index of concerned mailboxes (source or destination) are correctly 
updated. What it the correct way to do that?
The other one is trickier : all works great (but the deleted messages 
problem but that's another story) but when the check is made on startup 
this fails. Moreover I saw messages related to mailbox notify problem, so 
I think the problem is related to the notification of mailboxes. I don't 
know anything in that area, but I presume that the check of the source 
mailbox is done before the destination mailbox (ie the mailbox where one 
of the filters wants to move one the incoming messages into) is notified. 
Would it be possible to make a 2 steps init : first notify all mailboxes, 
then check them? That is necessary for filters to be able to run on 
startup.
Thanks
Bye
Manu



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]