Amarish Khopkar wrote:
Thanks for your suggestion.

Sorry about this but I'm going to ask a novice question as I'm a beginner to
James.  I would like to try your suggestion.  How do I 'flag'  a rewritten
mail so that it doesn't get processed by the relaying denied processor?  I
don't actually see a mailet that does flagging in the docs.

Amarish

Check the SetMailAttribute mailet and the HasMailAttribute matcher.

<mailet match="HostIs=yourdomain.com" class="SetMailAttribute">
    <myflag>myvalue</myflag>
</mailet>


<mailet match="HostIs=yourdomain.com" class="VirtuserTable">
....
</mailet>

...

<mailet match="HasMailAttribute=myflag" class="ToProcessor">
  <processor>transport</processor>
</mailet>

Stefano

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to