| |
|
| java.lang.Object org.apache.mailet.GenericMailet org.apache.james.transport.mailets.PostmasterAlias
PostmasterAlias | public class PostmasterAlias extends GenericMailet (Code) | | Rewrites recipient addresses to make sure email for the postmaster is
always handled. This mailet is silently inserted at the top of the root
spool processor. All recipients mapped to postmaster@ are
changed to the postmaster account as specified in the server conf.
|
Method Summary | |
public String | getMailetInfo() Return a string describing this mailet. | public void | service(Mail mail) Make sure that a message that is addressed to a postmaster alias is always
sent to the postmaster address, regardless of delivery to other recipients. |
getMailetInfo | public String getMailetInfo()(Code) | | Return a string describing this mailet.
a string describing this mailet |
service | public void service(Mail mail) throws MessagingException(Code) | | Make sure that a message that is addressed to a postmaster alias is always
sent to the postmaster address, regardless of delivery to other recipients.
Parameters: mail - the mail to process throws: MessagingException - if an error is encountered while modifying the message |
|
|
|