Robert Burrell Donkin ha scritto:
On Sat, Feb 2, 2008 at 5:51 PM, Stefano Bagnara <[EMAIL PROTECTED]> wrote:
 Then we have mailets depending on avalon configuration, on james
UsersRepositories and MailRepositories and more.

yes

but as a first step, it would be good to move them out of spoolmanager
and into separete modules. in particular, sieve belongs with
IMAP/mailbox and listmanager would be better as an independent
endeavor.

opinions?

ATM I would leave everything depending on Mail/Spool/Users Repositories where it is. IMO JAMES needs refactoring there, so moving that code around would simply make it more difficult to having it fixed later.

We often discussed about introducing repositories in Mailet APIs, we also more often discussed that James needs better/different interfaces for Mail/Spool repositories. We also discussed that usersRepository are currently sharing "authentication", "user-properties" and "user-preferences" roles and we don't like this too much. Let's not write this interfaces in stone by having them to be the glue between multiple modules/libraries.

As usual this is a -0 and not a -1.

I am +0.5 for splitting the org.apache.james.transport package content from its mailet/matchers subpackages. They are not dependent on each other so they should not be nested as package (but fixing this would require breaking backward compatibility) and may belong to 2 different james-server modules. Maybe moving matcher/mailets packages to a "mailets-function" while leaving transport in "spoolmanager-function" would be fine ATM.

Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to