mcconnell 2003/01/24 15:53:33
Modified: merlin/src/test/config james.xml
Log:
Working configuration (based on Peter Goldstein version of James).
Revision Changes Path
1.8 +92 -68 avalon-sandbox/merlin/src/test/config/james.xml
Index: james.xml
===================================================================
RCS file: /home/cvs/avalon-sandbox/merlin/src/test/config/james.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- james.xml 23 Jan 2003 11:42:08 -0000 1.7
+++ james.xml 24 Jan 2003 23:53:33 -0000 1.8
@@ -20,7 +20,7 @@
-->
<implementation>
- <categories priority="DEBUG"/>
+ <categories priority="INFO"/>
<engine>
<classpath>
@@ -35,13 +35,15 @@
<include name="cornerstone-sockets-1.0.jar"/>
<include name="cornerstone-store-1.0.jar"/>
</fileset>
- <fileset dir="../../jakarta-james/lib">
- <include name="dnsjava-1.2.3.jar"/>
- <include name="mail_1_3.jar"/>
+ <fileset dir="../../james-alt/lib">
+ <!--<fileset dir="../../jakarta-james/lib">-->
+ <include name="dnsjava-1.3.2.jar"/>
+ <include name="mail.jar"/>
<include name="jakarta-oro-2.0.1.jar"/>
<include name="activation.jar"/>
</fileset>
- <fileset dir="../../jakarta-james/build/lib">
+ <!--<fileset dir="../../jakarta-james/lib">-->
+ <fileset dir="../../james-alt/build/lib">
<include name="mailet.jar"/>
<include name="james-3.0.jar"/>
</fileset>
@@ -70,9 +72,7 @@
<appliance name="remote"
class="org.apache.james.remotemanager.RemoteManager"
activation="true">
- <configuration>
- <!-- see blocks.xml for port and handler configuration -->
- </configuration>
+ <!-- see blocks.xml for port and handler configuration -->
</appliance>
<appliance name="pop3"
@@ -80,10 +80,14 @@
activation="true">
<configuration enabled="true">
<port>110</port>
+ <helloName autodetect="true">myMailServer</helloName>
+ <connectiontimeout>120000</connectiontimeout>
+ <!--
<handler>
<helloName autodetect="true">myMailServer</helloName>
<connectiontimeout>120000</connectiontimeout>
</handler>
+ -->
</configuration>
</appliance>
@@ -92,11 +96,16 @@
activation="true">
<configuration enabled="true">
<port>25</port>
+ <helloName autodetect="true">myMailServer</helloName>
+ <connectiontimeout>360000</connectiontimeout>
+ <maxmessagesize>0</maxmessagesize>
+ <!--
<handler>
<helloName autodetect="true">myMailServer</helloName>
<connectiontimeout>360000</connectiontimeout>
<maxmessagesize>0</maxmessagesize>
</handler>
+ -->
</configuration>
</appliance>
@@ -278,65 +287,76 @@
activation="true">
<configuration>
<threads> 10 </threads>
- <mailetpackages>
- <mailetpackage>org.apache.james.transport.mailets</mailetpackage>
- </mailetpackages>
- <matcherpackages>
- <matcherpackage>org.apache.james.transport.matchers</matcherpackage>
- </matcherpackages>
-
- <processor name="root">
- <mailet match="RelayLimit=30" class="Null"/>
- <mailet match="InSpammerBlacklist=blackholes.mail-abuse.org"
class="ToProcessor">
- <processor> spam </processor>
- <notice> Rejected - see http://www.mail-abuse.org/rbl/ </notice>
- </mailet>
- <mailet match="InSpammerBlacklist=dialups.mail-abuse.org"
class="ToProcessor">
- <processor> spam </processor>
- <notice> Dialup - see http://www.mail-abuse.org/dul/ </notice>
- </mailet>
- <mailet match="InSpammerBlacklist=relays.mail-abuse.org"
class="ToProcessor">
- <processor> spam </processor>
- <notice> Open spam relay - see http://www.mail-abuse.org/rss/
</notice>
- </mailet>
- <mailet match="All" class="ToProcessor">
- <processor> transport </processor>
- </mailet>
- </processor>
-
- <processor name="error">
- <mailet match="All" class="ToRepository">
- <repositoryPath> file://var/mail/error/</repositoryPath>
- <passThrough> true </passThrough>
- </mailet>
- </processor>
-
- <processor name="transport">
- <mailet match="RecipientIsLocal" class="LocalDelivery"/>
- <mailet match="HostIsLocal" class="ToProcessor">
- <processor>error</processor>
- </mailet>
- <mailet match="RemoteAddrNotInNetwork=127.0.0.1" class="ToProcessor">
- <processor> spam </processor>
- </mailet>
- <mailet match="All" class="RemoteDelivery">
- <outgoing> file://var/mail/outgoing/ </outgoing>
- <delayTime> 21600000 </delayTime>
- <maxRetries> 5 </maxRetries>
- <deliveryThreads> 1 </deliveryThreads>
- <!--<gateway> otherserver.mydomain.com </gateway>-->
- <!--<gatewayPort> 25 </gatewayPort>-->
- </mailet>
- </processor>
-
- <processor name="spam">
- <!--<mailet match="All" class="Null"/>-->
- <!--<mailet match="All" class="NotifySender"/>-->
- <!--<mailet match="All" class="NotifyPostmaster"/>-->
- <mailet match="All" class="ToRepository">
- <repositoryPath>file://var/mail/spam/</repositoryPath>
- </mailet>
- </processor>
+ <mailetpackages>
+ <mailetpackage>org.apache.james.transport.mailets</mailetpackage>
+ </mailetpackages>
+ <matcherpackages>
+ <matcherpackage>org.apache.james.transport.matchers</matcherpackage>
+ </matcherpackages>
+
+ <processor name="root">
+ <mailet match="RelayLimit=30" class="Null">
+ <debug>false</debug>
+ </mailet>
+ <mailet match="InSpammerBlacklist=blackholes.mail-abuse.org"
class="ToProcessor">
+ <processor> spam </processor>
+ <notice> Rejected - see http://www.mail-abuse.org/rbl/ </notice>
+ <debug>false</debug>
+ </mailet>
+ <mailet match="InSpammerBlacklist=dialups.mail-abuse.org"
class="ToProcessor">
+ <processor> spam </processor>
+ <notice> Dialup - see http://www.mail-abuse.org/dul/ </notice>
+ <debug>false</debug>
+ </mailet>
+ <mailet match="InSpammerBlacklist=relays.mail-abuse.org"
class="ToProcessor">
+ <processor> spam </processor>
+ <notice> Open spam relay - see http://www.mail-abuse.org/rss/
</notice>
+ <debug>false</debug>
+ </mailet>
+ <mailet match="All" class="ToProcessor">
+ <processor> transport </processor>
+ <debug>false</debug>
+ </mailet>
+ </processor>
+
+ <processor name="error">
+ <mailet match="All" class="ToRepository">
+ <repositoryPath> file://var/mail/error/</repositoryPath>
+ <passThrough> true </passThrough>
+ <debug>false</debug>
+ </mailet>
+ </processor>
+
+ <processor name="transport">
+ <mailet match="RecipientIsLocal" class="LocalDelivery"/>
+ <mailet match="HostIsLocal" class="ToProcessor">
+ <processor>error</processor>
+ <debug>false</debug>
+ </mailet>
+ <mailet match="RemoteAddrNotInNetwork=127.0.0.1" class="ToProcessor">
+ <processor> spam </processor>
+ <debug>false</debug>
+ </mailet>
+ <mailet match="All" class="RemoteDelivery">
+ <outgoing> file://var/mail/outgoing/ </outgoing>
+ <delayTime> 21600000 </delayTime>
+ <maxRetries> 5 </maxRetries>
+ <deliveryThreads> 1 </deliveryThreads>
+ <debug>false</debug>
+ <!--<gateway> otherserver.mydomain.com </gateway>-->
+ <!--<gatewayPort> 25 </gatewayPort>-->
+ </mailet>
+ </processor>
+
+ <processor name="spam">
+ <!--<mailet match="All" class="Null"/>-->
+ <!--<mailet match="All" class="NotifySender"/>-->
+ <!--<mailet match="All" class="NotifyPostmaster"/>-->
+ <mailet match="All" class="ToRepository">
+ <repositoryPath>file://var/mail/spam/</repositoryPath>
+ <debug>false</debug>
+ </mailet>
+ </processor>
</configuration>
</appliance>
@@ -374,11 +394,16 @@
activation="false">
<configuration enabled="false">
<port>119</port>
+ <helloName autodetect="true">myMailServer</helloName>
+ <connectiontimeout>120000</connectiontimeout>
+ <authRequired>false</authRequired>
+ <!--
<handler>
<helloName autodetect="true">myMailServer</helloName>
<connectiontimeout>120000</connectiontimeout>
<authRequired>false</authRequired>
</handler>
+ -->
</configuration>
</appliance>
@@ -395,7 +420,6 @@
</fetch>
</configuration>
</appliance>
-
</implementation>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>