* @throws MessagingException if an error is encountered while modifying the message
*/
public void service(Mail mail) throws MessagingException {
Collection recipients = mail.getRecipients();
Collection recipientsToRemove = null;
MailetContext mailetContext = getMailetContext();
boolean postmasterAddressed = false;
for (Iterator i = recipients.iterator(); i.hasNext(); ) {
MailAddress addr = (MailAddress)i.next();
if (addr.getUser().equalsIgnoreCase("postmaster") &&
mailetContext.isLocalServer(addr.getHost())) {
//Should remove this address... we want to replace it with
// the server's postmaster address
if (recipientsToRemove == null) {
recipientsToRemove = new Vector();
}