@Deprecated public abstract class AbstractRecipientRewriteTable extends org.apache.mailet.base.GenericMailet
mapRecipients
method to map
virtual recipients to real recipients.Constructor and Description |
---|
AbstractRecipientRewriteTable()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
mapRecipients(Map<org.apache.mailet.MailAddress,String> recipientsMap)
Deprecated.
Override to map virtual recipients to real recipients, both local and
non-local.
|
void |
service(org.apache.mailet.Mail mail)
Deprecated.
Checks the recipient list of the email for user mappings.
|
void |
setDNSService(DNSService dns)
Deprecated.
|
void |
setDomainList(DomainList domainList)
Deprecated.
|
public void setDNSService(DNSService dns)
public void setDomainList(DomainList domainList)
public void service(org.apache.mailet.Mail mail) throws javax.mail.MessagingException
service
in interface org.apache.mailet.Mailet
service
in class org.apache.mailet.base.GenericMailet
mail
- the mail to processjavax.mail.MessagingException
protected abstract void mapRecipients(Map<org.apache.mailet.MailAddress,String> recipientsMap) throws javax.mail.MessagingException
MailAddress
object.
Translate virtual recipients to real recipients by mapping a string
containing the address of the real recipient as a value to a key. Leave
the value null
if no mapping should be performed. Multiple recipients may be specified by delineating
the mapped string with commas, semi-colons or colons.
recipientsMap
- the mapping of virtual to real recipients, as
MailAddress
es to String
s.javax.mail.MessagingException
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.