72. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 8/16/2019 12:02:02 PM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

72.1 Files compared

# Location File Last Modified
1 Direct_DSM.zip\Direct_DSM\configurations\preprod\apache-james config.xml Tue Aug 13 17:30:06 2019 UTC
2 Direct_DSM.zip\Direct_DSM\configurations\preprod\apache-james config.xml Fri Aug 16 12:28:34 2019 UTC

72.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 8 1870
Changed 7 18
Inserted 0 0
Removed 0 0

72.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

72.4 Active regular expressions

No regular expressions were active.

72.5 Comparison detail

  1   <?xml 
  2     version="1 .0"
  3   ?>
  4   <!DOCTYPE  config [
  5   <!ENTITY l istserverC onfig SYST EM "../con f/james-li stmanager. xml">
  6   <!ENTITY l istserverS tores SYST EM "../con f/james-li ststores.x ml">
  7   <!ENTITY f etchmailCo nfig SYSTE M "../conf /james-fet chmail.xml ">
  8   <!ENTITY s mtphandler chainConfi g SYSTEM " ../conf/ja mes-smtpha ndlerchain .xml">
  9   ]>
  10   <!-- 
  11    Licensed  to the Apa che Softwa re Foundat ion (ASF)  under one    
  12    or more c ontributor  license a greements.   See the  NOTICE fil
  13    distribut ed with th is work fo r addition al informa tion         
  14    regarding  copyright  ownership .  The ASF  licenses  this file    
  15    to you un der the Ap ache Licen se, Versio n 2.0 (the              
  16    "License" ); you may  not use t his file e xcept in c ompliance    
  17    with the  License.   You may ob tain a cop y of the L icense at    
  18                                                                        
  19      http:// www.apache .org/licen ses/LICENS E-2.0                   
  20                                                                        
  21     Unless r equired by  applicabl e law or a greed to i n writing,    
  22    software  distribute d under th e License  is distrib uted on an   
  23    "AS IS" B ASIS, WITH OUT WARRAN TIES OR CO NDITIONS O F ANY        
  24    KIND, eit her expres s or impli ed.  See t he License  for the     
  25    specific  language g overning p ermissions  and limit ations       
  26    under the  License.   
  27   -->
  28   <config>
  29      <James>
  30           <postmaste r> DNS . URL:PORT </postmast er>
  31         <ser vernames a utodetect= "true" aut odetectIP= "true">     
  32           <servernam e> DNS . URL:PORT </serverna me>
  33               <servernam e> DNS . URL:PORT </serverna me>
  34           <servernam e> DNS . URL </serverna me>
  35         <ser vername>lo calhost</s ervername>
  36         </se rvernames>
  37  
  38         <!--  Set wheth er user na mes are ca se sensiti ve or case  insensiti ve -->
  39         <!--  Set wheth er to enab le local a liases -->
  40         <!--  Set wheth er to enab le forward ing -->
  41         <use rnames ign oreCase="t rue" enabl eAliases=" true" enab leForwardi ng="true"/ >
  42  
  43         <!--  The inbox  repositor y is the l ocation fo r users in boxes -->
  44         <!--  Default s etting: fi le based r epository  - enter pa th ( use   "file:///"  for absol ute) -->
  45         <inb oxReposito ry>
  46            < repository  destinati onURL="fil e://var/ma il/inboxes /" type="M AIL"/>
  47         </in boxReposit ory>
  48      </James >
  49  
  50      &fetchm ailConfig;
  51  
  52      <!-- Se t the Java  packages  from which  to load m ailets and  matchers  -->
  53      <mailet packages>
  54         <mai letpackage >org.apach e.james.tr ansport.ma ilets</mai letpackage >
  55         <mai letpackage >org.apach e.james.tr ansport.ma ilets.smim e</mailetp ackage>
  56         <mai letpackage >org.nhind irect.gate way.smtp.j ames.maile t</mailetp ackage>
  57         <mai letpackage >org.nhind .james.mai let</maile tpackage>
  58      </maile tpackages>
  59      <matche rpackages>
  60         <mat cherpackag e>org.apac he.james.t ransport.m atchers</m atcherpack age>
  61         <mat cherpackag e>org.apac he.james.t ransport.m atchers.sm ime</match erpackage>
  62         <mat cherpackag e>org.nhin direct.gat eway.smtp. james.matc her</match erpackage>
  63         <mat cherpackag e>org.nhin d.james.ma tcher</mat cherpackag e>
  64      </match erpackages >
  65  
  66      <!-- Th e James Sp ool Manage r block  - ->
  67      <spoolm anager>
  68         <thr eads> 10 < /threads>
  69         <!--  The root  processor  is a requi red proces sor - Jame s routes a ll mail on  the spool  -->
  70         <pro cessor nam e="root">
  71            < mailet mat ch="All" c lass="Post masterAlia s"/>
  72            < !-- Import ant check  to avoid l ooping -->
  73            < mailet mat ch="RelayL imit=30" c lass="Null "/>
  74            < !-- If inf ected go t o virus pr ocessor -- >
  75            < mailet mat ch="HasMai lAttribute WithValue= org.apache .james.inf ected, tru e" class=" ToProcesso r">
  76                <process or> virus  </processo r>
  77            < /mailet>
  78            < !-- Anti-s pam proces sing -->
  79            < !-- The fo llowing tw o entries  avoid doub le anti-sp am analysi s -->
  80            < !-- for fo rwarded me ssages. -- >
  81            < !-- Has sp am checkin g already  been done?  -->
  82            < mailet mat ch="HasMai lAttribute =spamCheck ed" class= "ToProcess or">
  83                <process or> transp ort </proc essor>
  84            < /mailet>
  85            < !-- Spam c hecking wi ll not be  done twice  -->
  86            < mailet mat ch="All" c lass="SetM ailAttribu te">
  87                <spamChe cked>true< /spamCheck ed>
  88            < /mailet>
  89            < !-- Messag es from au thenticate d senders  never are  spam -->
  90            < mailet mat ch="SMTPAu thSuccessf ul" class= "ToProcess or">
  91                <process or> transp ort </proc essor>
  92            < /mailet>
  93            < !-- People  on this l ist agree  to pay a p enalty if  they send  spam -->
  94            < mailet mat ch="InSpam merBlackli st=query.b ondedsende r.org."
  95                     cla ss="ToProc essor">
  96               <processo r> transpo rt </proce ssor>
  97            < /mailet>
  98  
  99            < !-- End of  White Lis t -->
  100  
  101            < !-- Check  for delive ry from a  known spam  server -- >
  102            < !-- This s et of matc hers/maile ts redirec t all emai ls from kn own -->
  103            < !-- black  holes, ope n relays,  and spam s ervers to  the spam p rocessor - ->
  104            < !-- For th is set to  function p roperly, t he spam pr ocessor mu st be conf igured. -- >
  105   <!--           <maile t match="I nSpammerBl acklist=dn sbl.njabl. org."
  106                     cla ss="ToProc essor">
  107               <processo r> spam </ processor>
  108               <notice>5 50 Request ed action  not taken:  rejected  - see http ://njabl.o rg/ </noti ce>
  109            < /mailet>    -->
  110  
  111            < !-- Send r emaining m ails to th e transpor t processo r for eith er local o r remote d elivery -- >
  112            < mailet mat ch="All" c lass="ToPr ocessor">
  113                <process or> transp ort </proc essor>
  114            < /mailet>
  115         </pr ocessor>
  116  
  117         <!--  The error  processor  is requir ed.  James  may inter nally set  emails to  the -->
  118         <!--  error sta te.  The e rror proce ssor is ge nerally in voked when  there is  an -->
  119         <!--  unexpecte d error ei ther in th e mailet c hain or in ternal to  James. -->
  120         <!--  -->
  121         <!--  By defaul t configur ation all  email that  generates  an error  in placed  in -->
  122         <!--  an error  repository . -->
  123         <pro cessor nam e="error">
  124            < !-- If you  want to n otify the  sender the ir message  generated  an error,  uncomment  this        -->
  125            < !--
  126            < mailet mat ch="All" c lass="Boun ce"/>
  127            - ->
  128            < !-- If you  want to n otify the  postmaster  that a me ssage gene rated an e rror, unco mment this   -->
  129            < !--
  130            < mailet mat ch="All" c lass="Noti fyPostmast er"/>
  131            - ->
  132  
  133            < !-- Logs a ny message s to the r epository  specified  -->
  134            < mailet mat ch="All" c lass="ToRe pository">
  135                <reposit oryPath> f ile://var/ mail/error /</reposit oryPath>
  136                <!-- An  alternativ e database  repositor y example  follows. - ->
  137                <!--
  138                <reposit oryPath> d b://maildb /deadlette r/error </ repository Path>
  139                -->
  140            < /mailet>
  141         </pr ocessor>
  142  
  143         <!--  Processor  CONFIGURA TION SAMPL E: transpo rt is a sa mple custo m processo r for loca l or -->
  144         <!--  remote de livery -->
  145         <pro cessor nam e="transpo rt">
  146  
  147           <! -- This is  an exampl e configur ation incl uding conf iguration  for a list  server. - ->
  148           <! -- CHECKME : before u ncommentin g this, ed it the con figuration  file's co ntents   - ->
  149           <! --
  150              &listserve rConfig;
  151           -- >
  152  
  153            < mailet mat ch="SMTPAu thSuccessf ul" class= "SetMimeHe ader">
  154                <name>X- UserIsAuth </name>
  155                <value>t rue</value >
  156            < /mailet>
  157       
  158            < mailet mat ch="HasMai lAttribute =org.apach e.james.SM IMECheckSi gnature" c lass="SetM imeHeader" >
  159                <name>X- WasSigned< /name>
  160                <value>t rue</value >
  161            < /mailet>
  162            
  163                    <mai let match= "HasHeader =X-VAPrePr odProcesse d" class=" ToProcesso r">
  164                             <proce ssor>Direc tOutgoing< /processor >
  165                    </ma ilet>
  166                    
  167                      <mailet ma tch="Recip AndSenderI sNotLocal= DNS . URL:PORT , DNS . URL:PORT " class="N HINDSecuri tyAndTrust MailetCust ">
  168                    <Con figURL>htt p://localh ost:8081/c onfig-serv ice/Config urationSer vice</Conf igURL>
  169                             <Messa geMonitori ngServiceU RL>http:// localhost: 8081/msg-m onitor</Me ssageMonit oringServi ceURL>
  170                             <AutoD SNFailueCr eation>Gen eral,Relia bleAndTime ly</AutoDS NFailueCre ation>
  171                    </ma ilet>
  172  
  173                    <mai let match= "IsNotific ation" cla ss="Suppre ssAndTrack Aggregate" >
  174                <Message Monitoring ServiceURL >http://lo calhost:80 81/msg-mon itor</Mess ageMonitor ingService URL>
  175                <Consume MDNProcess ed>true</C onsumeMDNP rocessed>              
  176           </ mailet>
  177           
  178                    <mai let match= "All" clas s="AddHead er">
  179                             <name> X-VAPrePro dProcessed </name>
  180                             <value >true</val ue>
  181                    </ma ilet>
  182  
  183                    <mai let match= "HasHeader =X-WasSign ed" class= "ToProcess or">
  184                             <proce ssor>Direc tOutgoing< /processor >
  185                    </ma ilet>
  186  
  187                     <mailet ma tch="Recip HostIsLoca l= DNS . URL:PORT , DNS . URL:PORT " class="T oProcessor ">
  188                             <proce ssor>Direc tIncoming< /processor >
  189                    </ma ilet>
  190  
  191                    <mai let match= "All" clas s="ToProce ssor">
  192                             <proce ssor>Direc tOutgoing< /processor >
  193                    </ma ilet>
  194         </pr ocessor>
  195  
  196         <!--  Processor  CONFIGURA TION SAMPL E: spam is  a sample  custom pro cessor for  handling  -->
  197         <!--  spam. -->
  198         <!--  You can e ither log  these, bou nce these,  or just i gnore them . -->
  199         <pro cessor nam e="spam">
  200            < !-- To log  the messa ge to a re pository,  this match er/mailet  configurat ion should  be uncomm ented. -->
  201            < !-- This i s the defa ult config uration. - ->
  202            < mailet mat ch="All" c lass="ToRe pository">
  203                <reposit oryPath>fi le://var/m ail/spam/< /repositor yPath>
  204                <!--
  205                <reposit oryPath> d b://maildb /deadlette r/spam </r epositoryP ath>
  206                -->
  207            < /mailet>
  208         </pr ocessor>
  209  
  210         <!--  messages  containing  viruses.  -->
  211         <pro cessor nam e="virus">
  212            < !-- To avo id a loop  while boun cing -->
  213            < mailet mat ch="All" c lass="SetM ailAttribu te">
  214                <org.apa che.james. infected>t rue, bounc ing</org.a pache.jame s.infected >
  215            < /mailet>
  216  
  217            < !-- If the  sender is  authentic ated, noti fy the inf ection -->
  218            < mailet mat ch="SMTPAu thSuccessf ul" class= "Bounce">
  219                <inline> heads</inl ine>
  220                <attachm ent>none</ attachment >
  221                <notice>  Warning:  We were un able to de liver the  message be low becaus e it was f ound infec ted by vir us(es). </ notice>
  222            < /mailet>
  223  
  224            < !-- In any  other sit uation gho st it, -->
  225            < !-- as vir uses almos t always s poof the s ender's ad dress -->
  226            < mailet mat ch="All" c lass="Null " />
  227         </pr ocessor>
  228  
  229         <!--  This proc essor hand les messag es that ar e for loca l domains,  where the  user is u nknown -->
  230         <pro cessor nam e="local-a ddress-err or">
  231            < mailet mat ch="All" c lass="ToRe pository">
  232                <reposit oryPath> f ile://var/ mail/addre ss-error/< /repositor yPath>
  233                <!-- An  alternativ e database  repositor y example  follows. - ->
  234                <!--
  235                <reposit oryPath> d b://maildb /deadlette r/address- error </re positoryPa th>
  236                -->
  237            < /mailet>
  238         </pr ocessor>
  239  
  240         <!--  This proc essor hand les messag es that ar e for fore ign domain s, where r elaying is  denied -- >
  241         <!--  As of Jam es v2.2, t his proces sor can be  deprecate d by using  the <auth orizedAddr esses> tag
  242               in the SM TP Server,  and rejec ting the m essage in  the protoc ol transac tion.  -->
  243         <pro cessor nam e="relay-d enied">
  244            < !-- To not ify the se nder the a ddress was  invalid,  uncomment  this match er/mailet  configurat ion -->
  245            < !-- The or iginal mes sage is no t attached  to keep t he bounce  processor  from deliv erying spa m -->
  246            < !--
  247            < mailet mat ch="All" c lass="Boun ce">
  248                <attachm ent>none</ attachment >
  249            < /mailet>
  250            - ->
  251  
  252            < !-- To not ify the po stmaster t hat a rela y request  was denied , uncommen t this mat cher/maile t configur ation -->
  253            < !--
  254            < mailet mat ch="All" c lass="Noti fyPostmast er"/>
  255            - ->
  256  
  257            < mailet mat ch="All" c lass="ToRe pository">
  258                <reposit oryPath>fi le://var/m ail/relay- denied/</r epositoryP ath>
  259                <!-- An  alternativ e database  repositor y example  follows. - ->
  260                <!--
  261                <reposit oryPath> d b://maildb /deadlette r/relay-de nied </rep ositoryPat h>
  262                -->
  263            < /mailet>
  264         </pr ocessor>
  265  
  266           <! -- Process or for out going Dire ct message s -->
  267           <p rocessor n ame="Direc tOutgoing" >
  268           <m ailet matc h="All" cl ass="Remot eDelivery" >
  269                      <gateway> DNS          : PORT </gateway>
  270           </ mailet>
  271  
  272                    <mai let match= "All" clas s="ToProce ssor">
  273                             <proce ssor>Finis hed</proce ssor>
  274                    </ma ilet>
  275       </proc essor>
  276  
  277           
  278           <p rocessor n ame="Direc tIncoming" >
  279                     <mailet ma tch="Sende rHostIsLoc al= DNS . URL:PORT , DNS . URL:PORT " class="T oProcessor ">
  280                             <proce ssor>Sende rIsLocal</ processor>
  281                    </ma ilet>
  282                    <mai let match= "All" clas s="StoreMa il"></mail et>
  283                    <mai let match= "All" clas s="ToProce ssor">
  284                             <proce ssor>Finis hed</proce ssor>
  285                    </ma ilet>
  286            < /processor >
  287  
  288           <p rocessor n ame="Sende rIsLocal">
  289                    <mai let match= "RemoteAdd rNotInNetw ork=127.0. 0.1,10.225 .81.18" cl ass="ToPro cessor">
  290                             <proce ssor>Finis hed</proce ssor>
  291                    </ma ilet>
  292                    <mai let match= "All" clas s="LocalMa ilet">
  293                            <Config URL>http:/ /localhost :8081/conf ig-service /Configura tionServic e</ConfigU RL>
  294                    </ma ilet>
  295                    <mai let match= "All" clas s="StoreMa il"></mail et>
  296                    <mai let match= "All" clas s="ToProce ssor">
  297                             <proce ssor>Finis hed</proce ssor>
  298                    </ma ilet>
  299           </ processor>
  300  
  301  
  302   <process n ame="Finis hed">
  303   </process>
  304  
  305         <!--  This proc essor hand le the bou nces from  RemoteDeli very: As o f James v2 .3, this i s the new  -->
  306         <!--  Default.  -->
  307         <!--  -->
  308         <!--  DSNBounce  properly  create a D SN complia nt bounce  -->
  309         <pro cessor nam e="bounces ">
  310            < mailet mat ch="All" c lass="DSNB ounce">
  311                <passThr ough>false </passThro ugh>
  312              </mailet>
  313         </pr ocessor>
  314      </spool manager>
  315      <dnsser ver>
  316         <ser vers>
  317            < !--Enter i p address  of your DN S server,  one IP add ress per s erver -->
  318            < !-- elemen t. -->
  319                    <ser ver>127.0. 0.1</serve r>
  320         </se rvers>
  321         <!--  Change au todiscover  to false  if you wou ld like to  turn off  autodiscov ery -->
  322         <!--  and set t he DNS ser vers manua lly in the  <servers>  section - ->
  323         <aut odiscover> true</auto discover>
  324         <aut horitative >false</au thoritativ e>
  325  
  326         <!--  Maximum n umber of e ntries to  maintain i n the DNS  cache -->
  327         <max cachesize> 50000</max cachesize>
  328      </dnsse rver>
  329  
  330      <!-- Th e RemoteMa nager serv er is enab led by def ault -->
  331      <!-- Di sabling bl ocks will  stop them  from liste ning, -->
  332      <!-- bu t does not  free as m any resour ces as rem oving them  would -->
  333      <remote manager en abled="fal se">
  334         <por t>4555</po rt>
  335         <!--   Uncommen t this if  you want t o bind to  a specific  inetaddre ss -->
  336         <bin d>127.0.0. 1</bind>
  337         <!--   Uncommen t this if  you want t o use TLS  (SSL) on t his port - ->
  338         <!--
  339         <use TLS>true</ useTLS>
  340         -->
  341         <han dler>
  342            < !-- This i s the name  used by t he server  to identif y itself i n the Remo teManager  -->
  343            < !-- protoc ol.  If au todetect i s TRUE, th e server w ill discov er its -->
  344            < !-- own ho st name an d use that  in the pr otocol.  I f discover y fails, - ->
  345            < !-- the va lue of 'lo calhost' i s used.  I f autodete ct is FALS E, James - ->
  346            < !-- will u se the spe cified val ue. -->
  347            < helloName  autodetect ="true">my MailServer </helloNam e>
  348            < administra tor_accoun ts>
  349   <!-- CHECK ME! -->
  350                <!-- Cha nge the de fault logi n/password . -->
  351                <account  login="ja mes" passw ord="XXXXX XXX"/>
  352            < /administr ator_accou nts>
  353            < connection timeout> 6 0000 </con nectiontim eout>
  354            < !-- The pr ompt direc tive adds  a prompt t o every ou tput from  RemoteMana ger -->
  355            < !-- 
  356            < prompt>jam es&gt;</pr ompt>
  357            - ->
  358         </ha ndler>
  359      </remot emanager>
  360  
  361       <!-- T he POP3 se rver is en abled by d efault -->
  362       <!-- D isabling b locks will  stop them  from list ening, -->
  363       <!-- b ut does no t free as  many resou rces as re moving the m would -- >
  364      <pop3se rver enabl ed="false" >
  365         <!--  port 995  is the wel l-known/IA NA registe red port f or POP3S   ie over SS L/TLS -->
  366         <!--  port 110  is the wel l-known/IA NA registe red port f or Standar d POP3 -->
  367         <por t>110</por t>
  368  
  369         <!--  Uncomment  this if y ou want to  bind to a  specific  inetaddres s -->
  370         <!--
  371         <bin d> </bind>
  372         -->
  373         <!--   Uncommen t this if  you want t o use TLS  (SSL) on t his port - ->
  374         <!--
  375         <use TLS>true</ useTLS>
  376         -->
  377  
  378         <han dler>
  379            < !-- This i s the name  used by t he server  to identif y itself i n the POP3  -->
  380            < !-- protoc ol.  If au todetect i s TRUE, th e server w ill discov er its -->
  381            < !-- own ho st name an d use that  in the pr otocol.  I f discover y fails, - ->
  382            < !-- the va lue of 'lo calhost' i s used.  I f autodete ct is FALS E, James - ->
  383            < !-- will u se the spe cified val ue. -->
  384            < helloName  autodetect ="true">my MailServer </helloNam e>
  385            < connection timeout>12 0000</conn ectiontime out>
  386         </ha ndler>
  387      </pop3s erver>
  388  
  389       <!-- T he SMTP se rver is en abled by d efault -->
  390       <!-- D isabling b locks will  stop them  from list ening, -->
  391       <!-- b ut does no t free as  many resou rces as re moving the m would -- >
  392      <smtpse rver enabl ed="true">
  393         <!--  port 25 i s the well -known/IAN A register ed port fo r SMTP -->
  394         <por t>25</port >
  395  
  396         <!--  Uncomment  this if y ou want to  bind to a  specific  inetaddres s -->
  397         <!--  Please NO TE: you sh ould add t his IP als o to your  RemoteAddr NotInNetwo rk -->
  398         <!--  in order  to avoid r elay check  for local lly genera ted bounce s -->
  399         <!--
  400         <bin d> </bind>
  401         -->
  402         <!--  Uncomment  this if y ou want to  use TLS ( SSL) on th is port -- >
  403         <!--
  404           <u seTLS>true </useTLS>
  405         -->
  406   <handler>
  407            < !-- This i s the name  used by t he server  to identif y itself i n the SMTP  -->
  408            < !-- protoc ol.  If au todetect i s TRUE, th e server w ill discov er its -->
  409            < !-- own ho st name an d use that  in the pr otocol.  I f discover y fails, - ->
  410            < !-- the va lue of 'lo calhost' i s used.  I f autodete ct is FALS E, James - ->
  411            < !-- will u se the spe cified val ue. -->
  412            < helloName  autodetect ="true">my MailServer </helloNam e>
  413            < connection timeout>36 0000</conn ectiontime out>
  414  
  415            < !--  Uncom ment this  if you wan t to requi re SMTP au thenticati on.
  416  
  417                   suppo rted value s:
  418                   true:  required  but announ ced only t o not auth orizedAddr esses
  419                   false : don't us e AUTH
  420                   annou nce: like  true, but  always ann ounce AUTH  capabilit y to clien ts
  421  
  422                   The c orrect beh aviour per  RFC value  would be  false or a nnounce
  423                   but w e still su pport true  for backw ard compat ibility an d because
  424                   some  webmail cl ient fails  when AUTH  is announ ced but no  authentic ation
  425                   infor mation has  been prov ided
  426              -->
  427            < authRequir ed>false</ authRequir ed>
  428  
  429   <!-- CHECK ME! -->
  430            < !--  Uncom ment this  if you wan t to autho rize speci fic addres ses/networ ks.
  431                   If yo u use SMTP  AUTH, add resses tha t match th ose specif ied here w ill
  432                   be pe rmitted to  relay wit hout SMTP  AUTH.  If  you do not  use SMTP
  433                   AUTH,  and you s pecify add reses here , then onl y addresse s that mat ch
  434                   those  specified  will be p ermitted t o relay.
  435  
  436                   Addre sses may b e specifie d as a an  IP address  or domain  name, wit h an
  437                   optio nal netmas k, e.g.,
  438  
  439                   127.* , 127.0.0. 0/8, 127.0 .0.0/255.0 .0.0, and  localhost/ 8 are all  the same
  440  
  441                   See a lso the Re moteAddrNo tInNetwork  matcher i n the tran sport proc essor.
  442                   You w ould gener ally use o ne OR the  other appr oach.
  443            - ->
  444            < !--
  445            < authorized Addresses> 127.0.0.0/ 8</authori zedAddress es>
  446            - ->
  447  
  448            < !--  Uncom ment this  if you wan t to verif y sender a ddresses,  ensuring t hat -->
  449            < !--  the s ender addr ess matche s the user  who has a uthenticat ed. -->
  450            < !--  This  prevents a  user of y our mail s erver from  acting as  someone e lse -->
  451            < !--
  452            < verifyIden tity>true< /verifyIde ntity>
  453            - ->
  454  
  455            < !--  This  sets the m aximum all owed messa ge size (i n kilobyte s) for thi s -->
  456            < !--  SMTP  service. I f unspecif ied, the v alue defau lts to 0,  which mean s no limit . -->
  457            < maxmessage size>0</ma xmessagesi ze>
  458            
  459            < !--  This  sets wethe r to enfor ce the use  of HELO/E HLO saluta tion befor e a -->
  460            < !--  MAIL  command is  accepted.  If unspec ified, the  value def aults to t rue -->
  461            < !-- 
  462            < heloEhloEn forcement> true</helo EhloEnforc ement>
  463            - ->
  464  
  465            < !-- SMTP H andler Cha in customi zation -->
  466            < !-- Uncomm ent this a nd edit ja mes-smtpha ndlerchain .xml confi guration f ile to -->
  467            < !-- enable  the exper imental fa stfail fea tures. Loo k at the j ames-smtph andlerchai n.xml -->
  468            < !-- for fu rther info rmations - ->
  469            < !-- 
  470            & smtphandle rchainConf ig;
  471            - ->
  472                
  473         </ha ndler>
  474      </smtps erver>
  475      
  476         <smt pserver-tl s enabled= "false">
  477           <p ort>465</p ort>
  478           <u seTLS>true </useTLS>
  479           <h andler>
  480                      <helloName  autodetec t="false"> DNS . URL:PORT </helloNam e>
  481                     <co nnectionti meout>3600 00</connec tiontimeou t>
  482                    <aut hRequired> false</aut hRequired>
  483                    <max messagesiz e>0</maxme ssagesize>
  484         </ha ndler>
  485      </smtps erver-tls>  
  486  
  487       <!-- T he NNTP se rver is en abled by d efault -->
  488       <!-- D isabling b locks will  stop them  from list ening, -->
  489       <!-- b ut does no t free as  many resou rces as re moving the m would -- >
  490       <!-- N NTP-specif ic: if you  disable t he NNTP Se rver, you  should als o set the  nntp-repos itory's
  491            t hreadCount  to 0, oth erwise the re will be  threads a ctive and  polling  - ->
  492      <nntpse rver enabl ed="false" >
  493      <!-- TH E NNTP PRO TOCOL IS E XPERIMENTA L AND NOT  AS WELL TE STED AS SM TP AND POP 3 IN THIS  RELEASE.
  494           Th e James pr oject reco mmends tha t you chec k the Jame s web site  for updat es to the  NNTP
  495           se rvice.  -- >
  496         <!--  port 563  is the wel l-known/IA NA registe red port f or NNTP ov er SSL/TLS  -->
  497         <!--  port 119  is the wel l-known/IA NA registe red port f or Standar d NNTP -->
  498         <por t>119</por t>
  499  
  500         <!--  Uncomment  this if y ou want to  bind to a  specific  inetaddres s -->
  501         <!--
  502         <bin d> </bind>
  503         -->
  504         <!--  Uncomment  this if y ou want to  use TLS ( SSL)  on t his port - ->
  505         <!--
  506         <use TLS>true</ useTLS>
  507         -->
  508  
  509         <han dler>
  510            < !-- This i s the name  used by t he server  to identif y itself i n the NNTP  -->
  511            < !-- protoc ol.  If au todetect i s TRUE, th e server w ill discov er its -->
  512            < !-- own ho st name an d use that  in the pr otocol.  I f discover y fails, - ->
  513            < !-- the va lue of 'lo calhost' i s used.  I f autodete ct is FALS E, James - ->
  514            < !-- will u se the spe cified val ue. -->
  515            < helloName  autodetect ="true">my MailServer </helloNam e>
  516            < connection timeout>12 0000</conn ectiontime out>
  517              <!-- Set t he authReq uired valu e to true  to enable  authentica ted NNTP - ->
  518            < authRequir ed>false</ authRequir ed>
  519         </ha ndler>
  520      </nntps erver>
  521  
  522      <nntp-r epository>
  523         <!--  If this i s set to t rue, posti ng will be  disallowe d. -->
  524         <rea dOnly>fals e</readOnl y>
  525  
  526         <roo tPath>file ://var/nnt p/groups</ rootPath>
  527         <tem pPath>file ://var/nnt p/temp</te mpPath>
  528         <art icleIDPath >file://va r/nntp/art icleid</ar ticleIDPat h>
  529         <art icleIDDoma inSuffix>n ews.james. apache.org </articleI DDomainSuf fix>
  530  
  531         <!--  The news  groups hos ted in thi s NNTP rep ository. - ->
  532         <!--  Groups he re will be  added to  those foun d in the f ile system ,
  533               but remov ing groups  from here  will NOT  remove the m from the
  534               server.   Change <ne wsgroups>  to <newsgr oups only= "true"> to
  535               restrict  newsgroups  to ONLY t hose found  in this l ist.  -->
  536         <new sgroups>
  537            < newsgroup> org.apache .james.dev </newsgrou p>
  538            < newsgroup> org.apache .james.use r</newsgro up>
  539            < newsgroup> org.apache .avalon.de v</newsgro up>
  540            < newsgroup> org.apache .avalon.us er</newsgr oup>
  541         </ne wsgroups>
  542  
  543         <spo ol>
  544            < configurat ion>
  545                <spoolPa th>file:// var/nntp/s pool</spoo lPath>
  546                <!-- The  number of  threads t hat proces s spooler  related ta sks. -->
  547                <threadC ount>1</th readCount>
  548                <!-- The  spool thr ead(s) sho uld idle f or some ti me, if it  has nothin g to do  - ->
  549                <threadI dleTime>60 000</threa dIdleTime>
  550            < /configura tion>
  551         </sp ool>
  552      </nntp- repository >
  553  
  554      <!-- Sp ool reposi tory confi guration - ->
  555      <!-- Th e spool re pository i s the loca tion where  incoming  mails are  temporaril y stored - ->
  556      <!-- be fore being  processed . -->
  557      <spoolr epository  destinatio nURL="file ://var/mai l/spool/"  type="SPOO L"/>
  558    
  559      <!-- Al ternative  spool repo sitory def inition fo r JDBC use  -->
  560      <!--
  561      <spoolr epository  destinatio nURL="db:/ /maildb/sp ool/spool"  type="SPO OL"/>
  562      -->
  563    
  564      <!-- Al ternative  spool repo sitory def inition fo r JDBC use  -->
  565      <!-- St ores messa ge body in  file syst em, rest i n database  -->
  566      <!--
  567      <spoolr epository  destinatio nURL="dbfi le://maild b/spool/sp ool" type= "SPOOL"/>
  568      -->
  569  
  570      <!-- Th e Mailstor e block -- >
  571      <mailst ore>
  572         <rep ositories>
  573  
  574            < !-- File b ased repos itories.   These repo sitories s tore all m essage dat a -->
  575            < !-- in the  file syst em. -->
  576            < repository  class="or g.apache.j ames.mailr epository. AvalonMail Repository ">
  577                <protoco ls>
  578                   <prot ocol>file< /protocol>
  579                </protoc ols>
  580                <types>
  581                   <type >MAIL</typ e>
  582                </types>
  583            < /repositor y>
  584            < repository  class="or g.apache.j ames.mailr epository. AvalonSpoo lRepositor y">
  585                <protoco ls>
  586                   <prot ocol>file< /protocol>
  587                </protoc ols>
  588                <types>
  589                   <type >SPOOL</ty pe>
  590                </types>
  591            < /repositor y>
  592  
  593            < !-- JDBC b ased repos itories.   These repo sitories s tore all m essage dat a -->
  594            < !-- in the  database.  -->
  595            < repository  class="or g.apache.j ames.mailr epository. JDBCMailRe pository">
  596                <protoco ls>
  597                   <prot ocol>db</p rotocol>
  598                </protoc ols>
  599                <types>
  600                   <type >MAIL</typ e>
  601                </types>
  602                <config>
  603                   <sqlF ile>file:/ /conf/sqlR esources.x ml</sqlFil e>
  604                   <!--  Set the si ze thresho ld for in  memory han dling of s toring ope rations -- >
  605                   <!--  Default is  currently  409600000  due to a  bug with m ysql and b inary stre am -->
  606                   <!--  currently  under inve stigation.  Please ch ange this  only if yo u know wha t -->
  607                   <!--  you do, th is is EXPE RIMENTAL - ->
  608                   <!--
  609                   <inMe morySizeLi mit>4096</ inMemorySi zeLimit>
  610                    -->
  611                </config >
  612            < /repositor y>
  613  
  614            < repository  class="or g.apache.j ames.mailr epository. JDBCSpoolR epository" >
  615                <protoco ls>
  616                   <prot ocol>db</p rotocol>
  617                </protoc ols>
  618                <types>
  619                   <type >SPOOL</ty pe>
  620                </types>
  621                <config>
  622                   <sqlF ile>file:/ /conf/sqlR esources.x ml</sqlFil e>
  623                   <maxc ache>1000< /maxcache>
  624                   <!--  Set the si ze thresho ld for in  memory han dling of s toring ope rations -- >
  625                   <!--  Default is  currently  409600000  due to a  bug with m ysql and b inary stre am -->
  626                   <!--  currently  under inve stigation.  Please ch ange this  only if yo u know wha t -->
  627                   <!--  you do, th is is EXPE RIMENTAL - ->
  628                   <!--
  629                   <inMe morySizeLi mit>4096</ inMemorySi zeLimit>
  630                    -->
  631                </config >
  632            < /repositor y>
  633  
  634            < !-- These  repositori es store m essage del ivery and  headers in  the DB, a nd the bod y to the f ilesystem  -->
  635            < repository  class="or g.apache.j ames.mailr epository. JDBCMailRe pository">
  636                <protoco ls>
  637                   <prot ocol>dbfil e</protoco l>
  638                </protoc ols>
  639                <types>
  640                   <type >MAIL</typ e>
  641                </types>
  642                <config>
  643                   <sqlF ile>file:/ /conf/sqlR esources.x ml</sqlFil e>
  644                   <file store>file ://var/dbm ail</files tore>
  645                </config >
  646            < /repositor y>
  647  
  648            < repository  class="or g.apache.j ames.mailr epository. JDBCSpoolR epository" >
  649                <protoco ls>
  650                   <prot ocol>dbfil e</protoco l>
  651                </protoc ols>
  652                <types>
  653                   <type >SPOOL</ty pe>
  654                </types>
  655                <config>
  656                   <sqlF ile>file:/ /conf/sqlR esources.x ml</sqlFil e>
  657                   <file store>file ://var/dbm ail</files tore>
  658                   <maxc ache>1000< /maxcache>
  659                </config >
  660            < /repositor y>
  661  
  662            < !-- The mb ox reposit ory is des igned for  MAIL only;  SPOOL per formance w ould be le ss than id eal-->
  663            < repository  class="or g.apache.j ames.mailr epository. MBoxMailRe pository">
  664                <protoco ls>
  665                   <prot ocol>mbox< /protocol>
  666                </protoc ols>
  667                <types>
  668                   <type >MAIL</typ e>
  669                </types>
  670            < /repositor y>
  671  
  672            < repository  class="or g.apache.j ames.mailr epository. filepair.F ile_Persis tent_Objec t_Reposito ry">
  673                <protoco ls>
  674                   <prot ocol>file< /protocol>
  675                </protoc ols>
  676                <types>
  677                   <type >OBJECT</t ype>
  678                </types>
  679                <models>
  680                   <mode l>SYNCHRON OUS</model >
  681                   <mode l>ASYNCHRO NOUS</mode l>
  682                   <mode l>CACHE</m odel>
  683                </models >
  684            < /repositor y>
  685  
  686            < repository  class="or g.apache.j ames.mailr epository. filepair.F ile_Persis tent_Strea m_Reposito ry">
  687                <protoco ls>
  688                   <prot ocol>file< /protocol>
  689                </protoc ols>
  690                <types>
  691                   <type >STREAM</t ype>
  692                </types>
  693                <models>
  694                   <mode l>SYNCHRON OUS</model >
  695                   <mode l>ASYNCHRO NOUS</mode l>
  696                   <mode l>CACHE</m odel>
  697                </models >
  698            < /repositor y>
  699         </re positories >
  700  
  701      </mails tore>
  702  
  703  
  704      <!-- Th e User Sto rage block  -->
  705      <users- store>
  706         <!--  Configure  User Repo sitories h ere. -->
  707         <!--  -->
  708         <!--  User repo sitories a re require d for the  following  purposes:  -->
  709         <!--     - stor ing James  user infor mation, in cluding fo rwards, al iases, -->
  710         <!--       and  authentica tion data.  -->
  711         <!--     - hold ing lists  of users f or the lis tserv mail et -->
  712         <!--  Currently , two diff erent stor age option s are avai lable: -->
  713         <!--     - file -based sto rage using  Java seri alization  -->
  714         <!--     - data base-backe d storage  -->
  715         <!--  (Use of d atabase or  file-syst em is defi ned on a " per-reposi tory" basi s) -->
  716         <!--  -->
  717         <!--  Note: One  user repo sitory is  required f or James:  -->
  718         <!--    LocalUs ers - the  users for  whom you a re providi ng POP3, N NTP, or SM TP service  -->
  719         <!--  -->
  720         <!--  Other rep ositories  may be use d by match ers or mai lets. -->
  721  
  722         <!--  Default:  File-based  user repo sitories   Use these  configurat ions to st ore user i nfo in the  filesyste m  -->
  723         <!--  The Local Users repo sitory, fo r storing  James' Use r info. -- >
  724         <rep ository na me="LocalU sers" clas s="org.apa che.james. userreposi tory.Users FileReposi tory">
  725            < destinatio n URL="fil e://var/us ers/"/>
  726         </re pository>
  727  
  728  
  729         <!--  Database  backed use r reposito ries -->
  730         <!--  -->
  731         <!--  Use these  configura tions to s tore user  info in a  database.  -->
  732         <!--  Note: The  <data-sou rce> eleme nt must re fer to a c onnection  configured  -->
  733         <!--        in  the <datab ase-connec tions> con figuration  section.  -->
  734  
  735         <!--  The Local Users repo sitory, fo r storing  James' Use r info. -- >
  736         <!--  
  737         <rep ository na me="LocalU sers" clas s="org.apa che.james. userreposi tory.James UsersJdbcR epository"  destinati onURL="db: //maildb/u sers">
  738            < sqlFile>fi le://conf/ sqlResourc es.xml</sq lFile>
  739         </re pository>
  740         -->
  741  
  742         <!--  This is a n example  configurat ion includ ing config uration fo r a list s erver. -->
  743         <!--  CHECKME:  before unc ommenting  this, edit  the confi guration f ile's cont ents   -->
  744         <!--
  745           &l istserverS tores;
  746         -->
  747  
  748      </users -store>
  749  
  750      <!-- Th e database -connectio ns block - ->
  751      <databa se-connect ions>
  752         <!--  These con nections a re referre d to by na me elsewhe re in the  config fil e -->
  753   <!-- CHECK ME! -->
  754         <!--  To allow  James to u se a datab ase you mu st configu re the dat abase conn ection her e. -->
  755         <!--  If you ar e not usin g a databa se, you ca n leave th is section  unchanged . -->
  756         <!--  These con nections a re referre d to by na me in URLs  elsewhere  in the co nfig file.  -->
  757         <!--
  758               James has  previousl y used an  in-house c onnection  pool, Mord red.
  759               Mordred i s being de precated i n favor of  Jakarta C ommons DBC P.
  760               To use DB CP:    org .apache.ja mes.util.d bcp.JdbcDa taSource
  761               To use Mo rdred: org .apache.ja mes.util.m ordred.Jdb cDataSourc e
  762  
  763               Change it  back, of  course, to  use Mordr ed.
  764  
  765               NOTE: DBC P is confi gured to r ecover fro m a databa se server  outage.
  766                     Thi s, alone,  may be rea son for yo u to give  it a try.
  767         -->
  768         
  769         <!--  Default J ames distr ibution in cludes Apa che Derby  database,  -->
  770         <!--  which is  easy to em bed - but  we support  all the m ajor SQL    -->
  771         <!--  databases  - just re configure  your JDBC  configurat ion -->
  772         <!--
  773         <dat a-source n ame="maild b" class=" org.apache .james.uti l.dbcp.Jdb cDataSourc e">
  774            < driver>org .apache.de rby.jdbc.E mbeddedDri ver</drive r>
  775            < dburl>jdbc :derby:../ apps/james /var/derby db;create= true</dbur l>
  776            < user></use r>
  777            < password>< /password>
  778            < poolPrepar edStatemen ts>true</p oolPrepare dStatement s>
  779            < max>20</ma x>
  780         </da ta-source>
  781         -->
  782  
  783         <!--  JDBC driv er .jar li braries fo r other RD BMS can be  placed in  ~james/li b/  -->
  784  
  785         <!--  You can d ownload la test Conne ctor/J fro m   -->
  786         <!--  http://de v.mysql.co m/download s/connecto r/j/3.1.ht ml -->
  787         <!--  -->
  788         <!--  Example,  connecting  to a MySQ L database  called "m ail" on lo calhost-->
  789         <!--  -->
  790         <!--  The max v alue is th e maximum  number of  concurrent  connectio ns James w ill -->
  791         <!--  open to t his databa se-->
  792         <!--  If you se e "SQLExce ption: Giv ing up...  no connect ions avail able." in  your -->
  793         <!--  log files  or bounce d mail you  should in crease thi s value -- >
  794         <!--
  795         <dat a-source n ame="maild b" class=" org.apache .james.uti l.dbcp.Jdb cDataSourc e">
  796            < driver>com .mysql.jdb c.Driver</ driver>
  797            < dburl>jdbc :mysql://1 27.0.0.1/m ail?autoRe connect=tr ue</dburl>
  798            < user>usern ame</user>
  799            < password>X XXXXXXX</p assword>
  800            < max>20</ma x>
  801         </da ta-source>
  802         -->
  803  
  804         <!--  Example,  connecting  to a Micr osoft MSSQ L database  called "m ail" on lo calhost-->
  805         <!--  -->
  806         <!--  The max v alue is th e maximum  number of  concurrent  connectio ns James w ill -->
  807         <!--  open to t his databa se-->
  808         <!--  If you se e "SQLExce ption: Giv ing up...  no connect ions avail able." in  your -->
  809         <!--  log files  or bounce d mail you  should in crease thi s value -- >
  810         <!--
  811         <dat a-source n ame="maild b" class=" org.apache .james.uti l.dbcp.Jdb cDataSourc e">
  812            < driver>com .inet.tds. TdsDriver< /driver>
  813            < dburl>jdbc :inetdae7: 127.0.0.1? database=J ames</dbur l>
  814            < user>sa_ja mes</user>
  815            < password>X XXXXXXX</p assword>
  816            < max>20</ma x>
  817         </da ta-source>
  818         -->
  819  
  820         <!--  Here is a  configura tion for h sqldb (for merly Hype rsonicSQL)  -->
  821         <!--  You can d ownload th e db from  http://www .hsqldb.or g/ . Just  put the -- >
  822         <!--  hsqldb.ja r in the l ib directo ry and unc omment the  following  block -->
  823         <!--
  824         <dat a-source n ame="maild b" class=" org.apache .james.uti l.dbcp.Jdb cDataSourc e">
  825            < driver>org .hsqldb.jd bcDriver</ driver>
  826            < dburl>jdbc :hsqldb:ta rget/data/ hsqldb</db url>
  827            < user>sa</u ser>
  828            < password>< /password>
  829            < max>20</ma x>
  830         </da ta-source>
  831         -->
  832  
  833      </datab ase-connec tions>
  834  
  835      <!-- Co nfiguratio n for Corn erstone Se rvices -->
  836      <!-- -- >
  837      <!-- Fo r a simple  configura tion, noth ing beneat h this lin e should r equire -->
  838      <!-- al teration.  -->
  839      <!-- -- >
  840      <!-- Yo u will nee d to adjus t the Sock et Manager  service c onfigurati on if you  want -->
  841      <!-- to  enable se cure socke ts (TLS) f or any Jam es service .                          -->
  842      <!-- -- >
  843      <!-- Co mplex or h igh volume  configura tions may  require ch anges to t he paramet ers -->
  844      <!-- in  this sect ion.  Plea se read th e James an d Avalon d ocumentati on before  -->
  845      <!-- at tempting t o adjust t his sectio n. -->
  846      <!-- -- >
  847  
  848      <!-- Th e Connecti on Manager  block -->
  849      <!-- -- >
  850      <!-- Th e idle-tim eout is th e number o f millisec onds that  it will ta ke for idl e -->
  851      <!-- cl ient conne ctions man aged by th is connect ion manage r to be ma rked at ti med out. - ->
  852      <!-- If  no value  is specifi ed, the va lue defaul ts to 5 mi nutes, 300 000 millis econds -->
  853      <!-- A  value of 0  means tha t client s ockets wil l not time out. -->
  854      <!-- -- >
  855      <!-- Th e max-conn ections pa rameter sp ecifies th e default  maximum nu mber of cl ient -->
  856      <!-- co nnections  that this  connection  manager w ill allow  per manage d server s ocket. -->
  857      <!-- Th is value c an be over ridden by  each indiv idual serv ice. -->
  858      <!-- If  no value  is specifi ed, the va lue defaul ts to 30.  -->
  859      <!-- A  value of 0  creates a  maximum o f 1 connec tion due t o the use  of the Har dResourceL imiting -- >
  860      <!-- th read pool  by the Ser verConnect ion class.  -->
  861      <!-- Re source lim itations i mposed by  other comp onents (i. e. max # o f threads)  may -->
  862      <!-- se rve to lim it the num ber of ope n connecti ons. -->
  863      <!-- -- >
  864      <connec tions>
  865         <idl e-timeout> 300000</id le-timeout >
  866         <max -connectio ns>30</max -connectio ns>
  867      </conne ctions>
  868  
  869      <!-- Th e Socket M anager blo ck -->
  870      <!-- -- >
  871      <!-- Th e server-s ockets ele ment has a  number of  factory s ub-element s. -->
  872      <!-- Ea ch of the  factory el ements has  a name an d class at tribute -- >
  873      <!-- Th e name att ribute for  each fact ory elemen t must be  unique.  - ->
  874      <!-- Th e class at tribute is  the name  of a class  that impl ements the  -->
  875      <!-- in terface or g.apache.a valon.corn erstone.se rvices.Ser verSocketF actory -->
  876      <!-- Sp ecific fac tory eleme nts may re quire some  sub-eleme nts.  This  is -->
  877      <!-- fa ctory clas s dependen t. -->
  878      <!-- -- >
  879      <!-- Th e client-s ockets ele ment has a  number of  factory s ub-element s. -->
  880      <!-- Ea ch of the  factory el ements has  a name an d class at tribute -- >
  881      <!-- Th e name att ribute for  each fact ory elemen t must be  unique.  - ->
  882      <!-- Th e class at tribute is  the name  of a class  that impl ements the  -->
  883      <!-- in terface or g.apache.a valon.corn erstone.se rvices.Soc ketFactory  -->
  884      <!-- Sp ecific fac tory eleme nts may re quire some  sub-eleme nts.  This  is -->
  885      <!-- fa ctory clas s dependen t. -->
  886      <!-- -- >
  887      <!-- In  order to  use the ss l factory  under Java  1.5 and s upport all  Clients - ->
  888      <!-- (p articularl y Mozilla  Thunderbir d) you nee d to insta ll the Sun  JCE -->
  889      <!-- pr ovider in  your envir onment (ja mes/lib) - ->
  890      <!-- e. g: jre/lib /ext/sunjc e_provider .jar -->
  891      <!--  - ->
  892      <socket s>
  893         <ser ver-socket s>
  894            < factory na me="plain"  class="or g.apache.a valon.corn erstone.bl ocks.socke ts.Default ServerSock etFactory" />
  895            < !--
  896            < factory na me="ssl" c lass="org. apache.ava lon.corner stone.bloc ks.sockets .TLSServer SocketFact ory">
  897                <ssl-fac tory>
  898                   <keys tore>
  899                      <f ile>conf/k eystore</f ile>
  900                      <p assword>XX XXXXXX</pa ssword>
  901                      <k ey-passwor d>XXXXXXXX </key-pass word>
  902                      <t ype>JKS</t ype>
  903                      <p rotocol>TL S</protoco l>
  904                      <a lgorithm>S unX509</al gorithm>
  905                      <a uthenticat e-client>f alse</auth enticate-c lient>
  906                   </key store>
  907                </ssl-fa ctory>
  908            < /factory>
  909            - ->
  910         </se rver-socke ts>
  911         <cli ent-socket s>
  912            < factory na me="plain"  class="or g.apache.a valon.corn erstone.bl ocks.socke ts.Default SocketFact ory"/>
  913         </cl ient-socke ts>
  914      </socke ts>
  915  
  916      <!-- Th e Thread M anager blo ck -->
  917      <!-- -- >
  918      <!-- Th e thread m anager pro vides thre ad pools f or use thr oughout th e server.  -->
  919      <!-- -- >
  920      <!-- A  thread poo l with the  name "def ault" must  be define d in this  thread man ager -->
  921      <!-- co nfiguratio n. -->
  922      <!-- -- >
  923      <!-- Ea ch thread  pool is de fined with  a "thread -group" el ement. -->
  924      <!-- Ea ch of thes e elements  has the f ollowing r equired su b-elements : -->
  925      <!--    name - the  name of t he thread  pool, used  by other  components  to -->
  926      <!--           loo kup the th read pool  -->
  927      <!--    priority -  the threa d priority  for threa ds in the  pool.  Thi s is -->
  928      <!--                a value b etween 0 a nd 10, wit h 5 being  the normal  -->
  929      <!--                priority  and 10 bei ng the max imum. -->
  930      <!--    is-daemon  - whether  the thread s in the p ool are da emon threa ds. -->
  931      <!--    max-thread s - the ma ximum numb er of thre ads allowe d in the p ool. -->
  932      <!--    min-thread s - the mi nimum numb er of thre ads allowe d in the p ool. (not  implemente d) -->
  933      <!--    min-spare- threads -  (not imple mented) -- >
  934      <thread -manager>
  935         <thr ead-group>
  936            < name>defau lt</name>
  937            < priority>5 </priority >
  938            < is-daemon> false</is- daemon>
  939            < max-thread s>100</max -threads>
  940            < min-thread s>20</min- threads>
  941            < min-spare- threads>20 </min-spar e-threads>
  942         </th read-group >
  943      </threa d-manager>
  944   </config>