You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by se...@james.apache.org on 2004/07/22 15:02:39 UTC

[jira] Commented: (JAMES-310) Redirect mailet overwrtting To: in header

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="RecipientIs=bob@localdomain.com" class="Redirect">
    <recipients>bob2@anotherdomain.com</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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org