Hello, Actually, now it works without this tag <passThrough>true</passThrough> and I'm not sure it is a standard tag available when the mailet extends GenericMailet. Is it?
To make it working, I simply removed the set to GHOST at the end of my mailet. For the spam processor, I put the <mailet match="All" class="NotifyPostmaster"/> after the <mailet match="All" class="ToRepository"> for which I added the <passThrough>true</passThrough> tag. Thanks, Jm > -----Original Message----- > From: Paul Bothma [mailto:[EMAIL PROTECTED]] > Sent: 06 February 2003 08:43 > To: James Users List; [EMAIL PROTECTED] > Subject: RE: mailet position in config.xml > > I think you should add the following: > > <passThrough>true</passThrough> to your <mailet> tag, so that you have: > > <mailet match="All" class="JmMailet"> > <passThrough>true</passThrough> > </mailet> > > -----Original Message----- > From: Jm Seigneur [mailto:[EMAIL PROTECTED]] > Sent: 05 February 2003 00:04 > To: 'James Users List' > Subject: mailet position in config.xml > > > Hello, > > I've create a mailet which takes all incoming mails to preprocess them. > This mailet works fine and is placed just before the end of the root > processor. > In this java mailet, when I finish to process the current mail, I set > the mail to GHOST state (I've also tried without). > However, I want to continue the standard flow in my config.xml after > ending this custom mailet, that is, to store the emails in the standard > repositories. By the way, this process works fine without my mailet > included. > > Could you tell me what I need to modify in my config.xml? > > Thanks, > > Jm > > PS: Below is the current state of my config.xml: > > ... > > <mailet match="All" class="JmMailet"> > </mailet> > > <mailet match="All" class="ToProcessor"> > <processor> transport </processor> > </mailet> > </processor> > > <processor name="transport"> > <mailet match="RecipientIsLocal" class="LocalDelivery"/> > <mailet match="HostIsLocal" class="ToProcessor"> > <processor>error</processor> > </mailet> > <mailet match="RemoteAddrNotInNetwork=127.0.0.1" class="ToProcessor"> > <processor> spam </processor> > </mailet> > </processor> > > <processor name="error"> > <mailet match="All" class="ToRepository"> > <repositoryPath> db://maildb/deadletter/error/ </repositoryPath> > <passThrough> true </passThrough> > </mailet> > > <mailet match="All" class="NotifyPostmaster"/> > <attachStackTrace /> > </processor> > > <processor name="spam"> > <mailet match="All" class="NotifyPostmaster"/> > <mailet match="All" class="ToRepository"> > <repositoryPath> db://maildb/deadletter/spam/ </repositoryPath> > > </mailet> > </processor> > > ... > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
