You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by hb...@apache.org on 2001/04/21 23:27:32 UTC

cvs commit: jakarta-james/conf james-assembly.xml james-server.xml

hbedi       01/04/21 14:27:32

  Modified:    conf     james-assembly.xml james-server.xml
  Log:
  Split code into blocks.
  Logger related changes. NNTP was doing too much logging. server.xml is
  generated from assembly.xml
  assembly.xml contains configuration information
  MailStore does not use URLs. This was causing MalformedURLException.
  
  Revision  Changes    Path
  1.4       +503 -4    jakarta-james/conf/james-assembly.xml
  
  Index: james-assembly.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-james/conf/james-assembly.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- james-assembly.xml	2001/04/21 16:41:56	1.3
  +++ james-assembly.xml	2001/04/21 21:27:31	1.4
  @@ -17,6 +17,92 @@
                role="org.apache.cornerstone.services.connection.ConnectionManager"/>
       <provide name="scheduler"
                role="org.apache.cornerstone.services.scheduler.TimeScheduler"/>
  +  <configuration>
  +<!-- CHECKME! Set this to the right email address for error reports -->
  +      <postmaster> Postmaster@localhost </postmaster>
  +
  +      <!-- 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>
  +
  +<!-- 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>
  +
  +      <!-- 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>basic</storage>
  +
  +      <!-- If storage is set to IMAP, systemClass and hostClass must point to
  +      the appropriate classes. -->
  +      <imapSetup systemClass="org.apache.james.imapserver.SimpleSystem"
  +                 hostClass="org.apache.james.imapserver.JamesHost"/>
  +      <imapHost>
  +        <recordRepository>var/mail/folderRecords/</recordRepository>
  +        <mailboxRepository>var/mail/mailboxes/</mailboxRepository>
  +        <namespaces token="#">
  +          <privateNamespace separator=".">#mail</privateNamespace>
  +          <otherusersNamespace separator=".">#users</otherusersNamespace>
  +          <sharedNamespace separator=".">#shared</sharedNamespace>
  +        </namespaces>
  +      </imapHost> 
  +
  +      <!-- The spool repository is a singular location where incoming mails
  +      are temporarily stored before being processed.
  +     (ex. file://c:/james/spool/) -->
  +      <spoolRepository>
  +        <repository destinationURL="file://var/mail/spool/"
  +                    type="SPOOL"
  +                    model="SYNCHRONOUS">
  +        </repository>
  +      </spoolRepository>
  +
  +      <!-- Alternative spool repository definition for Town use
  +      <spoolRepository>
  +        <repository destinationURL="town://mainspool"
  +                    type="SPOOL"
  +                    model="SYNCHRONOUS">
  +          <conn>file:///dev/james/dist/var/maildatabase</conn>
  +          <table>Message</table>
  +        </repository>
  +      </spoolRepository>
  +      -->
  +
  +      <!-- The inbox repository is the location for users inboxes -->
  +      <inboxRepository>
  +        <repository destinationURL="file://var/mail/inboxes/"
  +                    type="MAIL"
  +                    model="SYNCHRONOUS">
  +        </repository>
  +      </inboxRepository>
  +
  +      <!-- Alternative inbox repository definition for Town use
  +      <inboxRepository>
  +        <repository destinationURL="town://inbox"
  +                    type="SPOOL"
  +                    model="SYNCHRONOUS">
  +          <conn>file:///dev/james/dist/var/maildatabase</conn>
  +          <table>Message</table>
  +        </repository>
  +      </inboxRepository>
  +      -->
  +  </configuration>
     </block>
   
     <!-- The James Spool Manager block  -->
  @@ -24,10 +110,201 @@
   	name="spoolmanager" >
       <provide name="James" role="org.apache.mailet.MailetContext"/>
       <provide name="mailstore" role="org.apache.james.services.MailStore"/>
  +  <configuration>
  +      <!-- The spool repository is a singular location where incoming mails
  +      are temporarily stored before being processed.
  +     (ex. file://c:/james/spool/) -->
  +      <spoolRepository>
  +        <repository destinationURL="file://var/mail/spool/"
  +                    type="SPOOL"
  +                    model="SYNCHRONOUS">
  +        </repository>
  +      </spoolRepository>
  +
  +      <!-- Alternative spool repository definition for Town use
  +      <spoolRepository>
  +        <repository destinationURL="town://mainspool"
  +                    type="SPOOL"
  +                    model="SYNCHRONOUS">
  +          <conn>file:///dev/james/dist/var/maildatabase</conn>
  +          <table>Message</table>
  +        </repository>
  +      </spoolRepository>
  +      -->
  +
  +      <!-- number of spool threads -->
  +      <threads> 1 </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">
  +            <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">
  +            <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>
  +
  +          <!-- Sample matching to kill a message (send to Null) -->
  +          <mailet match="RecipientIs=badboy@badhost" class="Null">
  +          </mailet>
  +
  +          <!-- Sample listserv wrapping a local avalon list of users. -->
  +          <mailet match="CommandForListserv=james@localhost"
  +                  class="AvalonListservManager">
  +            <membersPath> file://var/users/list-james </membersPath>
  +          </mailet>
  +
  +          <mailet match="RecipientIs=james@localhost" class="AvalonListserv">
  +            <membersonly> false </membersonly>
  +            <attachmentsallowed> true </attachmentsallowed>
  +            <replytolist> true </replytolist>
  +            <membersPath>file://var/users/list-james</membersPath>
  +          </mailet>
  +
  +          <!-- Sends remaining mails to the transport processor for either
  +          local or remote delivery -->
  +          <mailet match="All" class="ToProcessor">
  +            <processor> transport </processor>
  +          </mailet>
  +        </processor>
  +
  +        <!-- 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> town://mail-error </repositoryPath>-->
  +            <passThrough> true </passThrough>
  +          </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">
  +            <processor>error</processor>
  +          </mailet>
  +
  +<!-- 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 -->
  +          <mailet match="RemoteAddrNotInNetwork=127.0.0.1" class="ToProcessor">
  +            <processor> spam </processor>
  +          </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>
  +            <!-- <outgoing> town://mail-outgoing </outgoing>-->
  +            <delayTime> 21600000 </delayTime>
  +            <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>
  +            <!-- <repositoryPath> town://spam </repositoryPath> -->
  +          </mailet>
  +        </processor>
  +  </configuration>
     </block>
   
   
  -  <block class="org.apache.james.dnsserver.DNSServer" name="dnsserver" />
  +  <block class="org.apache.james.dnsserver.DNSServer" name="dnsserver">
  +  <configuration>
  +        <servers>
  +          <server>127.0.0.1</server>
  +          <!--<server> put extra dns server address here </server>-->
  +        </servers>
  +        <authoritative>false</authoritative>
  +  </configuration>
  +  </block>
   
     <block class="org.apache.james.remotemanager.RemoteManager" name="remotemanager" >
       <provide name="mailstore" role="org.apache.james.services.MailStore"/>
  @@ -39,6 +316,21 @@
       <provide name="scheduler"
           role="org.apache.cornerstone.services.scheduler.TimeScheduler"/>
       <provide name="James" role="org.apache.james.services.MailServer"/>
  +  <configuration>
  +        <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 -->
  +        <administrator_accounts>
  +
  +          <!-- FILL ME!!!!!!  You must provide a password for your
  +          administrator accounts (cannot be blank) -->
  +          <account login="root" password="root"/>
  +
  +        </administrator_accounts>
  +        <connectiontimeout> 60000 </connectiontimeout>
  +  </configuration>
     </block>
   
     <!-- WARNING - The IMAP server is only experimental, ie pre-alpha -->
  @@ -52,6 +344,18 @@
       <provide name="scheduler"
           role="org.apache.cornerstone.services.scheduler.TimeScheduler"/>
       <provide name="James" role="org.apache.james.services.MailServer"/>
  +  <configuration>
  +        <port>143</port>
  +        <!-- <port>995</port> -->
  +        <!-- need to check what if any IMAP over SSL uses -->
  +        <!-- <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 -->
  +        <imaphandler>
  +          <connectiontimeout>1800000</connectiontimeout>
  +	</imaphandler>
  +  </configuration>
     </block>
   
     <!-- POP3 Server -->
  @@ -65,6 +369,19 @@
       <provide name="scheduler"
           role="org.apache.cornerstone.services.scheduler.TimeScheduler"/>
       <provide name="James" role="org.apache.james.services.MailServer"/>
  +  <configuration>
  +        <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 -->
  +        <pop3handler>
  +          <connectiontimeout>120000</connectiontimeout>
  +        </pop3handler>
  +  </configuration>
     </block>
   
     <!-- SMTP Server -->
  @@ -78,6 +395,21 @@
       <provide name="scheduler"
           role="org.apache.cornerstone.services.scheduler.TimeScheduler"/>
       <provide name="James" role="org.apache.james.services.MailServer"/>
  +  <configuration>
  +        <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 -->
  +        <smtphandler>
  +          <connectiontimeout>360000</connectiontimeout>
  +          <!-- This sets the maximum allowed message size for the smtphandler
  +          in KBytes.
  +          The value defaults to 0, which means no limit.
  +          <maxmessagesize>0</maxmessagesize>
  +           -->
  +        </smtphandler>
  +  </configuration>
     </block>
   
     <!-- NNTP Server -->
  @@ -92,16 +424,104 @@
           role="org.apache.cornerstone.services.scheduler.TimeScheduler"/>
       <provide name="nntp-repository"
           role="org.apache.james.nntpserver.repository.NNTPRepository"/>
  +  <configuration>
  +        <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 -->
  +        <nntphandler>
  +          <connectiontimeout>120000</connectiontimeout>
  +	  <!-- make this true, if you want only authenticated users to access NNTP-->
  +          <authRequired>false</authRequired>
  +        </nntphandler>
  +  </configuration>
     </block>
   
     <!-- NNTP Repository -->
     <block class="org.apache.james.nntpserver.repository.NNTPRepositoryImpl" name="nntp-repository" >
  +  <configuration>
  +        <!-- 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>
  +  </configuration>
     </block>
   
     <!-- The High Level Storage block -->
     <block class="org.apache.james.core.AvalonMailStore" name="mailstore" >
       <provide name="objectstorage"
                role="org.apache.cornerstone.services.store.Store"/> 
  +  <configuration>
  +      <repositories>
  +        <repository
  +            class="org.apache.james.mailrepository.AvalonMailRepository">
  +          <protocols>
  +            <protocol>file</protocol>
  +          </protocols>
  +          <types>
  +            <type>MAIL</type>
  +          </types>
  +          <models>
  +            <model>SYNCHRONOUS</model>
  +            <model>ASYNCHRONOUS</model>
  +            <model>CACHE</model>
  +          </models>
  +        </repository>
  +        <repository
  +            class="org.apache.james.mailrepository.AvalonSpoolRepository">
  +          <protocols>
  +            <protocol>file</protocol>
  +          </protocols>
  +          <types>
  +            <type>SPOOL</type>
  +          </types>
  +          <models>
  +            <model>SYNCHRONOUS</model>
  +            <model>ASYNCHRONOUS</model>
  +            <model>CACHE</model>
  +          </models>
  +        </repository>
  +
  +        <repository
  +            class="org.apache.james.mailrepository.TownSpoolRepository">
  +          <protocols>
  +            <protocol>town</protocol>
  +          </protocols>
  +          <types>
  +            <type>SPOOL</type>
  +            <type>MAIL</type>
  +          </types>
  +          <models>
  +            <model>SYNCHRONOUS</model>
  +            <model>ASYNCHRONOUS</model>
  +            <model>CACHE</model>
  +          </models>
  +        </repository>
  +      </repositories>
  +  </configuration>
     </block>
          
     <!-- The User Storage block -->
  @@ -109,6 +529,26 @@
       <!-- Configure file based user store here, defaults should be fine -->
       <provide name="objectstorage"
                role="org.apache.cornerstone.services.store.Store"/>
  +  <configuration>
  +      <repository name="LocalUsers"
  +                  class="org.apache.james.userrepository.UsersFileRepository">
  +        <destination URL="file://var/users/"/>
  +      </repository>
  +      
  +      <!-- Uncomment this to store users in an RDBMS
  +      <repository name="LocalUsers"
  +                  class="org.apache.james.userrepository.UsersTownRepository">
  +        <destination URL="town://users/">
  +        <conn>file:///var/maildatabase</conn>
  +        <table>Users</table>
  +      </repository>
  +      -->
  +      
  +      <repository name="list-james"
  +                  class="org.apache.james.userrepository.UsersFileRepository">
  +        <destination URL="file://var/lists/list-james/"/>
  +      </repository>
  +  </configuration>
     </block>
         
   
  @@ -118,15 +558,74 @@
   
     <!-- The Storage block -->
     <block class="org.apache.cornerstone.blocks.masterstore.RepositoryManager" 
  -         name="objectstorage" />
  +         name="objectstorage">
  +  <configuration>
  +      <repositories>
  +        <repository class="org.apache.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.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>
  +  </configuration>
  +  </block>
   
     <!-- The Connection Manager block -->
     <block class="org.apache.cornerstone.blocks.connection.DefaultConnectionManager" 
  -           name="connections" />
  +           name="connections">
  +  <configuration>
  +  </configuration>
  +  </block>
   
     <!-- The Socket Manager block -->
     <block class="org.apache.cornerstone.blocks.sockets.DefaultSocketManager"
  -         name="sockets" />
  +         name="sockets">
  +  <configuration>
  +      <server-sockets>
  +        <factory name="plain"
  +                 class="org.apache.cornerstone.blocks.sockets.DefaultServerSocketFactory" />
  +        <!--
  +        <factory name="ssl" 
  +                 class="org.apache.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.cornerstone.blocks.sockets.DefaultSocketFactory" />
  +      </client-sockets>
  +  </configuration>
  +  </block>
   
     <!-- The Time Manager block -->
     <block class="org.apache.cornerstone.blocks.scheduler.DefaultTimeScheduler" 
  
  
  
  1.2       +34 -39    jakarta-james/conf/james-server.xml
  
  Index: james-server.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-james/conf/james-server.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- james-server.xml	2001/04/20 01:51:20	1.1
  +++ james-server.xml	2001/04/21 21:27:31	1.2
  @@ -11,48 +11,43 @@
        <!--  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.
  -           In theory (but not tested) assemblers etc can point multiple categories at the same target.
         -->
  -      <category name="" target="default" priority="DEBUG" />
  -      <category name="objectstorage" target="objectstorage-target" priority="DEBUG" />
  -      <category name="james-storage" target="james-storage-target" priority="DEBUG" />
  -      <category name="mailstore" target="mailstore-target" priority="DEBUG" />
  -      <category name="users-store" target="userstore-target" priority="DEBUG" />
  -      <category name="james" target="james-core-target" priority="DEBUG" />
  -      <category name="JamesCore" target="james-core-target" priority="DEBUG" />
  -      <category name="Mailets" target="mailets-target" priority="DEBUG" />
  -      <category name="James.SMTPServer" target="smtpserver-target" priority="DEBUG" />
  -      <category name="James.POP3Server" target="pop3server-target" priority="DEBUG" />
  -      <category name="James.NNTPServer" target="nntpserver-target" priority="DEBUG" />
  -      <category name="James.DnsServer" target="dnsserver-target" priority="DEBUG" />
  -      <category name="James.RemoteManager" target="remotemanager-target" priority="DEBUG" />
  -      <category name="James.SpoolManager" target="spoolmanager-target" priority="DEBUG" />
  -      <category name="MailRepository" target="mailrepository-target" priority="DEBUG" />
  -      <category name="James.IMAPServer" target="imapserver-target" priority="DEBUG" />
  -      <category name="Security" target="security-target" priority="DEBUG" />
  -      <category name="JamesHost" target="jameshost-target" priority="DEBUG" />
   
  -      <!--  Specify where to write each log target listed below. 
  -       The location is relative to the directory of the sar ?
  -      -->
  +        <category name="" target="default" priority="DEBUG" />
  +        <log-target name="default" location="/logs/James-default.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"/>
   
  -      <log-target name="default" location="/logs/avalon-demo.log" />
  -      <log-target name="objectstorage-target" location="/logs/objectstorage.log" />
  -      <log-target name="james-storage-target" location="/logs/jamesstorage.log" />
  -      <log-target name="mailstore-target" location="/logs/mailstore.log" />
  -      <log-target name="userstore-target" location="/logs/userstore.log" />
  -      <log-target name="james-core-target" location="/logs/james-core.log" />
  -      <log-target name="mailets-target" location="/logs/mailets.log" />
  -      <log-target name="smtpserver-target" location="/logs/smtpserver.log" />
  -      <log-target name="pop3server-target" location="/logs/pop3server.log" />
  -      <log-target name="nntpserver-target" location="/logs/pop3server.log" />
  -      <log-target name="dnsserver-target" location="/logs/dnsserver.log" />
  -      <log-target name="remotemanager-target" location="/logs/remotemanager.log" />
  -      <log-target name="spoolmanager-target" location="/logs/spoolmanager.log" />
  -      <log-target name="mailrepository-target" location="/logs/mailrepository.log" />
  -      <log-target name="imapserver-target" location="/logs/imapserver.log" />
  -      <log-target name="security-target" location="/logs/security.log" />
  -      <log-target name="jameshost-target" location="/logs/jameshost.log" />
       </logs>
   
       <threads>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org