Thanks for the suggestion Noel.  I've spent all of today trying to get it to 
work, including several different scenarios (i.e manually changing MIMEMessage 
recipients, etc) and everything has failed.  The original email is intact with 
the original recipient list.  What I'm trying to do is the following:

1.  Email Arrives with To: field addressed to joe at jamesserver.domain.com

2.  Funnel that email into a custom mailet using the HasHeader mailet.

3.  Look up Joe's forwarding address in the database using the Avalon 
ComponentManager.

4.  Change the To: field in the original email from joe at 
jamesserver.domain.com to the forwarding address in the database.

5.  Let James process the email.

Is this possible?  

-----Original Message-----
From: Noel J. Bergman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 11, 2005 10:18 PM
To: James Users List
Subject: RE: Changing Recipient List


See
http://svn.apache.org/repos/asf/james/server/branches/branch_2_1_fcs/src/jav
a/org/apache/james/transport/mailets/AbstractVirtualUserTable.java for a
correct way to modify the recipient collection.

        --- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to