Author: eric
Date: Wed Mar 21 10:04:26 2012
New Revision: 1303340
URL: http://svn.apache.org/viewvc?rev=1303340&view=rev
Log:
More fixes on the mailetcontainer template
Modified:
james/app/trunk/src/main/resources/mailetcontainer-template.conf
Modified: james/app/trunk/src/main/resources/mailetcontainer-template.conf
URL:
http://svn.apache.org/viewvc/james/app/trunk/src/main/resources/mailetcontainer-template.conf?rev=1303340&r1=1303339&r2=1303340&view=diff
==============================================================================
--- james/app/trunk/src/main/resources/mailetcontainer-template.conf (original)
+++ james/app/trunk/src/main/resources/mailetcontainer-template.conf Wed Mar 21
10:04:26 2012
@@ -23,19 +23,22 @@
<mailetcontainer enableJmx="true">
<!-- MailAddress used for PostMaster -->
- <postmaster>Postmaster@localhost</postmaster>
+ <context>
+ <postmaster>postmaster@localhost</postmaster>
+ </context>
<!-- Number of spool threads -->
- <threads>20</threads>
-
- <!-- expose JMX MBeans -->
- <enableJmx>true</enableJmx>
+ <spooler>
+ <threads>20</threads>
+ </spooler>
+ <processors>
+
<!-- The root processor is a required processor - James routes all mail on
the spool -->
<!-- through this processor first. -->
<!-- -->
<!-- This configuration is a sample configuration for the root processor.
-->
- <processor name="root">
+ <processor state="root" enableJmx="true">
<!-- This mailet redirects mail for the user 'postmaster' at any local
domain to -->
<!-- the postmaster address specified for the server. The postmaster
address -->
@@ -326,7 +329,7 @@ Regards, Postmaster XXX.YYY
<!-- -->
<!-- By default configuration all email that generates an error in placed
in -->
<!-- an error repository. -->
- <processor name="error">
+ <processor state="error" enableJmx="true">
<!-- If you want to notify the sender their message generated an error,
uncomment this -->
<!--
<mailet match="All" class="Bounce"/>
@@ -348,7 +351,7 @@ Regards, Postmaster XXX.YYY
<!-- Processor CONFIGURATION SAMPLE: transport is a sample custom
processor for local or -->
<!-- remote delivery -->
- <processor name="transport">
+ <processor state="transport" enableJmx="true">
<!-- This is an example configuration including configuration for a list
server. -->
<!-- CHECKME: before uncommenting this, edit the configuration file's
contents -->
@@ -517,7 +520,7 @@ Regards, Postmaster XXX.YYY
<!-- Processor CONFIGURATION SAMPLE: spam is a sample custom processor for
handling -->
<!-- spam. -->
<!-- You can either log these, bounce these, or just ignore them. -->
- <processor name="spam">
+ <processor state="spam" enableJmx="true">
<!-- To place the spam messages in the user junk folder, uncomment this
matcher/mailet configuration -->
<!--
@@ -558,7 +561,7 @@ Regards, Postmaster XXX.YYY
</processor>
<!-- messages containing viruses. -->
- <processor name="virus">
+ <processor state="virus" enableJmx="true">
<!-- To avoid a loop while bouncing -->
<mailet match="All" class="SetMailAttribute">
@@ -578,7 +581,7 @@ Regards, Postmaster XXX.YYY
</processor>
<!-- This processor handles messages that are for local domains, where the
user is unknown -->
- <processor name="local-address-error">
+ <processor state="local-address-error" enableJmx="true">
<!-- To avoid bouncing/archiving spam, uncomment this matcher/mailet
configuration -->
<!--
<mailet match="HasMailAttribute=isSpam" class="Null"
onMatchException="noMatch"/>
@@ -609,7 +612,7 @@ Regards, Postmaster XXX.YYY
<!-- This processor handles messages that are for foreign domains, where
relaying is denied -->
<!-- As of James v2.2, this processor can be deprecated by using
the<authorizedAddresses>tag
in the SMTP Server, and rejecting the message in the protocol
transaction. -->
- <processor name="relay-denied">
+ <processor state="relay-denied" enableJmx="true">
<!-- To notify the sender the address was invalid, uncomment this
matcher/mailet configuration -->
<!-- The original message is not attached to keep the bounce processor
from deliverying spam -->
<!--
@@ -636,7 +639,7 @@ Regards, Postmaster XXX.YYY
<!-- Default. -->
<!-- -->
<!-- DSNBounce properly create a DSN compliant bounce -->
- <processor name="bounces">
+ <processor state="bounces" enableJmx="true">
<mailet match="All" class="DSNBounce">
<passThrough>false</passThrough>
@@ -659,4 +662,6 @@ Regards, Postmaster XXX.YYY
</mailet>
</processor>
+ </processors>
+
</mailetcontainer>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]