pgoldstein 2002/09/17 14:51:27
Modified: proposals/imap/conf james-assembly.xml james-config.xml
james-server.xml
Log:
Merging in configuration file changes from main branch.
Revision Changes Path
1.3 +1 -0 jakarta-james/proposals/imap/conf/james-assembly.xml
Index: james-assembly.xml
===================================================================
RCS file: /home/cvs/jakarta-james/proposals/imap/conf/james-assembly.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- james-assembly.xml 15 Jan 2002 08:38:25 -0000 1.2
+++ james-assembly.xml 17 Sep 2002 21:51:27 -0000 1.3
@@ -84,6 +84,7 @@
<!-- SMTP Server -->
<block class="org.apache.james.smtpserver.SMTPServer" name="smtpserver" >
+ <provide name="James" role="org.apache.mailet.MailetContext"/>
<provide name="mailstore" role="org.apache.james.services.MailStore"/>
<provide name="users-store" role="org.apache.james.services.UsersStore"/>
<provide name="sockets"
1.3 +490 -566 jakarta-james/proposals/imap/conf/james-config.xml
Index: james-config.xml
===================================================================
RCS file: /home/cvs/jakarta-james/proposals/imap/conf/james-config.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- james-config.xml 15 Jan 2002 08:38:25 -0000 1.2
+++ james-config.xml 17 Sep 2002 21:51:27 -0000 1.3
@@ -1,265 +1,235 @@
<?xml version="1.0"?>
-<!--
- README!
+<!-- Configuration file for Apache Jakarta James Mail and news server -->
+
+<!-- This file contains important settings that control the behaviour
+ of all of the services and repositories.
+
+ README!
+
+This configuration file is designed to run without alteration for simple tests.
+It assumes you have a DNS server on localhost and assigns a root pasword of root.
+
+In case the defaults do not suit you, the items you are most likely to need to
change
+are preceeded by a CHECKME! or CONFIRM? comment in the left margin.
+
+For production use you will probably need to make more extensive changes, see
+http://jakarta.apache.org/james/configuration_v2_0.html
+
+$Revision$ Committed on $Date$ by: $Author$-->
- This configuration file is designed to run without alteration, for simple
- tests.
- It assumes you have a DNS server on localhost and assigns a root pasword
- of root.
-
- For production use, or in case the defaults do not suit you, the items
- you are most likely to need to change are preceeded by a
- CHECKME! or
- CONFIRM? comment in the left
- margin.
-
- This is $Revision$
- Committed on $Date$ by: $Author$
--->
<config>
+ <James>
- <!-- The James block -->
- <James>
<!-- CHECKME! Set this to the right email address for error reports -->
<postmaster> Postmaster@localhost </postmaster>
<!-- CONFIRM? -->
- <!-- servernames identifies the DNS namespace served by this instance
- of James.
- If autodetect is TRUE, James wil attempt to discover its own name AND use
- any specified servernames. If autodetect is FALSE, James will use only
- the specified servernames. By default, the servername 'localhost' is
- specified. This can be removed, if required. -->
- <servernames autodetect="TRUE">
- <!--
- <servername>To override autodetected server names
- uncomment this. </servername>-->
- <servername>localhost</servername>
+ <!-- servernames identifies the DNS namespace served by this instance of
James.
+ If autodetect is TRUE, James wil attempt to discover its own name AND
use any specified servernames.
+ If autodetect is FALSE, James will use only the specified servernames.
+ If autodetectIP is not FALSE, James will also allow add the IP address
for each servername.
+ The automatic IP detection is to support RFC 2821, Sec 4.1.3, address
literals.
+ By default, the servername 'localhost' is specified. This can be
removed, if required. -->
+ <servernames autodetect="TRUE" autodetectIP="TRUE">
+ <!--<servername>To override autodetected server names uncomment this.
</servername> -->
+ <servername>localhost</servername>
</servernames>
- <!-- Set whether user names are case sensitive or insensitive -->
+ <!-- Set whether user names are case sensitive or case insensitive -->
<!-- Set whether to enable local aliases -->
- <usernames ignoreCase="TRUE" enableAliases="TRUE"
- enableForwarding="TRUE"/>
-
-
- <!-- Set the type of permanent mailfolders to be used.
- If IMAP service is to be provided, storage must be 'IMAP'; if only POP3
- service is being provided then use must be 'basic' (default) . At some
- stage POP3 will, hopefully, be able to use IMAP storage as well. This
- choice is irrelevant if the only service provided is SMTP. -->
- <storage>IMAP</storage>
+ <usernames ignoreCase="TRUE" enableAliases="TRUE" enableForwarding="TRUE"/>
<!-- The inbox repository is the location for users inboxes -->
- <!-- Default setting: file based repository - enter path ( :/// for absolute)
-->
+ <!-- Default setting: file based repository - enter path ( use "file:///"
for absolute) -->
<inboxRepository>
- <repository destinationURL="file://../../var/mail/inboxes/"
- type="MAIL">
- </repository>
- </inboxRepository>
- <!-- Alternative inbox repository definition for DB use. -->
- <!-- The format for the destinationURL is "db://<data-source>/<table>"
- - <data-source> is the datasource name set up in the
- database-connections block, below
- - <table> is the name of the table to store user inboxes in
- The user name is used as <repositoryName> for this repository config.
-
- <inboxRepository>
- <repository destinationURL="db://maildb/inbox/"
- type="MAIL">
- </repository>
+ <repository destinationURL="file://var/mail/inboxes/" type="MAIL"/>
</inboxRepository>
- -->
- </James>
-
- <!-- The James Spool Manager block -->
- <spoolmanager>
+ <!-- Alternative inbox repository definition for DB use.
+ The format for the destinationURL is "db://<data-source>/<table>"
+ <data-source> is the datasource name set up in the
database-connections block, below
+ <table> is the name of the table to store user inboxes in
+ The user name is used as <repositoryName> for this repository
config.-->
+ <!--<inboxRepository>
+ <repository destinationURL="db://maildb/inbox/" type="MAIL"/>
+ </inboxRepository>-->
+ </James>
+ <!-- The James Spool Manager block -->
+ <spoolmanager>
<!-- number of spool threads -->
<threads> 10 </threads>
- <!-- Set the packages from which to load mailets and matches -->
- <mailetpackages>
- <mailetpackage>org.apache.james.transport.mailets</mailetpackage>
- </mailetpackages>
- <matcherpackages>
- <matcherpackage>org.apache.james.transport.matchers</matcherpackage>
- </matcherpackages>
-
- <!-- Processor CONFIGURATION SAMPLE:
- root is the first processor all mails enter -->
- <processor name="root">
- <!-- Checks that the MAIL FROM command was for a valid domain.
- Important for spam prevention. -->
- <!--
- <mailet match="SenderInFakeDomain" class="ToProcessor">
+ <!-- Set the packages from which to load mailets and matches -->
+ <mailetpackages>
+ <mailetpackage>org.apache.james.transport.mailets</mailetpackage>
+ </mailetpackages>
+ <matcherpackages>
+ <matcherpackage>org.apache.james.transport.matchers</matcherpackage>
+ </matcherpackages>
+
+ <!-- Processor CONFIGURATION SAMPLE: root is the first processor all mail
enters-->
+ <processor name="root">
+
+ <!-- Checks that the MAIL FROM command was for a valid domain. Important
for spam prevention. -->
+ <!--<mailet match="SenderInFakeDomain" class="ToProcessor">
<processor> spam </processor>
- </mailet>
- -->
- <!-- Important check to avoid race conditions -->
- <mailet match="RelayLimit=30" class="Null">
- </mailet>
-
- <!-- Check for delivery from a known spam server -->
- <mailet match="InSpammerBlacklist=blackholes.mail-abuse.org"
- class="ToProcessor">
+ </mailet> -->
+
+ <!-- Important check to avoid race conditions -->
+ <mailet match="RelayLimit=30" class="Null"/>
+
+ <!-- Check for delivery from a known spam server -->
+ <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">
+ </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">
+ </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>
+
+ <!-- Sample matching to kill a message (send to Null) -->
+ <mailet match="RecipientIs=badboy@badhost" class="Null"/>
- <!-- Sample matching to kill a message (send to Null) -->
- <mailet match="RecipientIs=badboy@badhost" class="Null">
- </mailet>
-
- <!-- Sends remaining mails to the transport processor for either
- local or remote delivery -->
- <mailet match="All" class="ToProcessor">
+ <!-- Send remaining mails to the transport processor for either local or
remote delivery -->
+ <mailet match="All" class="ToProcessor">
<processor> transport </processor>
- </mailet>
- </processor>
+ </mailet>
+ </processor>
+
+ <!-- Processor CONFIGURATION SAMPLE: error is the processor mails with
failure conditions enter -->
+ <processor name="error">
- <!-- Processor CONFIGURATION SAMPLE: error is the processor mails with
- failure conditions enter -->
- <processor name="error">
- <!-- Logs any messages to the repository specified -->
- <mailet match="All" class="ToRepository">
- <repositoryPath> file://../../var/mail/error/</repositoryPath>
- <!-- <repositoryPath> db://conf/mail-error.properties </repositoryPath>
-->
+ <!-- Logs any messages to the repository specified -->
+ <mailet match="All" class="ToRepository">
+ <repositoryPath> file://var/mail/error/</repositoryPath>
+ <!-- alternative database repository example below -->
+ <!-- <repositoryPath> db://maildb/deadletter/error </repositoryPath> -->
<passThrough> true </passThrough>
- </mailet>
+ </mailet>
- <!-- If you want to notify the sender their message was marked as
- spam, uncomment this
- <mailet match="All" class="NotifySender">
- </mailet>
- -->
-
- <!-- If you want to notify the postmaster that a message was marked
- as spam, uncomment this
- <mailet match="All" class="NotifyPostmaster">
- </mailet>
- -->
- </processor>
-
- <!-- Processor CONFIGURATION SAMPLE: transport is a sample custom
- processor for local or remote delivery -->
- <processor name="transport">
- <!-- Is the recipient is for a local account, deliver it locally -->
- <mailet match="RecipientIsLocal" class="LocalDelivery">
- </mailet>
-
- <!-- If the host is handled by this server and it did not get
- locally delivered, this is an invalid recipient -->
- <mailet match="HostIsLocal" class="ToProcessor">
+ <!-- If you want to notify the sender their message generated an error,
uncomment this -->
+ <!--<mailet match="All" class="NotifySender"/>-->
+ <!-- If you want to notify the postmaster that a message generated an
error, uncomment this -->
+ <!--<mailet match="All" class="NotifyPostmaster"/>-->
+ </processor>
+
+ <!-- Processor CONFIGURATION SAMPLE: transport is a sample custom processor
for local or remote delivery -->
+ <processor name="transport">
+
+ <!-- Is the recipient is for a local account, deliver it locally -->
+ <mailet match="RecipientIsLocal" class="LocalDelivery"/>
+
+ <!-- If the host is handled by this server and it did not get locally
delivered, this is an invalid recipient -->
+ <mailet match="HostIsLocal" class="ToProcessor">
<processor>error</processor>
- </mailet>
+ </mailet>
+
+<!-- CHECKME! Anti-relay mailet: Add your network address here,
+ e.g. "RemoteAddrNotInNetwork=127.0.0.1, abc.de.*, 192.168.0.*"-->
+
+ <!-- This matcher-mailet pair can prevent relaying...
+ if you change this, you risk making your mail server an open relay point
for spam.
+
+ NOTE 1: the order of matcher-mailets is important: it must come
after
+ valid local recipients have been dealt with but before any attempt
is
+ made to delivery the mail remotely.
-<!-- CHECKME!
- Anti-relay mailet: Add your network address here,
- e.g. "RemoteAddrNotInNetwork=127.0.0.1, abc.de.*"
--->
-
- <!-- This matcher-mailet pair can prevent relaying... if you change
- this, you risk making your mail server an open relay point for
- spammers .
- NOTE 1: the order of matcher-mailets is important: it must come after
- valid local recipients have been dealt with but before any attempt is
- made to delivery the mail remotely.
- NOTE 2: Add your own network, if you want to relay mail outwards
- NOTE 3: If you use SMTP AUTH, you may want to comment this
- so users who are on the road can still use the server -->
- <mailet match="RemoteAddrNotInNetwork=127.0.0.1" class="ToProcessor">
+ NOTE 2: Add your own network, if you want to relay mail outwards
+
+ NOTE 3: If you use SMTP AUTH, you may want to comment this out
+ so users who are on the road can still use the server -->
+
+ <mailet match="RemoteAddrNotInNetwork=127.0.0.1" class="ToProcessor">
<processor> spam </processor>
- </mailet>
+ </mailet>
+
+ <!-- Attempt remote delivery using the specified repository for the spool,
+ using delay time to retry delivery and the maximum number of retries
-->
+ <mailet match="All" class="RemoteDelivery">
+ <outgoing> file://var/mail/outgoing/ </outgoing>
+ <!-- alternative database repository example below -->
+ <!-- <outgoing> db://maildb/spool/outgoing </outgoing> -->
- <!-- Attempt remote delivery using the specified repository for the
- spool,
- using delay time to retry delivery and the maximum number of
- retries -->
- <mailet match="All" class="RemoteDelivery">
- <outgoing> file://../../var/mail/outgoing/ </outgoing>
- <!-- <outgoing> db://conf/mail-outgoing.properties </outgoing> -->
+ <!-- Number of milliseconds between delivery attempts -->
<delayTime> 21600000 </delayTime>
+
+ <!-- Number of failed attempts before returning to the sender -->
<maxRetries> 5 </maxRetries>
- </mailet>
- </processor>
- <!-- Processor CONFIGURATION SAMPLE: spam is where messages detected
- as relaying or other problems will get sent. You can either log these,
- bounce these, or just ignore them. -->
- <processor name="spam">
- <!-- If you wanted, you could just destroy messages, uncomment this
- matcher/mailet
- <mailet match="All" class="Null">
- </mailet>
- -->
-
- <!-- If you want to notify the sender their message was marked as
- spam, uncomment this
- <mailet match="All" class="NotifySender">
- </mailet>
- -->
-
- <!-- If you want to notify the postmaster that a message was marked
- as spam, uncomment this
- <mailet match="All" class="NotifyPostmaster">
- </mailet>
- -->
-
- <!-- Out of the box, this will log the message to a repository -->
- <mailet match="All" class="ToRepository">
- <repositoryPath>file://../../var/mail/spam/</repositoryPath>
- </mailet>
- </processor>
- </spoolmanager>
+ <!-- The number of threads that should be trying to deliver outgoing
messages -->
+ <deliveryThreads> 1 </deliveryThreads>
+ <!-- A single mail server to deliver all outgoing messages.
+ This is useful if this is a backup or failover machine,
+ or if you otherwise want all messages to be sent only to particular
mail server,
+ regardless of the email addresses specified in the message -->
+ <!--<gateway> otherserver.mydomain.com </gateway>-->
+
+ <!-- If your gateway mail server is listening on a port other than 25,
+ you can set James to connect to it on that port -->
+ <!--<gatewayPort> 25 </gatewayPort>-->
+ </mailet>
+
+ </processor>
+
+ <!-- Processor CONFIGURATION SAMPLE: spam is where messages detected as
relaying or other problems will get sent.
+ You can either log these, bounce these, or just ignore them. -->
+ <processor name="spam">
+ <!-- If you wanted, you could just destroy messages, uncomment this
matcher/mailet-->
+ <!--<mailet match="All" class="Null"/>-->
+
+ <!-- If you want to notify the sender their message was marked as spam,
uncomment this-->
+ <!--<mailet match="All" class="NotifySender"/>-->
+
+ <!-- If you want to notify the postmaster that a message was marked as
spam, uncomment this-->
+ <!--<mailet match="All" class="NotifyPostmaster"/>-->
+
+ <!-- Out of the box, this will log the message to a repository -->
+ <mailet match="All" class="ToRepository">
+ <repositoryPath>file://var/mail/spam/</repositoryPath>
+
+ <!-- alternative database repository example below -->
+ <!-- <repositoryPath> db://maildb/deadletter/spam </repositoryPath> -->
+ </mailet>
+ </processor>
+ </spoolmanager>
<!-- CONFIRM? Enter ip address of your DNS server, one per element -->
- <dnsserver>
- <servers>
- <server>127.0.0.1</server>
- <!--<server> put extra dns server address here </server>-->
- </servers>
- <authoritative>false</authoritative>
- </dnsserver>
-
- <remotemanager>
- <port>4555</port>
- <!-- <bind> </bind> uncomment this if you want to bind to a specific
- inetaddress -->
- <!-- <useTLS>TRUE</useTLS> uncomment this if you want to use TLS (SSL)
- on this port -->
- <handler>
- <!-- helloName is the single host name this instance of James will
- use to identify itself for example, in SMTP and POP3 greetings. If
- autodetect is TRUE, James will attempt to discover its own name OR
- use 'localhost'. If autodetect is FALSE, James will use the value
- given OR 'localhost' -->
- <helloName autodetect="TRUE">myMailServer</helloName>
- <administrator_accounts>
-
+ <dnsserver>
+ <servers>
+ <server>127.0.0.1</server>
+ <!--<server> put extra dns server address here </server>-->
+ </servers>
+ <authoritative>false</authoritative>
+ </dnsserver>
+
+ <remotemanager>
+ <port>4555</port>
+ <!-- uncomment this if you want to bind to a specific inetaddress -->
+ <!--<bind> </bind>-->
+ <!-- uncomment this if you want to use TLS (SSL) on this port -->
+ <!--<useTLS>true</useTLS>-->
+ <handler>
+ <!-- helloName is the single host name this instance of James will
+ use to identify itself for example, in SMTP and POP3 greetings. If
+ autodetect is TRUE, James will attempt to discover its own name OR
+ use 'localhost'. If autodetect is FALSE, James will use the value
+ given OR 'localhost' -->
+ <helloName autodetect="TRUE">myMailServer</helloName>
+ <administrator_accounts>
<!-- CHECKME! Change the default password! -->
- <!-- FILL ME!!!!!! You must provide a password for your
- administrator accounts (cannot be blank) -->
+<!-- FILL ME!!!!!! You must provide a password for your administrator accounts
(cannot be blank) -->
<account login="root" password="root"/>
-
- </administrator_accounts>
- <connectiontimeout> 60000 </connectiontimeout>
- </handler>
- </remotemanager>
+ </administrator_accounts>
+ <connectiontimeout> 60000 </connectiontimeout>
+ </handler>
+ </remotemanager>
<!-- WARNING - The IMAP server is only experimental, ie pre-alpha -->
<imapserver>
@@ -296,384 +266,338 @@
<imapsystem>
</imapsystem>
- <pop3server>
- <port>110</port>
- <!-- <port>995</port> -->
- <!-- port 995 is the well-known/IANA registered port for POP3S
- ie over SSL/TLS -->
- <!-- <bind> </bind> uncomment this if you want to bind to a specific
- inetaddress-->
- <!-- <useTLS>TRUE</useTLS> uncomment this if you want to use TLS (SSL)
- on this port -->
- <handler>
- <!-- helloName is the single host name this instance of James will
- use to identify itself for example, in SMTP and POP3 greetings. If
- autodetect is TRUE, James will attempt to discover its own name OR
- use 'localhost'. If autodetect is FALSE, James will use the value
- given OR 'localhost' -->
- <helloName autodetect="TRUE">myMailServer</helloName>
- <connectiontimeout>120000</connectiontimeout>
- </handler>
- </pop3server>
-
- <smtpserver>
- <port>25</port>
- <!--<bind></bind> uncomment this if you want to bind to a specific
- inetaddress -->
- <!--<useTLS>TRUE</useTLS> uncomment this if you want to use TLS (SSL)
- on this port -->
- <handler>
- <!-- helloName is the single host name this instance of James will
- use to identify itself for example, in SMTP and POP3 greetings. If
- autodetect is TRUE, James will attempt to discover its own name OR
- use 'localhost'. If autodetect is FALSE, James will use the value
- given OR 'localhost' -->
- <helloName autodetect="TRUE">myMailServer</helloName>
- <connectiontimeout>360000</connectiontimeout>
-
- <!--<authRequired>true</authRequired> uncomment this if you want
- SMTP AUTH support. This is useful if you have users who need to use
- the email server on the road, while not having your server act as an
- open relay! -->
-
- <!--<verifyIdentity>true</verifyIdentity> uncomment this if you want
- to verify that the MAIL FROM: address is the same user that
- authenticated. This prevents a user of your mail server from acting
- as somebody else -->
-
- <!-- This sets the maximum allowed message size for the smtphandler
- in KBytes. The value defaults to 0, which means no limit. -->
- <maxmessagesize>0</maxmessagesize>
-
- </handler>
- </smtpserver>
-
- <nntpserver>
- <port>119</port>
- <!-- <port>563</port> -->
- <!-- port 563 is the well-known/IANA registered port for NNTPS
- ie over SSL/TLS -->
- <!-- <bind> </bind> uncomment this if you want to bind to a specific
- inetaddress-->
- <!-- <useTLS>TRUE</useTLS> uncomment this if you want to use TLS (SSL)
- on this port -->
- <handler>
- <!-- helloName is the single host name this instance of James will
- use to identify itself for example, in SMTP and POP3 greetings. If
- autodetect is TRUE, James will attempt to discover its own name OR
- use 'localhost'. If autodetect is FALSE, James will use the value
- given OR 'localhost' -->
- <helloName autodetect="TRUE">myMailServer</helloName>
- <connectiontimeout>120000</connectiontimeout>
- </handler>
- </nntpserver>
-
- <nntpauth>
- <!-- make this true, if you want only authenticated users to access NNTP-->
- <authRequired>false</authRequired>
- </nntpauth>
-
- <nntp-repository>
- <!-- make this true to disallow posting to all newsgroups-->
- <readOnly>false</readOnly>
- <rootPath>file:///var/nntp/groups</rootPath>
- <tempPath>file:///var/nntp/temp</tempPath>
- <articleIDPath>file:///var/nntp/articleid</articleIDPath>
- <articleIDDomainSuffix>news.james.apache.org</articleIDDomainSuffix>
- <!-- these additional news groups would be created and exposed-->
- <newsgroups>
- <newsgroup>org.apache.james.dev</newsgroup>
- <newsgroup>org.apache.james.user</newsgroup>
- <newsgroup>org.apache.avalon.dev</newsgroup>
- <newsgroup>org.apache.avalon.user</newsgroup>
- </newsgroups>
- <spool>
- <configuration>
- <spoolPath>file:///var/nntp/spool</spoolPath>
- <!-- number of threads that process spooler related tasks -->
- <threadCount>1</threadCount>
- <!-- the spool thread(s) should idle for some time,
- if it has nothing to do -->
- <threadIdleTime>1000</threadIdleTime>
- </configuration>
- </spool>
- </nntp-repository>
-
- <!-- The High Level Storage block -->
- <mailstore>
+ <pop3server>
+ <!-- port 995 is the well-known/IANA registered port for POP3S ie over
SSL/TLS -->
+ <!-- port 100 is the well-known/IANA registered port for Standard POP3 -->
+ <port>110</port>
+
+ <!-- uncomment this if you want to bind to a specific inetaddress -->
+ <!--<bind> </bind>-->
+ <!-- uncomment this if you want to use TLS (SSL) on this port -->
+ <!--<useTLS>true</useTLS>-->
+
+ <handler>
+ <!-- helloName is the single host name this instance of James will
+ use to identify itself for example, in SMTP and POP3 greetings. If
+ autodetect is TRUE, James will attempt to discover its own name OR
+ use 'localhost'. If autodetect is FALSE, James will use the value
+ given OR 'localhost' -->
+ <helloName autodetect="TRUE">myMailServer</helloName>
+ <connectiontimeout>120000</connectiontimeout>
+ </handler>
+ </pop3server>
+
+ <smtpserver>
+ <port>25</port>
+
+ <!-- uncomment this if you want to bind to a specific inetaddress -->
+ <!--<bind> </bind>-->
+ <!-- uncomment this if you want to use TLS (SSL) on this port -->
+ <!--<useTLS>true</useTLS>-->
+
+ <handler>
+ <!--helloName is the single host name this instance of James will
+ use to identify itself for example, in SMTP and POP3 greetings. If
+ autodetect is TRUE, James will attempt to discover its own name OR
+ use 'localhost'. If autodetect is FALSE, James will use the value
+ given OR 'localhost' -->
+ <helloName autodetect="TRUE">myMailServer</helloName>
+ <connectiontimeout>360000</connectiontimeout>
+ <!-- uncomment this if you want
+ SMTP AUTH support. This is useful if you have users who need to use
+ the email server on the road, while not having your server act as an
+ open relay! -->
+ <!--<authRequired>true</authRequired>-->
+ <!-- uncomment this if you want
+ to verify that the MAIL FROM: address is the same user that
+ authenticated. This prevents a user of your mail server from acting
+ as somebody else -->
+ <!--<verifyIdentity>true</verifyIdentity>-->
+ <!-- This sets the maximum allowed message size for the smtphandler
+ in KBytes. The value defaults to 0, which means no limit. -->
+ <maxmessagesize>0</maxmessagesize>
+ </handler>
+ </smtpserver>
+ <nntpserver>
+ <!-- port 563 is the well-known/IANA registered port for nntp over SSL/TLS -->
+ <!-- port 119 is the well-known/IANA registered port for Standard nntp -->
+ <port>119</port>
+
+ <!-- uncomment this if you want to bind to a specific inetaddress -->
+ <!--<bind> </bind>-->
+ <!-- uncomment this if you want to use TLS (SSL) on this port -->
+ <!--<useTLS>true</useTLS>-->
+
+ <handler>
+ <!-- helloName is the single host name this instance of James will
+ use to identify itself for example, in SMTP and POP3 greetings. If
+ autodetect is TRUE, James will attempt to discover its own name OR
+ use 'localhost'. If autodetect is FALSE, James will use the value
+ given OR 'localhost' -->
+ <helloName autodetect="TRUE">myMailServer</helloName>
+ <connectiontimeout>120000</connectiontimeout>
+ </handler>
+ </nntpserver>
+
+ <nntpauth>
+ <!-- make this true, if you want only authenticated users to access NNTP-->
+ <authRequired>false</authRequired>
+ </nntpauth>
+
+ <nntp-repository>
+ <!-- make this true to disallow posting to all newsgroups-->
+ <readOnly>false</readOnly>
+
+ <rootPath>file:///var/nntp/groups</rootPath>
+ <tempPath>file:///var/nntp/temp</tempPath>
+ <articleIDPath>file:///var/nntp/articleid</articleIDPath>
+ <articleIDDomainSuffix>news.james.apache.org</articleIDDomainSuffix>
+
+ <!-- these additional news groups would be created and exposed-->
+ <newsgroups>
+ <newsgroup>org.apache.james.dev</newsgroup>
+ <newsgroup>org.apache.james.user</newsgroup>
+ <newsgroup>org.apache.avalon.dev</newsgroup>
+ <newsgroup>org.apache.avalon.user</newsgroup>
+ </newsgroups>
+
+ <spool>
+ <configuration>
+ <spoolPath>file:///var/nntp/spool</spoolPath>
+ <!-- number of threads that process spooler related tasks -->
+ <threadCount>1</threadCount>
+ <!-- the spool thread(s) should idle for some time, if it has nothing
to do -->
+ <threadIdleTime>1000</threadIdleTime>
+ </configuration>
+ </spool>
+
+ </nntp-repository>
+ <!-- The High Level Storage block -->
+ <mailstore>
<repositories>
- <repository
- class="org.apache.james.mailrepository.AvalonMailRepository">
- <protocols>
- <protocol>file</protocol>
- </protocols>
- <types>
- <type>MAIL</type>
- </types>
- </repository>
- <repository
- class="org.apache.james.mailrepository.AvalonSpoolRepository">
- <protocols>
- <protocol>file</protocol>
- </protocols>
- <types>
- <type>SPOOL</type>
- </types>
- </repository>
-
- <!-- These repositories store the entire message in the database -->
- <repository
- class="org.apache.james.mailrepository.JDBCMailRepository">
- <protocols>
- <protocol>db</protocol>
- </protocols>
- <types>
- <type>MAIL</type>
- </types>
- <config>
- <sqlFile>file://conf/sqlResources.xml</sqlFile>
- </config>
- </repository>
- <repository
- class="org.apache.james.mailrepository.JDBCSpoolRepository">
- <protocols>
- <protocol>db</protocol>
- </protocols>
- <types>
- <type>SPOOL</type>
- </types>
- <config>
- <sqlFile>file://conf/sqlResources.xml</sqlFile>
- </config>
- </repository>
- <!-- These repositories store message delivery and headers in the DB, and
the body to the filesystem -->
- <repository
- class="org.apache.james.mailrepository.JDBCMailRepository">
- <protocols>
- <protocol>dbfile</protocol>
- </protocols>
- <types>
- <type>MAIL</type>
- </types>
- <config>
- <sqlFile>file://conf/sqlResources.xml</sqlFile>
- <filestore>file://../../var/dbmail</filestore>
- </config>
- </repository>
- <repository
- class="org.apache.james.mailrepository.JDBCSpoolRepository">
- <protocols>
- <protocol>dbfile</protocol>
- </protocols>
- <types>
- <type>SPOOL</type>
- </types>
- <config>
- <sqlFile>file://conf/sqlResources.xml</sqlFile>
- <filestore>file://../../var/dbmail</filestore>
- </config>
- </repository>
+ <repository class="org.apache.james.mailrepository.AvalonMailRepository">
+ <protocols>
+ <protocol>file</protocol>
+ </protocols>
+ <types>
+ <type>MAIL</type>
+ </types>
+ </repository>
+ <repository class="org.apache.james.mailrepository.AvalonSpoolRepository">
+ <protocols>
+ <protocol>file</protocol>
+ </protocols>
+ <types>
+ <type>SPOOL</type>
+ </types>
+ </repository>
+ <!-- These repositories store the entire message in the database -->
+ <repository class="org.apache.james.mailrepository.JDBCMailRepository">
+ <protocols>
+ <protocol>db</protocol>
+ </protocols>
+ <types>
+ <type>MAIL</type>
+ </types>
+ <config>
+ <sqlFile>file://conf/sqlResources.xml</sqlFile>
+ </config>
+ </repository>
+ <repository class="org.apache.james.mailrepository.JDBCSpoolRepository">
+ <protocols>
+ <protocol>db</protocol>
+ </protocols>
+ <types>
+ <type>SPOOL</type>
+ </types>
+ <config>
+ <sqlFile>file://conf/sqlResources.xml</sqlFile>
+ </config>
+ </repository>
+ <!-- These repositories store message delivery and headers in the DB, and
the body to the filesystem -->
+ <repository class="org.apache.james.mailrepository.JDBCMailRepository">
+ <protocols>
+ <protocol>dbfile</protocol>
+ </protocols>
+ <types>
+ <type>MAIL</type>
+ </types>
+ <config>
+ <sqlFile>file://conf/sqlResources.xml</sqlFile>
+ <filestore>file://var/dbmail</filestore>
+ </config>
+ </repository>
+ <repository class="org.apache.james.mailrepository.JDBCSpoolRepository">
+ <protocols>
+ <protocol>dbfile</protocol>
+ </protocols>
+ <types>
+ <type>SPOOL</type>
+ </types>
+ <config>
+ <sqlFile>file://conf/sqlResources.xml</sqlFile>
+ <filestore>file://var/dbmail</filestore>
+ </config>
+ </repository>
</repositories>
<!-- Spool repository configuration -->
- <!-- The spool repository is a singular location where incoming mails
- are temporarily stored before being processed.
- (ex. file://c:/james/spool/) -->
-
+ <!-- The spool repository is the single location where incoming mails are
temporarily stored before being processed.
+ (ex. file://c:/james/spool/) -->
<!-- Default setting: file based repository - enter path ( :/// for absolute)
-->
<spoolRepository>
- <repository destinationURL="file://../../var/mail/spool/"
- type="SPOOL">
- </repository>
+ <repository destinationURL="file://var/mail/spool/" type="SPOOL"/>
</spoolRepository>
<!-- Alternative spool repository definition for JDBC use -->
+ <!--<spoolRepository>
+ <repository destinationURL="db://maildb/spool/spool" type="SPOOL"/>
+ </spoolRepository>-->
+ </mailstore>
+
+
+ <!-- The User Storage block -->
+ <users-store>
+ <!-- Configure User Repositories here.
+ User repositories are required for the following purposes:
+ - holding information about Users of the James mail server
+ - holding lists of users for the listserv mailet
+ Currently, 2 different storage options are available:
+ - file-based storage using Java serialisation
+ - database-backed storage
+ (Use of database or file-system is defined on a "per-repository" basis)
+ Note: Two user repositories are required for default configuration:
+ LocalUsers - the users for whom you are providing POP3, NNTP, or AUTH service
+ list-james - the users of the james@localhost mailiinglist-->
- <!-- <spoolRepository>
- <repository destinationURL="db://maildb/message/spool"
- type="SPOOL">
- </repository>
- </spoolRepository>
- -->
- </mailstore>
-
- <!-- The User Storage block -->
- <users-store>
- <!-- Configure User Repositories here.
- User repositories are required for the following purposes:
- - hold information about Users of the James mail server
- - hold lists of users for the listserv mailet
-
- Currently, 2 different storage options are available:
- - file-based storage using Java serialisation
- - database-backed storage
- (Use of database or file-system is defined on a "per-repository" basis)
-
- Note: Two user repositories are required for default configuration:
- LocalUsers - the users for whom you are providing POP3, NNTP, or
- AUTH service
- list-james - the users of the james@localhost mailiinglist
- -->
-
- <!-- Default: File-based user repositories
- Use these configurations to store user info in the filesystem -->
-
+ <!-- Default: File-based user repositories Use these configurations to store
user info in the filesystem -->
<!-- The LocalUsers repository, for storing James' User info. -->
- <repository name="LocalUsers"
- class="org.apache.james.userrepository.UsersFileRepository">
- <destination URL="file://../../var/users/"/>
+ <repository name="LocalUsers"
class="org.apache.james.userrepository.UsersFileRepository">
+ <destination URL="file://var/users/"/>
</repository>
+
<!-- The list used by the default ListServ mailet -->
- <repository name="list-james"
- class="org.apache.james.userrepository.UsersFileRepository">
- <destination URL="file://../../var/lists/list-james/"/>
+ <repository name="list-james"
class="org.apache.james.userrepository.UsersFileRepository">
+ <destination URL="file://var/lists/list-james/"/>
</repository>
-
<!-- Database backed user repositories
- Use these configurations to store user info in a database.
- Note: the <data-source> element must refer to a connection configured
- in the <database-connections> configuration section. -->
+ Use these configurations to store user info in a database.
+ Note: the <data-source> element must refer to a connection configured
+ in the <database-connections> configuration section. -->
<!-- The LocalUsers repository, for storing James' User info. -->
+ <!--<repository name="LocalUsers"
class="org.apache.james.userrepository.JamesUsersJdbcRepository"
destinationURL="db://maildb/users">
+ <sqlFile>file://conf/sqlResources.xml</sqlFile>
+ </repository>-->
- <!-- <repository name="LocalUsers"
- class="org.apache.james.userrepository.JamesUsersJdbcRepository"
- destinationURL="db://maildb/users">
- <sqlFile>file://conf/sqlResources.xml</sqlFile>
- </repository>
- -->
<!-- The list used by the default ListServ mailet -->
- <!-- <repository name="list-james"
- class="org.apache.james.userrepository.ListUsersJdbcRepository"
- destinationURL="db://maildb/lists/list-james">
- <sqlFile>file://conf/sqlResources.xml</sqlFile>
- </repository>
- -->
+ <!--<repository name="list-james"
class="org.apache.james.userrepository.ListUsersJdbcRepository"
destinationURL="db://maildb/lists/list-james">
+ <sqlFile>file://conf/sqlResources.xml</sqlFile>
+ </repository>-->
+ </users-store>
+
+ <!-- The database-connections block -->
+ <database-connections>
+ <!-- Configure database connections here. These connections are referred to
by name elsewhere in the config file -->
+ <!-- CHECKME! To allow James to use a database, configure the database
connection here -->
+ <data-sources>
+
+ <!-- James is distributed with a built in relevant copy of the mm.mysql
JDBC -->
+ <!-- driver no additional driver is needed for mysql. Read the mm.mysql
LGPL -->
+ <!-- licence at apps\james\SAR-INF\lib\mm.mysql.LICENCE
-->
- <!-- An example mailinglist repository, with no "listName" parameter
- specified. Uses the default value from the sql definition file. -->
- <!-- Testing purposes only. -->
- <!-- <repository name="list-test"
- class="org.apache.james.userrepository.ListUsersJdbcRepository"
- destinationURL="db://maildb/lists">
- <sqlFile>file://conf/sqlResources.xml</sqlFile>
- </repository>
- -->
- <!-- An example UserRepository for DefaultUser implementations. -->
- <!-- Testing purposes only. -->
- <!-- <repository name="default-users"
- class="org.apache.james.userrepository.DefaultUsersJdbcRepository"
- destinationURL="db://maildb/DefaultUsers">
- <sqlFile>file://conf/sqlResources.xml</sqlFile>
- </repository>
- -->
- </users-store>
+ <!-- JDBC driver .jar libraries for other RDBMS can be placed in
~james/lib/ -->
- <!-- The database-connections block -->
- <database-connections>
- <!-- Confugure database connections here.
- These connections are referred to by name elsewhere in the config file -->
-<!-- CHECKME! To allow James to use a database, configure the database connection
here -->
- <data-sources>
- <!-- Example, connecting to a MySQL database called "mail" on localhost
- -->
- <!--
- <data-source name="maildb"
- class="org.apache.james.util.mordred.JdbcDataSource">
+ <!-- Example, connecting to a MySQL database called "mail" on localhost-->
+ <!--<data-source name="maildb"
class="org.apache.james.util.mordred.JdbcDataSource">
<driver>org.gjt.mm.mysql.Driver</driver>
<dburl>jdbc:mysql://127.0.0.1/mail</dburl>
<user>username</user>
- <password>password</password>
- </data-source>
- <data-source name="maildb"
- class="org.apache.james.util.mordred.JdbcDataSource">
- <driver>com.inet.tds.TdsDriver</driver>
- <dburl>jdbc:inetdae7:127.0.0.1?database=James</dburl>
- <user>sa_james</user>
- <password>blahblah</password>
- </data-source>
- -->
- </data-sources>
- </database-connections>
-
- <!-- Configuration for Cornerstone Blocks only after here
- NOTHING BELOW THIS SHOULD NEED CHANGING,
- (unless you want secure sockets (TLS)) -->
-
- <!-- The Storage block -->
- <objectstorage>
+ <password>password</password> -->
+ <!-- Maximum concurrent connections james may open to this
database-->
+ <!-- If you see "SQLException: Giving up... no connections
available." in your
+ log files or bounced mail increase this value
+ <max>10</max>
+ </data-source>-->
+
+ <!--<data-source name="maildb"
class="org.apache.james.util.mordred.JdbcDataSource">
+ <driver>com.inet.tds.TdsDriver</driver>
+ <dburl>jdbc:inetdae7:127.0.0.1?database=James</dburl>
+ <user>sa_james</user>
+ <password>blahblah</password> -->
+ <!-- Maximum concurrent connections james may open to this
database-->
+ <!-- If you see "SQLException: Giving up... no connections
available." in your
+ log files or bounced mail increase this value
+ <max>10</max>
+ </data-source>-->
+
+ </data-sources>
+ </database-connections>
+
+ <!-- Configuration for Cornerstone Blocks only after here NOTHING BELOW THIS
SHOULD NEED CHANGING,
+ (unless you want secure sockets (TLS)) -->
+ <!-- The Storage block -->
+ <objectstorage>
<repositories>
- <repository
class="org.apache.avalon.cornerstone.blocks.masterstore.File_Persistent_Object_Repository">
- <protocols>
- <protocol>file</protocol>
- </protocols>
- <types>
- <type>OBJECT</type>
- </types>
- <models>
- <model>SYNCHRONOUS</model>
- <model>ASYNCHRONOUS</model>
- <model>CACHE</model>
- </models>
- </repository>
- <repository
class="org.apache.avalon.cornerstone.blocks.masterstore.File_Persistent_Stream_Repository">
- <protocols>
- <protocol>file</protocol>
- </protocols>
- <types>
- <type>STREAM</type>
- </types>
- <models>
- <model>SYNCHRONOUS</model>
- <model>ASYNCHRONOUS</model>
- <model>CACHE</model>
- </models>
- </repository>
- </repositories>
- </objectstorage>
-
- <!-- The Socket Manager block -->
- <sockets>
+ <repository
class="org.apache.avalon.cornerstone.blocks.masterstore.File_Persistent_Object_Repository">
+ <protocols>
+ <protocol>file</protocol>
+ </protocols>
+ <types>
+ <type>OBJECT</type>
+ </types>
+ <models>
+ <model>SYNCHRONOUS</model>
+ <model>ASYNCHRONOUS</model>
+ <model>CACHE</model>
+ </models>
+ </repository>
+ <repository
class="org.apache.avalon.cornerstone.blocks.masterstore.File_Persistent_Stream_Repository">
+ <protocols>
+ <protocol>file</protocol>
+ </protocols>
+ <types>
+ <type>STREAM</type>
+ </types>
+ <models>
+ <model>SYNCHRONOUS</model>
+ <model>ASYNCHRONOUS</model>
+ <model>CACHE</model>
+ </models>
+ </repository>
+ </repositories>
+ </objectstorage>
+ <!-- The Socket Manager block -->
+ <sockets>
<server-sockets>
- <factory name="plain"
-
class="org.apache.avalon.cornerstone.blocks.sockets.DefaultServerSocketFactory" />
- <!--
- <factory name="ssl"
-
class="org.apache.avalon.cornerstone.blocks.sockets.TLSServerSocketFactory">
- <keystore>
- <file>conf/keystore</file>
- <password>secret</password>
- <type>JKS</type>
- <protocol>TLS</protocol>
- <algorithm>SunX509</algorithm>
- <authenticate-client>false</authenticate-client>
- </keystore>
- </factory>
- -->
+ <factory name="plain"
class="org.apache.avalon.cornerstone.blocks.sockets.DefaultServerSocketFactory"/>
+ <!--<factory name="ssl"
class="org.apache.avalon.cornerstone.blocks.sockets.TLSServerSocketFactory">
+ <keystore>
+ <file>conf/keystore</file>
+ <password>secret</password>
+ <type>JKS</type>
+ <protocol>TLS</protocol>
+ <algorithm>SunX509</algorithm>
+ <authenticate-client>false</authenticate-client>
+ </keystore>
+ </factory>-->
</server-sockets>
-
<client-sockets>
- <factory name="plain"
-
class="org.apache.avalon.cornerstone.blocks.sockets.DefaultSocketFactory" />
+ <factory name="plain"
class="org.apache.avalon.cornerstone.blocks.sockets.DefaultSocketFactory"/>
</client-sockets>
- </sockets>
-
- <thread-manager>
+ </sockets>
+ <thread-manager>
<thread-group>
- <name>default</name>
-
- <!-- normal priority == 5, max-priority = 10 -->
- <priority>5</priority>
-
- <!-- are threads deamon threads ? -->
- <is-daemon>false</is-daemon>
-
- <max-threads>40</max-threads>
- <!-- these are ignored at the moment but will be fixed in later revisions
-->
- <min-threads>20</min-threads>
- <min-spare-threads>20</min-spare-threads>
+ <name>default</name>
+ <!-- normal priority == 5, max-priority = 10 -->
+ <priority>5</priority>
+ <!-- are threads daemon threads ? -->
+ <is-daemon>false</is-daemon>
+ <max-threads>40</max-threads>
+ <!-- these are ignored at the moment but will be fixed in later revisions
-->
+ <min-threads>20</min-threads>
+ <min-spare-threads>20</min-spare-threads>
</thread-group>
- </thread-manager>
-
+ </thread-manager>
</config>
1.2 +148 -59 jakarta-james/proposals/imap/conf/james-server.xml
Index: james-server.xml
===================================================================
RCS file: /home/cvs/jakarta-james/proposals/imap/conf/james-server.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- james-server.xml 31 Oct 2001 14:06:57 -0000 1.1
+++ james-server.xml 17 Sep 2002 21:51:27 -0000 1.2
@@ -1,64 +1,153 @@
<?xml version="1.0"?>
-<!--
- README!
- Basic config file that sets up context for server application.
-
--->
<server>
-
- <logs>
- <!-- Specify the target for each category of logger listed below.
- The name is the name in the code and should not be changed by
assemblers, deployers or administrators.
- The priority is the lowest priority of logging mesage recorded.
- -->
-
- <category name="" target="default" priority="DEBUG" />
- <log-target name="default" location="/logs/James-default.log" />
- <category name="James.Mailet" target="James-Mailet-target" priority="DEBUG"
/>
- <log-target name="James-Mailet-target" location="/logs/James.Mailet.log" />
-
- <category name="James" target="James-target" priority="DEBUG"/>
- <log-target name="James-target" location="/logs/James.log"/>
- <category name="spoolmanager" target="spoolmanager-target"
priority="DEBUG"/>
- <log-target name="spoolmanager-target" location="/logs/spoolmanager.log"/>
- <category name="dnsserver" target="dnsserver-target" priority="DEBUG"/>
- <log-target name="dnsserver-target" location="/logs/dnsserver.log"/>
- <category name="remotemanager" target="remotemanager-target"
priority="DEBUG"/>
- <log-target name="remotemanager-target" location="/logs/remotemanager.log"/>
- <category name="imapserver" target="imapserver-target" priority="DEBUG"/>
- <log-target name="imapserver-target" location="/logs/imapserver.log"/>
- <category name="pop3server" target="pop3server-target" priority="DEBUG"/>
- <log-target name="pop3server-target" location="/logs/pop3server.log"/>
- <category name="smtpserver" target="smtpserver-target" priority="DEBUG"/>
- <log-target name="smtpserver-target" location="/logs/smtpserver.log"/>
- <category name="nntpserver" target="nntpserver-target" priority="DEBUG"/>
- <log-target name="nntpserver-target" location="/logs/nntpserver.log"/>
- <category name="nntp-repository" target="nntp-repository-target"
priority="DEBUG"/>
- <log-target name="nntp-repository-target"
location="/logs/nntp-repository.log"/>
- <category name="mailstore" target="mailstore-target" priority="DEBUG"/>
- <log-target name="mailstore-target" location="/logs/mailstore.log"/>
- <category name="users-store" target="users-store-target" priority="DEBUG"/>
- <log-target name="users-store-target" location="/logs/users-store.log"/>
- <category name="objectstorage" target="objectstorage-target"
priority="DEBUG"/>
- <log-target name="objectstorage-target" location="/logs/objectstorage.log"/>
- <category name="connections" target="connections-target" priority="DEBUG"/>
- <log-target name="connections-target" location="/logs/connections.log"/>
- <category name="sockets" target="sockets-target" priority="DEBUG"/>
- <log-target name="sockets-target" location="/logs/sockets.log"/>
- <category name="scheduler" target="scheduler-target" priority="DEBUG"/>
- <log-target name="scheduler-target" location="/logs/scheduler.log"/>
-
- </logs>
-
- <policy>
- <grant code-base="file:${app.home}${/}blocks${/}*">
- <permission class="java.security.AllPermission" />
- </grant>
-
- <grant code-base="file:${app.home}${/}lib${/}*">
- <permission class="java.security.AllPermission" />
- </grant>
- </policy>
+ <logs version="1.1">
+ <!-- see http://jakarta.apache.org/avalon/excalibur/logger/index.html -->
+ <factories>
+ <factory type="file"
class="org.apache.avalon.excalibur.logger.factory.FileTargetFactory"/>
+ </factories>
+
+ <categories>
+ <category name="" log-level="DEBUG">
+ <log-target id-ref="default"/>
+ </category>
+ <category name="James.Mailet" log-level="DEBUG">
+ <log-target id-ref="James-Mailet-target"/>
+ </category>
+ <category name="James" log-level="DEBUG">
+ <log-target id-ref="James-target"/>
+ </category>
+ <category name="spoolmanager" log-level="DEBUG">
+ <log-target id-ref="spoolmanager-target"/>
+ </category>
+ <category name="dnsserver" log-level="DEBUG">
+ <log-target id-ref="dnsserver-target"/>
+ </category>
+ <category name="remotemanager" log-level="DEBUG">
+ <log-target id-ref="remotemanager-target"/>
+ </category>
+ <category name="imapserver" log-level="DEBUG"/>
+ <log-target name="imapserver-target"/>
+ </category>
+ <category name="pop3server" log-level="DEBUG">
+ <log-target id-ref="pop3server-target"/>
+ </category>
+ <category name="smtpserver" log-level="DEBUG">
+ <log-target id-ref="smtpserver-target"/>
+ </category>
+ <category name="nntpserver" log-level="DEBUG">
+ <log-target id-ref="nntpserver-target"/>
+ </category>
+ <category name="nntp-repository" log-level="DEBUG">
+ <log-target id-ref="nntp-repository-target"/>
+ </category>
+ <category name="mailstore" log-level="DEBUG">
+ <log-target id-ref="mailstore-target"/>
+ </category>
+ <category name="users-store" log-level="DEBUG">
+ <log-target id-ref="users-store-target"/>
+ </category>
+ <category name="objectstorage" log-level="DEBUG">
+ <log-target id-ref="objectstorage-target"/>
+ </category>
+ <category name="connections" log-level="DEBUG">
+ <log-target id-ref="connections-target"/>
+ </category>
+ <category name="sockets" log-level="DEBUG">
+ <log-target id-ref="sockets-target"/>
+ </category>
+ <category name="scheduler" log-level="DEBUG">
+ <log-target id-ref="scheduler-target"/>
+ </category>
+ </categories>
+
+ <targets>
+ <file id="default">
+ <filename>${app.home}/logs/default.log</filename>
+ <format>%{time:dd/MM/yy hh:mm:ss} %5.5{priority} %{category}:
%{message}\n%{throwable}</format>
+ <append>true</append>
+ </file>
+ <file id="James-Mailet-target">
+ <filename>${app.home}/logs/mailet.log</filename>
+ <format>%{time:dd/MM/yy hh:mm:ss} %5.5{priority} %{category}:
%{message}\n%{throwable}</format>
+ <append>true</append>
+ </file>
+ <file id="James-target">
+ <filename>${app.home}/logs/james.log</filename>
+ <format>%{time:dd/MM/yy hh:mm:ss} %5.5{priority} %{category}:
%{message}\n%{throwable}</format>
+ <append>true</append>
+ </file>
+ <file id="spoolmanager-target">
+ <filename>${app.home}/logs/spoolmanager.log</filename>
+ <format>%{time:dd/MM/yy hh:mm:ss} %5.5{priority} %{category}:
%{message}\n%{throwable}</format>
+ <append>true</append>
+ </file>
+ <file id="dnsserver-target">
+ <filename>${app.home}/logs/dnsserver.log</filename>
+ <format>%{time:dd/MM/yy hh:mm:ss} %5.5{priority} %{category}:
%{message}\n%{throwable}</format>
+ <append>true</append>
+ </file>
+ <file id="remotemanager-target">
+ <filename>${app.home}/logs/remotemanager.log</filename>
+ <format>%{time:dd/MM/yy hh:mm:ss} %5.5{priority} %{category}:
%{message}\n%{throwable}</format>
+ <append>true</append>
+ </file>
+ <file id="imapserver-target">
+ <filename>${app.home}/logs/imapserver.log</filename>
+ <format>%{time:dd/MM/yy hh:mm:ss} %5.5{priority} %{category}:
%{message}\n%{throwable}</format>
+ <append>true</append>
+ </file>
+ <file id="pop3server-target">
+ <filename>${app.home}/logs/pop3server.log</filename>
+ <format>%{time:dd/MM/yy hh:mm:ss} %5.5{priority} %{category}:
%{message}\n%{throwable}</format>
+ <append>true</append>
+ </file>
+ <file id="smtpserver-target">
+ <filename>${app.home}/logs/smtpserver.log</filename>
+ <format>%{time:dd/MM/yy hh:mm:ss} %5.5{priority} %{category}:
%{message}\n%{throwable}</format>
+ <append>true</append>
+ </file>
+ <file id="nntpserver-target">
+ <filename>${app.home}/logs/nntpserver.log</filename>
+ <format>%{time:dd/MM/yy hh:mm:ss} %5.5{priority} %{category}:
%{message}\n%{throwable}</format>
+ <append>true</append>
+ </file>
+ <file id="nntp-repository-target">
+ <filename>${app.home}/logs/nntpstore.log</filename>
+ <format>%{time:dd/MM/yy hh:mm:ss} %5.5{priority} %{category}:
%{message}\n%{throwable}</format>
+ <append>true</append>
+ </file>
+ <file id="mailstore-target">
+ <filename>${app.home}/logs/mailstore.log</filename>
+ <format>%{time:dd/MM/yy hh:mm:ss} %5.5{priority} %{category}:
%{message}\n%{throwable}</format>
+ <append>true</append>
+ </file>
+ <file id="users-store-target">
+ <filename>${app.home}/logs/usersstore.log</filename>
+ <format>%{time:dd/MM/yy hh:mm:ss} %5.5{priority} %{category}:
%{message}\n%{throwable}</format>
+ <append>true</append>
+ </file>
+ <file id="objectstorage-target">
+ <filename>${app.home}/logs/objectstore.log</filename>
+ <format>%{time:dd/MM/yy hh:mm:ss} %5.5{priority} %{category}:
%{message}\n%{throwable}</format>
+ <append>true</append>
+ </file>
+ <file id="connections-target">
+ <filename>${app.home}/logs/connections.log</filename>
+ <format>%{time:dd/MM/yy hh:mm:ss} %5.5{priority} %{category}:
%{message}\n%{throwable}</format>
+ <append>true</append>
+ </file>
+ <file id="sockets-target">
+ <filename>${app.home}/logs/sockets.log</filename>
+ <format>%{time:dd/MM/yy hh:mm:ss} %5.5{priority} %{category}:
%{message}\n%{throwable}</format>
+ <append>true</append>
+ </file>
+ <file id="scheduler-target">
+ <filename>${app.home}/logs/scheduler.log</filename>
+ <format>%{time:dd/MM/yy hh:mm:ss} %5.5{priority} %{category}:
%{message}\n%{throwable}</format>
+ <append>true</append>
+ </file>
+ </targets>
+ </logs>
</server>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>