Stefano Bagnara wrote:

1) Remove the MailRepository interface and up-merge MailRepositories in SpoolRepositories. SpoolRepository is a superset of MailRepository, they share the same storage formats, there's no need to keep them both: we always can provide SpoolRepositories when people asks for MailRepositories. This is only a first step, preparing for the introduction of a MessageRepository interface (see also imap).

Maybe it would be helpful to split up the capabilities for the MessageRepository. Maybe the basic repository has only a public void store(Message m) method and doesn't care where they go. This would be enough for delivery and very easy to implement for custom needs.
The advanced one has all capabilities needed for imap.

Joachim



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

Reply via email to