james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefano Bagnara (JIRA)" <server-...@james.apache.org>
Subject [jira] Commented: (JAMES-310) Redirect mailet overwrtting To: in header
Date Tue, 03 Jan 2006 17:12:00 GMT
    [ http://issues.apache.org/jira/browse/JAMES-310?page=comments#action_12361649 ] 

Stefano Bagnara commented on JAMES-310:

I don't use this mailet often but maybe the Resend mailet can do what the reporter asked.
Resend is much more flexible than Redirect.
I haven't tested this but looking at the comments I would say that Resend behaviour when both
recipients and <inline>unaltered</inline> are specified is to not alter the To:

> 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