I've put something like following definition to mailetcontainer.xml,
where near of commented definition of XMLRecipientRewriteTable exists,
and it works as I nearly expected:

<mailet match="[email protected]" class="Forward">
  <forwardTo>[email protected]</forwardTo>
  <passThrough>true</passThrough>
</mailet>

But I have an odd thing in this setup, and a question about it. my
situation:

Consider the following are my domains and holding addresses:

* example.org: managed by James
  - [email protected]
  - [email protected]
* example.jp: NOT managed by James
  - [email protected]

When I sent an email through James SMTP server, from [email protected] to
[email protected] (same to from), the email has been arrived to both
[email protected] and [email protected], as I expected.

But when I sent an email from [email protected] to two addresses
[email protected] and [email protected], the email has been arrived at
[email protected], but not to [email protected].

Anyone know why the email hasn't arrived to [email protected] if the two
addresses are specified?

Thanks.

On 2/7/16 16:00, Kohei Nozaki wrote:
> Hello, I'm using James3 SNAPSHOT.
> 
> I want to configure James to forward copy of emails to another address
> (these two addresses live in same James instance), but keep emails being
> sent in original address as well.
> 
> For example, I have two following addresses in a James instance,
> 
> * [email protected]
> * [email protected]
> 
> When someone send an email to [email protected], it should be arrived to
> both addresses ([email protected] and [email protected]).
> 
> How can I configure James to achieve this?
> 
> Thanks.
> 
> ---------------------------------------------------------------------
> 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