[imapfilter-devel] MBOX_FILTERS_MAX too small

Lefteris Chatzibarbas lefcha at hellug.gr
Thu Apr 22 10:22:08 EEST 2004


On Thu, Apr 22, 2004 at 02:05:54PM +1000, Stephen Welker wrote:
> Currently MBOX_FILTERS_MAX is defined to be 64 - imapfilter v 0.9.6
> 
> It is defined in...
> 
>  account.h
>  filter.h
> 
> Interestingly "filter.h" includes "account.h"
> 
> So back to my problem...
> 
> I have a ".imapfilterrc" file that has 70+ filters for a given mailbox.
> 
> Goes to show how useful this program is!
> 
> For some time I was confused as to the reason why some low frequency 
> messages were not being filtered, then I considered a resource limit 
> along the lines of the KEY length as mentioned some time ago on the list 
> (yes I had a problem with naming my filters with long "meaningful" names).
> 
> This problem was highlighted by the use of "imapfilter -v".
> 
> Could MBOX_FILTERS_MAX be increased or made dynamic?
> 
> In the interim could a diagnostic be generated if the number of filters 
> exceeds the inbuilt maximum?
> 
> In the short term I have increased this number myself to 128 and fixed 
> the problem I have been experiencing.

Don't worry, I am about to release 1.0-beta, that doesn't have any hard limits
whatsoever (everything dynamic).  I am currently finishing the documentation
and I will release it in a couple of days.




More information about the Imapfilter-devel mailing list