@Deprecated public class UsersRepositoryAliasingForwarding extends AbstractRecipientRewriteTableMailet
<enableAliases>true</enableAliases>
: specify wether
the user aliases should be looked up or not. Default is false.
<enableForwarding>true</enableForwarding>
: enable
the forwarding. Default to false.Constructor and Description |
---|
UsersRepositoryAliasingForwarding()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getMailetInfo()
Deprecated.
Return a string describing this mailet.
|
Collection<org.apache.mailet.MailAddress> |
processMail(org.apache.mailet.MailAddress sender,
org.apache.mailet.MailAddress recipient,
javax.mail.internet.MimeMessage message)
Deprecated.
Return null when the mail should be GHOSTed, the username string when it
should be changed due to the ignoreUser configuration.
|
void |
setUsersRepository(UsersRepository usersRepository)
Deprecated.
|
handleMappings, service, setDomainList
public UsersRepositoryAliasingForwarding()
public String getMailetInfo()
getMailetInfo
in interface org.apache.mailet.Mailet
getMailetInfo
in class org.apache.mailet.base.GenericMailet
public void setUsersRepository(UsersRepository usersRepository)
public Collection<org.apache.mailet.MailAddress> processMail(org.apache.mailet.MailAddress sender, org.apache.mailet.MailAddress recipient, javax.mail.internet.MimeMessage message) throws javax.mail.MessagingException
processMail
in class AbstractRecipientRewriteTableMailet
sender
- recipient
- message
- javax.mail.MessagingException
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.