I use the "Redirect" mailet. (read some more at:
http://james.apache.org/javadocs/org/apache/james/transport/mailets/Redi
rect.html )
I put a block like the following in my "transport" processor so I can
monitor any email sent to one of my administrative addresses, like
"[EMAIL PROTECTED]" in the example below.
-broc
<!-- Monitor any mail to comes to "[EMAIL PROTECTED]" -->
<mailet match="[EMAIL PROTECTED]" class="Redirect">
<recipients>[EMAIL PROTECTED]</recipients>
<to>[EMAIL PROTECTED]</to>
<sender>[EMAIL PROTECTED]</sender>
<message>Hey. Mail was received at [EMAIL PROTECTED]</message>
<inline>heads</inline>
<attachment>message</attachment>
<passThrough>TRUE</passThrough>
<attachError>FALSE</attachError>
<replyto>[EMAIL PROTECTED]</replyto>
<prefix>[Monitored Copy]:</prefix>
<static>TRUE</static>
</mailet>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 14, 2005 12:40 PM
> To: [email protected]
> Subject: Forwarding Behavior in James
>
>
> Given the current mailets and matchers in james, what is the
> best way to set
> forwarding for a user but still have the mail reach the
> intended recipient's
> repository?
>
> Thanks.
>
> Ted Watson
>
> ---------------------------------------------------------------------
> 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]