Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.7.0
-
None
-
None
Description
See https://www.mail-archive.com/server-dev@james.apache.org/msg71116.html
Put an interface in front of LocalResources
We need functional mailboxes email addresses to be considered as "local
addresses" by the mailet processing.
LocalResources | is the class called by the mailets / matchers to have a notin of "Is this local". |
Thus to address the above points, we need to overload it in order to add
to it the notion of "functional mailboxes" in our code base.
Rename |LocalResources| into |LocalResourcesImpl| and put it behind an
interface. This would empower overloading.
Have an interface for MailboxAppender in james-server-mailets
We would like to be able to decorate "LocalDelivery" mailet in order to
add to it the notion of functional mailboxes.
MailboxAppender | is the class actually putting the message in ones mailbox. |
However, today, the MailboxAppender is a concrete class. Hard to overload...
We would put MailboxAppender behind an interface and have a
MailboxAppenderImpl. |
Attachments
Issue Links
- links to