Hi Max,

I just come to enable it and it also works for me.
I don't see the header set in the source of the mail in thunderbird. Do you see it? An enhancement would be to make the header name configurable (more like X-... syntax).
Worth a JIRA ?

Did you also try the SpamAssassinHandler in smtpserver.xml ?

<handler class="org.apache.james.smtpserver.fastfail.SpamAssassinHandler">
<spamdHost> 127.0.0.1 </spamdHost>
<spamdPort> 783 </spamdPort>
<spamdRejectionHits> 10 </spamdRejectionHits>
</handler>


Tks,
Eric


On 05/14/2010 06:46 PM, Max Levinson wrote:
I just fixed that.

I tried to catch another flag:

   <mailet
match="HasMailAttributeWithValue=org.apache.james.spamassassin.flag, YES"
class="ToProcessor">
    <processor>spam</processor>
   </mailet>

And it worked for me. Thanks for all your help Norman.

14 мая 2010 г. 15:02 пользователь Norman Maurer<[email protected]>  написал:

Sorry I made a typo..

Try this:
<mailet
match="HasMailAttributeWithValue=org.apache.james.spamassassin.status,
true" class="ToProcessor">
   <processor>spam</processor>
</mailet>

Bye,
Norman


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to