You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Hutson Carspecken <hu...@sbcglobal.net> on 2003/06/13 17:59:38 UTC
Endless Loop with Forward Mailet
Hello,
I am trying to use the Forward mailet before I create a custom send mailet. Currently, I am using the UserIs matcher to avoid the loop, but the mail seems to disappear as well.
Does anyone have simple sample that I could use /follow? I am fresh out of ideas. Should I remove the Forward mailet and place it in another processor, like the Transport processor?
Thanks,
Hut
Re: Endless Loop with Forward Mailet
Posted by Hutson Carspecken <hu...@sbcglobal.net>.
Thanks Eric! I will try this out asap.
Hut
----- Original Message -----
From: "Eric Weidner" <es...@speakeasy.org>
To: "James Users List" <ja...@jakarta.apache.org>
Sent: Friday, June 13, 2003 4:07 PM
Subject: Re: Endless Loop with Forward Mailet
> Hut,
>
> I use the Forward mailet to provide simple aliasing (haven't had time to
> check out the JDBC Alias table yet).
>
> You should find a Forward mailet example in the config file that points
> BadBoy@localhost to null. In that same area, add a mailet tag like
this....
>
>
> <mailet match="RecipientIs=alias@ejbsolutions.com
> " class="Forward">
> <forwardto> user1@ejbsolutions.com </forwardto>
> <forwardto> user2@ejbsolutions.com </forwardto>
> </mailet>
>
> I'm not sure if this is what you are asking for, but I hope it helps.
>
> Eric Weidner
> Out-of-the-Box Project Lead
> http://www.ejbsolutions.com
>
>
> Hutson Carspecken wrote:
>
> >Noel,
> >
> >Thanks for your reply. Any particular place on james.apache.org that will
> >have more information on those Redirect mailets?
> >
> >Right now, I simply want to be able to forward a message. Any message, I
am
> >taking baby steps right now.
> >
> >Hut
> >----- Original Message -----
> >From: "Noel J. Bergman" <no...@devtech.com>
> >To: "James Users List" <ja...@jakarta.apache.org>
> >Sent: Friday, June 13, 2003 11:12 AM
> >Subject: RE: Endless Loop with Forward Mailet
> >
> >
> >
> >
> >>>I am trying to use the Forward mailet before I create a custom send
> >>>
> >>>
> >>mailet.
> >>
> >>When you do so, you should consider subclassing the new AbstractRedirect
> >>
> >>
> >or
> >
> >
> >>Redirect mailets.
> >>
> >>
> >>
> >>>Does anyone have simple sample that I could use /follow?
> >>> I am fresh out of ideas.
> >>>
> >>>
> >>Hard to say without seeing what you are trying to do.
> >>
> >>--- Noel
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail: james-user-help@jakarta.apache.org
> >>
> >>
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: james-user-help@jakarta.apache.org
> >
> >
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: james-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org
Re: Endless Loop with Forward Mailet
Posted by Eric Weidner <es...@speakeasy.org>.
Hut,
I use the Forward mailet to provide simple aliasing (haven't had time to
check out the JDBC Alias table yet).
You should find a Forward mailet example in the config file that points
BadBoy@localhost to null. In that same area, add a mailet tag like this....
<mailet match="RecipientIs=alias@ejbsolutions.com
" class="Forward">
<forwardto> user1@ejbsolutions.com </forwardto>
<forwardto> user2@ejbsolutions.com </forwardto>
</mailet>
I'm not sure if this is what you are asking for, but I hope it helps.
Eric Weidner
Out-of-the-Box Project Lead
http://www.ejbsolutions.com
Hutson Carspecken wrote:
>Noel,
>
>Thanks for your reply. Any particular place on james.apache.org that will
>have more information on those Redirect mailets?
>
>Right now, I simply want to be able to forward a message. Any message, I am
>taking baby steps right now.
>
>Hut
>----- Original Message -----
>From: "Noel J. Bergman" <no...@devtech.com>
>To: "James Users List" <ja...@jakarta.apache.org>
>Sent: Friday, June 13, 2003 11:12 AM
>Subject: RE: Endless Loop with Forward Mailet
>
>
>
>
>>>I am trying to use the Forward mailet before I create a custom send
>>>
>>>
>>mailet.
>>
>>When you do so, you should consider subclassing the new AbstractRedirect
>>
>>
>or
>
>
>>Redirect mailets.
>>
>>
>>
>>>Does anyone have simple sample that I could use /follow?
>>> I am fresh out of ideas.
>>>
>>>
>>Hard to say without seeing what you are trying to do.
>>
>>--- Noel
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: james-user-help@jakarta.apache.org
>>
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: james-user-help@jakarta.apache.org
>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org
RE: Endless Loop with Forward Mailet
Posted by "Noel J. Bergman" <no...@devtech.com>.
> Any particular place on james.apache.org that will
> have more information on those Redirect mailets?
If you are going to write one? Look at the source code.
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org
Re: Endless Loop with Forward Mailet
Posted by Hutson Carspecken <hu...@sbcglobal.net>.
Noel,
Thanks for your reply. Any particular place on james.apache.org that will
have more information on those Redirect mailets?
Right now, I simply want to be able to forward a message. Any message, I am
taking baby steps right now.
Hut
----- Original Message -----
From: "Noel J. Bergman" <no...@devtech.com>
To: "James Users List" <ja...@jakarta.apache.org>
Sent: Friday, June 13, 2003 11:12 AM
Subject: RE: Endless Loop with Forward Mailet
> > I am trying to use the Forward mailet before I create a custom send
> mailet.
>
> When you do so, you should consider subclassing the new AbstractRedirect
or
> Redirect mailets.
>
> > Does anyone have simple sample that I could use /follow?
> > I am fresh out of ideas.
>
> Hard to say without seeing what you are trying to do.
>
> --- Noel
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: james-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org
RE: Endless Loop with Forward Mailet
Posted by "Noel J. Bergman" <no...@devtech.com>.
> I am trying to use the Forward mailet before I create a custom send
mailet.
When you do so, you should consider subclassing the new AbstractRedirect or
Redirect mailets.
> Does anyone have simple sample that I could use /follow?
> I am fresh out of ideas.
Hard to say without seeing what you are trying to do.
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org