james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincenzo Gianferrari Pini (JIRA)" <server-...@james.apache.org>
Subject [jira] Commented: (JAMES-310) Redirect mailet overwrtting To: in header
Date Tue, 10 Jan 2006 10:26:20 GMT
    [ http://issues.apache.org/jira/browse/JAMES-310?page=comments#action_12362315 ] 

Vincenzo Gianferrari Pini commented on JAMES-310:

I still believe that the right behaviour is the current one.

To get the behaviour expected by the reporter both the following entries could be used:

<mailet match="RecipientIs=bob@localdomain.com" class="Redirect">

even better:

<mailet match="RecipientIs=bob@localdomain.com" class="Resend">

Btw, <static> can be false (default value).

> Redirect mailet overwrtting To: in header
> -----------------------------------------
>          Key: JAMES-310
>          URL: http://issues.apache.org/jira/browse/JAMES-310
>      Project: James
>         Type: Bug
>   Components: Matchers/Mailets (bundled)
>     Versions: 2.2.0
>  Environment: Win XP, java 1.4.1_05
>     Reporter: John Hornsby
>     Assignee: Vincenzo Gianferrari Pini

> As reported in the users mailing list.
> Mail sent to:
> To:  Fred
> CC:  Bob
> with Bob mail redirected to Bob2 in the config file, causes the mail to end up looking
like this:
> To: Bob2
> CC: Bob
> Hence it appears that the Redirect mailet is overwriting the To: instead of the CC: (in
this case).
> Same problem with Bob in the BCC field.
> config structure:
> <mailet match="RecipientIs=bob@localdomain.com" class="Redirect">
>     <recipients>bob2@anotherdomain.com</recipients>
>     <inline>unaltered</inline>
>     <static>false</static>
> </mailet>

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

View raw message