| java.lang.Object org.apache.mailet.GenericMailet org.apache.james.transport.mailets.UsersRepositoryAliasingForwarding
UsersRepositoryAliasingForwarding | public class UsersRepositoryAliasingForwarding extends GenericMailet (Code) | | Receives a Mail from JamesSpoolManager and takes care of delivery of the
message to local inboxes.
Available configurations are:
true: specify wether the user aliases should
be looked up or not. Default is false.
true: enable the forwarding. Default to
false.
LocalAdmins: specific users repository
name. Default to empty. If empty does lookup the default userRepository.
|
Method Summary | |
public String | getMailetInfo() Return a string describing this mailet. | public void | init() | public String | processMail(MailAddress sender, MailAddress recipient, MimeMessage message) Return null when the mail should be GHOSTed, the username string when it
should be changed due to the ignoreUser configuration. | public void | service(Mail mail) Delivers a mail to a local mailbox. |
getMailetInfo | public String getMailetInfo()(Code) | | Return a string describing this mailet.
a string describing this mailet |
processMail | public String processMail(MailAddress sender, MailAddress recipient, MimeMessage message) throws MessagingException(Code) | | Return null when the mail should be GHOSTed, the username string when it
should be changed due to the ignoreUser configuration.
Parameters: sender - Parameters: recipient - Parameters: message - throws: MessagingException - |
service | public void service(Mail mail) throws MessagingException(Code) | | Delivers a mail to a local mailbox.
Parameters: mail - the mail being processed throws: MessagingException - if an error occurs while storing the mail |
|
|