The following comment has been added to this issue:

     Author: Vincenzo Gianferrari Pini
    Created: Thu, 22 Jul 2004 6:01 AM
       Body:
The "bug" is in the management of <inline>unaltered</inline>: in this case in 2.1.3 
the To: header was left unchanged (even if <to> was specified), instead now (if <to> 
is missing) it is changed ignoring the <inline> parameter. In terms of backward 
compatibility it is a bug, although, as the <inline> parameter refers to the message 
body, perhaps we should instead consider the 2.1.x behaviour a bug, and 2.2.0 correct. 
Waiting for comments on this before doing anything.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/JAMES-310?page=comments#action_36818

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JAMES-310

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JAMES-310
    Summary: Redirect mailet overwrtting To: in header
       Type: Bug

     Status: Open
   Priority: Major

    Project: James
 Components: 
             Matchers/Mailets (bundled)
   Versions:
             2.2.0

   Assignee: Vincenzo Gianferrari Pini
   Reporter: John Hornsby

    Created: Wed, 21 Jul 2004 11:40 PM
    Updated: Thu, 22 Jul 2004 6:01 AM
Environment: Win XP, java 1.4.1_05

Description:
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="[EMAIL PROTECTED]" class="Redirect">
    <recipients>[EMAIL PROTECTED]</recipients>
    <inline>unaltered</inline>
    <static>false</static>
</mailet>



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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

Reply via email to