Hi Max,

Jame 2.3 was adding the header, which is apparently not done with trunk.
In general, mail servers put such additional X-... headers.

I'm interested in the quarantine. How do you configure it ?

Tks,

Eric


On 05/17/2010 12:53 PM, Max Levinson wrote:
Hi Eric,

I think header of the original email is not touched. What plugin does is
that it just sending email to spamd and spamd returns results with
SpamAssassin X-headers and plugin just catching the right header and not
modifying original email.

I don't need SpamAssassin handler because it will reject email in protocol,
but I need to hold some emails in quarantine for further investigation why
they were stopped by SpamAssassin. But I tested it and it works for me as
well.


15 мая 2010 г. 8:52 пользователь Eric Charles
<[email protected]>написал:

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]




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

Reply via email to