[ https://issues.apache.org/jira/browse/JAMES-3658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benoit Tellier closed JAMES-3658. --------------------------------- Resolution: Fixed > Interface for LocalResources and MailboxAppender > ------------------------------------------------ > > Key: JAMES-3658 > URL: https://issues.apache.org/jira/browse/JAMES-3658 > Project: James Server > Issue Type: Improvement > Components: Mailet Contributions > Affects Versions: 3.7.0 > Reporter: Benoit Tellier > Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > See https://www.mail-archive.com/server-dev@james.apache.org/msg71116.html > h4. 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. > h4. 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. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org