[ 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="[EMAIL PROTECTED]" class="Redirect"> <recipients>[EMAIL PROTECTED]</recipients> <to>unaltered</to> <inline>unaltered</inline> </mailet> even better: <mailet match="[EMAIL PROTECTED]" class="Resend"> <recipients>[EMAIL PROTECTED]</recipients> </mailet> 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="[EMAIL PROTECTED]" class="Redirect"> > <recipients>[EMAIL PROTECTED]</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: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]