[ http://issues.apache.org/jira/browse/JAMES-259?page=all ]

Herman Reintke updated JAMES-259:
---------------------------------

    Attachment: spamcheck.zip

Attached my code for the Spamcheck matcher which uses the Spamassassin 
installed at the same system. As I am not an experienced developer I took he 
easy way and just put the spamcheck.java file in the source directory of my 
local james directory. The standard build from james is then enough to be 
able to use the matcher.

Configuring is done in the mailet in config.xml
<mailet match='SpamCheck=c:\utilities\perl\bin\spamassassin -e,c:\temp' 
class="AddHeader">

Parameters
First :         path to spamassassin.bat (including runtime options !)
Second :    path to directory to put temporary files
Third :       true : remove the temporary file aftercheck,
                 false leave the temporary file after check,
                 default = true

Kind regards,

Herman Reintke


> Add SpamAssassin support
> ------------------------
>
>          Key: JAMES-259
>          URL: http://issues.apache.org/jira/browse/JAMES-259
>      Project: James
>         Type: New Feature
>   Components: Matchers/Mailets (bundled)
>     Versions: 2.3.0
>     Reporter: Noel J. Bergman
>     Assignee: Serge Knystautas
>      Fix For: 2.3.0
>  Attachments: spamcheck.zip
>
> Incorporate support based upon Josh Parreco's contribution.
> See: http://mail-archives.apache.org/eyebrowse/[EMAIL PROTECTED]&msgNo=9412

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to