OK, here is the code I knocked up yesterday which implements the "scripts use the same namespace as folders" concept. i.e. allows a script to be set on a per folder basis, rather then a per user basis.
Note that there is a bit of functionality missing from what I described yesterday - esp. in timesieved where there is 1) no checking that the folder actually exists 2) no checking of access rights to the folder. [This is basically only one function call +some calls to set up the "mbox" gobal data structures. Anway, it compiles and demonstrates the concept... Of course, it is rought, ready, untested and probably breaks easily - so I would recommend even compiling it - let alone running it ;-). I've got the functionality I need at the moment - so I don't have a pressing need to do any more development at the moment. However, if people are interested in this approach - or some modification of it (basically something which delivers filtering on public folders) I would far rather use the common code base rather than my own private patch, so would be willing to go a bit further... So... here it is (lots of cvs diff -u )... [hang on! is it OK to send a 21.5K patch to the list......... or is there some other address/place they I should send it to! - Let me know, and I'll follow up with the patch to whereever is appropriate]. Regards, Ian.