not sure about the docs, but recipients is used automatically for To: where <to> node is empty, or absent. d.
> -----Original Message----- > From: Noel J. Bergman [mailto:noel@;devtech.com] > Sent: 13 November 2002 04:48 > To: James Users List > Subject: RE: redirect - need help > > > Randy, > > This one works: > > <mailet match="RecipientIs=alias@domain" class="Redirect"> > <recipients>user1@domain,user2@domain</recipients> > <prefix xml:space="preserve">[My Prefix] </prefix> > <inline>unaltered</inline> > <static>true</static> > </mailet> > > As for the <to>recipients</to> ... I see it in the docs, but I > don't see it > in the CODE. Hopefully Danny can take a quick look at it, and either > confirm or deny that the support is currently missing. > > --- Noel > > -----Original Message----- > From: JRC [mailto:postmaster@;neonkiwi.com] > Sent: Tuesday, November 12, 2002 15:38 > To: james-user > Subject: redirect - need help > > > James 2.1a1-cvs > JRE1.4.0_01 > > Hello, > > This is not a major issue so an immediate response is NOT required. > > I am trying to create a redirect that will change the From: line in the > header of all messages sent by a specific user. My first attempt > looked like > this: > > <mailet match=SenderIs=myuser@mydomain > class="Redirect"> > <to>recipients</to> > <sender>myuser@otherdomain</sender> > <inline>unaltered</inline> > <static>true</static> > <passThrough>FALSE</passThrough> > </mailet> > > when a message was sent by myuser@mydomain it vanished into cyberspace and > "12/11/02 13:25:46 INFO James.Mailet: Redirect: add recipient failed in > getRecipients" was found in the mailet.log. I added > <recipients>postmaster@mydomain</recipients> to the mailet and it kinda > worked but the intended recipient never got the mail. the mail sent to > postmaster did have the modified From: line. > > Any help will be appreciated. > > -randy > > > > > -- > To unsubscribe, e-mail: <mailto:james-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:james-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:james-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:james-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:james-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:james-user-help@;jakarta.apache.org>
