Thanks for your reply. I guess my requirement is little different.

If I use the following configuration, I could forward the email to any address I want.
<mailet match="All" class="Forward">
   <forwardTo>comma delimited list of email addresses</forwardTo>
   <passThrough>true or false, default=false</passThrough>
   <fakeDomainCheck>true or false, default=true</fakeDomainCheck>
   <debug>true or false, default=false</debug>
 </mailet>

The issue here is I do not want to forward the mail right away. I would like to use 
JAMES only to store all the bounced emails from Groupwise clients and I have a 
sepearte MBean process to read the bounced emails from James inboxes periodically and 
forward the email to certain address. 

I am using javax.mail api to connect to the james email inboxes and get the 
javax.mail.Message array and process them one by one. I could successfully retrieve 
the Messages . But each message comes as on big stream including the attachments and I 
am struggling how to separate the different part of the message.

And also I looked at the file storage of James where it saves all the messages and it 
saved every thing in one FILESTREAMSTORE.

Thanks

>>> [EMAIL PROTECTED] 06/13/04 04:43PM >>>
> I am using James to handle the bounced emails from Groupwise clients.
> I have set up a forward to rule in Groupwise so any bounced email
> from Groupwise will be forwarded to the James server.

> I need to forward the bounced mail as an attachment to the forward to
address.

There is already code in JAMES to do this sort of thing.  See the
AbstractRedirect hierarchy.

        --- Noel


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



-----------------------------------------
Email messages cannot be guaranteed to be secure or error-free as transmitted 
information can be intercepted, corrupted, lost, destroyed, arrive late or incomplete, 
or contain viruses.  The Centers for Medicare & Medicaid Services therefore does not 
accept liability for any error or omissions in the contents of this message which 
arise as a result of email transmission.


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

Reply via email to