Hi,
For spam protection, you can install spamassasin on your server and
configure james in one (or both) of the 2 ways:
1. Activate the SpamAssassin SMTP Hook (in this case, the mail will not
be injected in the spool) - in smtpserver.xml, add under <handlerchain>
<handler class="org.apache.james.smtpserver.fastfail.SpamAssassinHandler">
<spamdHost> 127.0.0.1 </spamdHost>
<spamdPort> 783 </spamdPort>
<spamdRejectionHits> 10 </spamdRejectionHits>
</handler>
2. Activate in mailetcontainer.xml within a process tag the SpamAssassin
mailets (first one to invoke spamassassin, second one to decide what to
do in case of detection
<mailet match="All" class="SpamAssassin">
<spamdHost>localhost</spamdHost>
<spamdPort>783</spamdPort>
</mailet>
<mailet
match="HasMailAttributeWithValue=org.apache.james.spamassassin.flag,
YES" class="ToProcessor">
<processor>spam</processor>
</mailet>
The first option (smtp hook) will not allow you to have get your spam
mails in a mail repository to further analyze the amount of spam,...
(however you can monitory the hook via jmx).
http://wiki.apache.org/james/V3ConfigTutorial#preview is very good :) -
a few comments:
- Did the defafult dnsservice.xml configuration gave problem ?
- the extra jar can also be added to the conf/lib folder without the
need to define the CLASSPATH_PREFIX (all jar in conf/lb are
automatically added to the class loader)
- I've also written a quick-start on
http://james.apache.org/server/3/quick-start.html - I will point from
there to your wiki page
Tks,
Eric
On 23/11/2010 00:54, Raju Bitter wrote:
Is there an up-to-date document describing what should be done for
that? I've started work on the quickstart V3 wiki page, which I'll
finish later this week
(http://wiki.apache.org/james/V3ConfigTutorial#preview), and would
like to add at least basic information to that page.
- Raju
---------------------------------------------------------------------
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]