On Thu, Apr 30, 2009 at 3:36 PM, Patrick Ruhkopf <[email protected]> wrote: > Hey Robert, > > Thanks for the prompt response. > > On Thu, Apr 30, 2009 at 6:50 AM, Robert Burrell Donkin > <[email protected]> wrote: >> it would be useful to understand more about your use case >> in particular which mail process would the mailet execute? > > Sure, here's basically what I would like to achieve: Mailet that > intercepts all reads and writes of a message's body. The catch: Mailet > needs to access the user name of the current imap session. Does this > qualify for a mailet use case or am I better off with customizing the > imap project?
ok - i think i understand a little better now the easiest way to do this would be by creating a proxy Mailbox to intercept calls to the data store (rather than using a mailet). some development would be needed (bringing forward some planned work) but that shouldn't be a major issue. if you could subscribe to the server-dev list (don't worry - the traffic isn't high) and restart this thread over there, then we can discuss the details. cheers - robert
