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]

Reply via email to