[imapfilter-devel] Would like longer/dynamic KEY_LEN or better diagnostic

Lefteris Chatzibarbas lefcha at hellug.gr
Mon Nov 17 23:12:38 EET 2003


On Fri, Nov 14, 2003 at 03:15:47PM +0100, Per Westerlund wrote:
> [...]
> 
> I added more printouts, and found that the problem is that KEY_LEN is
> shorter that the length of my identifier. (This is in a
> machine-generated script, that move mailbox content based on age).
> 
> 
> Request:
> 
> 1) Better warning or error when KEY_LEN is to short. The "error" in the
> config file can be difficult to catch, and it is even possible that the
> wrong actions are performed!

Yes, adding more verbose error messages and warnings, for example when
parsing the configuration file, is something I have planned to look
into.

> 2) Perhaps increase or make dynamic the key length, for those of us that
> usr machine-generated scripts (I can increase KEY_LEN myself, but it is
> better if it is in the general distribution).

I believe, that making dynamic just this or all the strings, will
complicate things unnecessarily.

I will increase the KEY_LEN for now...




More information about the Imapfilter-devel mailing list