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]

Reply via email to