Hi Stefano, I will run a few more tests and put together a sample app. I am assuming it is something that I have done along the way, but was hoping the problem may possibly sound familiar. I will get back to you with more detail Thanks
-----Original Message----- From: Stefano Bagnara [mailto:[EMAIL PROTECTED] Sent: 03 September 2005 01:45 PM To: 'James Users List' Subject: Re: Matcher Being Ignored What James version are you using? What Operative System are you running? What did you change in James (changed core classes, changed mailets/matche, new mailets/mather)? What VM are you using? What is the full configuration? Have you tryed increasing the logging for the SpoolManager to DEBUG? Please provide the log too. Stefano > -----Messaggio originale----- > Da: Hans Liebenberg [mailto:[EMAIL PROTECTED] > Inviato: sabato 3 settembre 2005 11.54 > A: 'James Users List'; [EMAIL PROTECTED] > Oggetto: Matcher Being Ignored > > Hi, > > In my transport processor I have configured a new Mailet > which acts on the message just after the LocalDelivery config... > > > The mailet should only execute if a specifc header is > present, so I use the > HasHeader matcher... > Now believe it or not, every SECOND email that comes through > gets passed > through my mailet, even though it DOES NOT have the header. > i.e the matcher I sbeing ignored > So I even wrote my own matcher which ALWAYS returns NULL > recipients, but > still my Mailet executes every second email, ignoring the matcher. > > Any ideas? > > I only specify the mailet once in the config file as follows: > > <processor name="transport"> > > <mailet match="RecipientIsLocal" class="LocalDelivery"/> > <mailet match="HostIsLocal" class="ToProcessor"> > <processor> local-address-error </processor> > <notice>550 - Requested action not taken: no such user > here</notice> > > </mailet> > > > <!-- MY MAILET --> > <mailet match="HasHeader=MAILSTREAMS-LISTID" > class="MailMergeDelivery"> > > etc > > </mailet> > > <!-- Is the message being sent to one of our list members --> > <mailet match="All" class="MailMergeDelivery"> > <outgoing> file://var/mail/outgoing/ </outgoing> > <delayTime> 5 minutes </delayTime> > <delayTime> 10 minutes </delayTime> > <delayTime> 45 minutes </delayTime> > <delayTime> 2 hours </delayTime> > <delayTime> 3 hours </delayTime> > <delayTime> 6 hours </delayTime> > <maxRetries> 25 </maxRetries> > <debug> true </debug> > <deliveryThreads> 1 </deliveryThreads> > <sendpartial>true</sendpartial> > <bounceProcessor>bounceProcessor</bounceProcessor> > <gateway>smtp.cambrient.com</gateway> > <gatewayPort>25</gatewayPort> > > </mailet> > > > </processor> > > Thanks > Hans > > > --------------------------------------------------------------------- > 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]
