On Sun, Dec 05, 2004 at 09:21:03PM +0000, Roger Sistla wrote: > BINC can determine if a particular maildir is 'special' by looking > for a dot file . For example, in my maildir folder of > 'LEARN_SPAM": > > LEARN_SPAM > .dspam > cur > new > tmp > > Now when a msg is copied/moved into this maildir, BINC will see the > dot file ".dspam" and process the commands.
[..] > (2) the dot file can be zero length but will have a corresonding > section in the binc config file which contains the commands for > binc to process. I'd rather skip the dot file and make hooks for folder names. I.e. have a section called LEARN_SPAM in Binc config instead. Or, since we shouldn't think in terms of config file sections anymore, some environment variables called.. Hm. This whole thing doesn't fit into the environment very well, mostly due to the environment's 1:1 nature, instead of 1:many. > I dont really think BINC needs to be changed radically to do this, > however, I'm not a C++ expert. > > What do you think ? I think Binc is well designed enough for this feature (I call it hooks) to be quite straight-forward to add almost regardless to how it will actually work, the question is if it should be included at all, and if so how it will work. :) //Peter
