103. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 8/16/2019 12:02:03 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.

103.1 Files compared

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

103.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 14 1656
Changed 13 30
Inserted 0 0
Removed 0 0

103.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

103.4 Active regular expressions

No regular expressions were active.

103.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   <config>
  12      <James>
  13  
  14   <!-- CHECK ME! -->
  15           <postmaste r> DNS . URL </postmast er>
  16  
  17         <!--  servernam es identif ies the DN S namespac e served b y this ins tance of J ames. -->
  18         <ser vernames a utodetect= "true" aut odetectIP= "true">     
  19           <servernam e> DNS . URL </serverna me>
  20           <servernam e> DNS . URL </serverna me>
  21           <servernam e> DNS . URL </serverna me>
  22         <ser vername>lo calhost</s ervername>
  23         </se rvernames>
  24  
  25         <use rnames ign oreCase="t rue" enabl eAliases=" true" enab leForwardi ng="true"/ >
  26  
  27         <!--  The inbox  repositor y is the l ocation fo r users in boxes -->
  28         <inb oxReposito ry>
  29            < repository  destinati onURL="fil e://var/ma il/inboxes /" type="M AIL"/>
  30         </in boxReposit ory>
  31      </James >
  32  
  33      <!-- Th is is an e xample con figuration  for Fetch Mail, a Ja vaMail bas ed gateway   -->
  34      &fetchm ailConfig;
  35  
  36      <!-- Se t the Java  packages  from which  to load m ailets and  matchers  -->
  37      <mailet packages>
  38         <mai letpackage >org.apach e.james.tr ansport.ma ilets</mai letpackage >
  39         <mai letpackage >org.apach e.james.tr ansport.ma ilets.smim e</mailetp ackage>
  40         <mai letpackage >org.nhind irect.gate way.smtp.j ames.maile t</mailetp ackage>
  41         <mai letpackage >org.nhind .james.mai let</maile tpackage>
  42      </maile tpackages>
  43      <matche rpackages>
  44         <mat cherpackag e>org.apac he.james.t ransport.m atchers</m atcherpack age>
  45         <mat cherpackag e>org.apac he.james.t ransport.m atchers.sm ime</match erpackage>
  46         <mat cherpackag e>org.nhin direct.gat eway.smtp. james.matc her</match erpackage>
  47         <mat cherpackag e>org.nhin d.james.ma tcher</mat cherpackag e>
  48      </match erpackages >
  49  
  50      <!-- Th e James Sp ool Manage r block  - ->
  51      <spoolm anager>
  52         <thr eads> 10 < /threads>
  53  
  54         <!--  The root  processor  is a requi red proces sor - Jame s routes a ll mail on  the spool  -->
  55         <pro cessor nam e="root">
  56  
  57            < !-- This m ailet redi rects mail  for the u ser 'postm aster' at  any local  domain to  -->
  58            < !-- the po stmaster a ddress spe cified for  the serve r. -->
  59            < mailet mat ch="All" c lass="Post masterAlia s"/>
  60  
  61            < !-- Import ant check  to avoid l ooping -->
  62            < mailet mat ch="RelayL imit=30" c lass="Null "/>
  63  
  64            < !-- Check  for viruse s -->
  65  
  66            < !-- If inf ected go t o virus pr ocessor -- >
  67            < mailet mat ch="HasMai lAttribute WithValue= org.apache .james.inf ected, tru e" class=" ToProcesso r">
  68                <process or> virus  </processo r>
  69            < /mailet>
  70  
  71            < !-- Has sp am checkin g already  been done?  -->
  72            < mailet mat ch="HasMai lAttribute =spamCheck ed" class= "ToProcess or">
  73                <process or> transp ort </proc essor>
  74            < /mailet>
  75            < !-- Spam c hecking wi ll not be  done twice  -->
  76            < mailet mat ch="All" c lass="SetM ailAttribu te">
  77                <spamChe cked>true< /spamCheck ed>
  78            < /mailet>
  79  
  80            < !-- Messag es from au thenticate d senders  never are  spam -->
  81            < mailet mat ch="SMTPAu thSuccessf ul" class= "ToProcess or">
  82                <process or> transp ort </proc essor>
  83            < /mailet>
  84  
  85            < !-- People  on this l ist agree  to pay a p enalty if  they send  spam -->
  86            < mailet mat ch="InSpam merBlackli st=query.b ondedsende r.org."
  87                     cla ss="ToProc essor">
  88               <processo r> transpo rt </proce ssor>
  89            < /mailet>
  90  
  91            < !-- Check  for delive ry from a  known spam  server -- >
  92            < mailet mat ch="InSpam merBlackli st=dnsbl.n jabl.org."
  93                     cla ss="ToProc essor">
  94               <processo r> spam </ processor>
  95               <notice>5 50 Request ed action  not taken:  rejected  - see http ://njabl.o rg/ </noti ce>
  96            < /mailet>
  97  
  98            < !-- Send r emaining m ails to th e transpor t processo r for eith er local o r remote d elivery -- >
  99            < mailet mat ch="All" c lass="ToPr ocessor">
  100                <process or> transp ort </proc essor>
  101            < /mailet>
  102         </pr ocessor>
  103  
  104         <!--  The error  processor  is requir ed.  James  may inter nally set  emails to  the -->
  105         <!--  error sta te.  The e rror proce ssor is ge nerally in voked when  there is  an -->
  106         <!--  unexpecte d error ei ther in th e mailet c hain or in ternal to  James. -->
  107         <pro cessor nam e="error">
  108            < !-- Logs a ny message s to the r epository  specified  -->
  109            < mailet mat ch="All" c lass="ToRe pository">
  110                <reposit oryPath> f ile://var/ mail/error /</reposit oryPath>
  111                <!-- An  alternativ e database  repositor y example  follows. - ->
  112                <!--
  113                <reposit oryPath> d b://maildb /deadlette r/error </ repository Path>
  114                -->
  115            < /mailet>
  116         </pr ocessor>
  117  
  118         <!--  Processor  CONFIGURA TION SAMPL E: transpo rt is a sa mple custo m processo r for loca l or -->
  119         <!--  remote de livery -->
  120         <pro cessor nam e="transpo rt">
  121            < mailet mat ch="SMTPAu thSuccessf ul" class= "SetMimeHe ader">
  122                <name>X- UserIsAuth </name>
  123                <value>t rue</value >
  124            < /mailet>
  125            < mailet mat ch="HasMai lAttribute =org.apach e.james.SM IMECheckSi gnature" c lass="SetM imeHeader" >
  126                <name>X- WasSigned< /name>
  127                <value>t rue</value >
  128            < /mailet>
  129            
  130            < mailet mat ch="HasHea der=X-VADe vProcessed " class="T oProcessor ">
  131                <process or>DirectO utgoing</p rocessor>
  132            < /mailet>
  133  
  134           <mailet ma tch="Recip AndSenderI sNotLocal= DNS . URL , DNS . URL " class="N HINDSecuri tyAndTrust MailetCust ">
  135                <ConfigU RL>http:// localhost: 8081/confi g-service/ Configurat ionService </ConfigUR L>
  136            < MessageMon itoringSer viceURL>ht tp://local host:8081/ msg-monito r</Message Monitoring ServiceURL >
  137            < AutoDSNFai lueCreatio n>General, ReliableAn dTimely</A utoDSNFail ueCreation >
  138         </ma ilet>
  139  
  140      <mailet  match="Is Notificati on" class= "SuppressA ndTrackAgg regate">
  141                <Message Monitoring ServiceURL >http://lo calhost:80 81/msg-mon itor</Mess ageMonitor ingService URL>
  142                <Consume MDNProcess ed>true</C onsumeMDNP rocessed>              
  143            < /mailet>
  144            
  145         <mai let match= "All" clas s="AddHead er">
  146            < name>X-VAD evProcesse d</name>
  147            < value>true </value>
  148         </ma ilet>
  149  
  150         <mai let match= "HasHeader =X-WasSign ed" class= "ToProcess or">
  151            < processor> DirectOutg oing</proc essor>
  152         </ma ilet>
  153  
  154  
  155           <mailet ma tch="Recip HostIsLoca l= DNS . URL , DNS . URL " class="T oProcessor ">
  156            < processor> DirectInco ming</proc essor>
  157         </ma ilet>
  158  
  159         <mai let match= "All" clas s="ToProce ssor">
  160            < processor> DirectOutg oing</proc essor>
  161         </ma ilet>
  162  
  163         </pr ocessor>
  164  
  165         <!--  Processor  CONFIGURA TION SAMPL E: spam is  a sample  custom pro cessor for  handling  -->
  166         <pro cessor nam e="spam">
  167            < !-- To log  the messa ge to a re pository,  this match er/mailet  configurat ion should  be uncomm ented. -->
  168            < !-- This i s the defa ult config uration. - ->
  169            < mailet mat ch="All" c lass="ToRe pository">
  170                <reposit oryPath>fi le://var/m ail/spam/< /repositor yPath>
  171            < /mailet>
  172         </pr ocessor>
  173  
  174         <!--  messages  containing  viruses.  -->
  175         <pro cessor nam e="virus">
  176            < !-- To avo id a loop  while boun cing -->
  177            < mailet mat ch="All" c lass="SetM ailAttribu te">
  178                <org.apa che.james. infected>t rue, bounc ing</org.a pache.jame s.infected >
  179            < /mailet>
  180  
  181            < !-- If the  sender is  authentic ated, noti fy the inf ection -->
  182            < mailet mat ch="SMTPAu thSuccessf ul" class= "Bounce">
  183                <inline> heads</inl ine>
  184                <attachm ent>none</ attachment >
  185                <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>
  186            < /mailet>
  187  
  188            < !-- In any  other sit uation gho st it, -->
  189            < !-- as vir uses almos t always s poof the s ender's ad dress -->
  190            < mailet mat ch="All" c lass="Null " />
  191         </pr ocessor>
  192  
  193         <!--  This proc essor hand les messag es that ar e for loca l domains,  where the  user is u nknown -->
  194         <pro cessor nam e="local-a ddress-err or">
  195            < mailet mat ch="All" c lass="ToRe pository">
  196                <reposit oryPath> f ile://var/ mail/addre ss-error/< /repositor yPath>
  197            < /mailet>
  198         </pr ocessor>
  199  
  200         <!--  This proc essor hand les messag es that ar e for fore ign domain s, where r elaying is  denied -- >
  201         <!--  As of Jam es v2.2, t his proces sor can be  deprecate d by using  the <auth orizedAddr esses> tag
  202               in the SM TP Server,  and rejec ting the m essage in  the protoc ol transac tion.  -->
  203         <pro cessor nam e="relay-d enied">
  204            < mailet mat ch="All" c lass="ToRe pository">
  205                <reposit oryPath>fi le://var/m ail/relay- denied/</r epositoryP ath>
  206            < /mailet>
  207         </pr ocessor>
  208  
  209      <!-- Ex perimental  processor  for outgo ing Direct  messages  -->
  210       <proce ssor name= "DirectOut going">
  211                <mailet  match="All " class="R emoteDeliv ery">
  212           <!-- This  is set to  DNS            when on an  actual VA  system -- >
  213                    <out going>file ://var/mai l/DirectOu tgoing</ou tgoing>
  214                      <gateway> IP                 </gateway>
  215                    <mai l.smtp.sta rttls.enab le>true</m ail.smtp.s tarttls.en able>
  216                </mailet >
  217  
  218            < mailet mat ch="All" c lass="ToPr ocessor">
  219                <process or>Finishe d</process or>
  220            < /mailet>
  221       </proc essor>
  222  
  223       <proce ssor name= "DirectInc oming">
  224           <mailet ma tch="Sende rHostIsLoc al= DNS . URL , DNS . URL " class="L ocalMailet ">
  225            < ConfigURL> http://loc alhost:808 1/config-s ervice/Con figuration Service</C onfigURL>
  226         </ma ilet>
  227         <mai let match= "All" clas s="StoreMa il"></mail et>
  228         <mai let match= "All" clas s="ToProce ssor">
  229            < processor> Finished</ processor>
  230         </ma ilet>       
  231       </proc essor>
  232  
  233      <proces sor name=" Finished">
  234      </proce ssor>
  235  
  236       <!-- D SNBounce p roperly cr eate a DSN  compliant  bounce -- >
  237       <proce ssor name= "bounces">
  238            < mailet mat ch="All" c lass="DSNB ounce">
  239                <passThr ough>false </passThro ugh>
  240  
  241                <!-- opt ional subj ect prefix  prepended  to the or iginal mes sage -->
  242                <!--
  243                <prefix> [bounce]</ prefix>
  244                -->
  245                
  246                <!-- mes sage, head s or none,  default=m essage -->
  247                <!--
  248                <attachm ent>heads< /attachmen t>
  249                -->
  250                
  251                <!-- the  message s ent in the  bounce, t he first o ccurrence  of the pat tern [mach ine] is -- >
  252                <!-- rep laced with  the name  of the exe cuting mac hine -->
  253                <!-- Def ault: Hi.  This is th e James ma il server  at [machin e] ... -->
  254                <!--
  255                <message String>Her e is [mach ine]. I'm  not able t o deliver  this messa ge.</messa geString>
  256                -->
  257              </mailet>
  258         </pr ocessor>
  259      </spool manager>
  260  
  261      <!-- DN S Server B lock -->
  262      <!-- -- >
  263      <!-- Sp ecifies DN S Server i nformation  for use b y various  components  inside -- >
  264      <!-- Ja mes. -->
  265      <!-- -- >
  266      <!-- If  autodisco ver is tru e, James w ill attemp t to autod iscover th e DNS serv ers config ured on yo ur underly ing system .-->
  267      <!-- Cu rrently, t his works  if the OS  has a unix -like /etc /resolv.co nf,-->
  268      <!-- or  the syste m is Windo ws based w ith ipconf ig or wini pcfg.-->
  269      <!-- -- >
  270      <!-- If  no DNS se rvers are  found and  you have n ot specifi ed any bel ow, 127.0. 0.1 will b e used-->
  271      <!-- If  you use a utodiscove r and add  DNS server s manually  a combina tion of al l the dns  servers wi ll be used   -->
  272      <!--  - ->
  273      <!-- In formation  includes a  list of D NS Servers  to be use d by James .  These a re -->
  274      <!-- sp ecified by  the serve r elements , each of  which is a  child ele ment of th e -->
  275      <!-- se rvers elem ent.  Each  server el ement is t he IP addr ess of a s ingle DNS  server. -- >
  276      <!-- Th e servers  element ca n have mul tiple serv er childre n. -->
  277      <dnsser ver>
  278         <ser vers>
  279            < !--Enter i p address  of your DN S server,  one IP add ress per s erver -->
  280            < !-- elemen t. -->
  281         <ser ver>127.0. 0.1</serve r>
  282         </se rvers>
  283         <!--  Change au todiscover  to false  if you wou ld like to  turn off  autodiscov ery -->
  284         <!--  and set t he DNS ser vers manua lly in the  <servers>  section - ->
  285         <aut odiscover> true</auto discover>
  286         <aut horitative >false</au thoritativ e>
  287  
  288         <!--  Maximum n umber of e ntries to  maintain i n the DNS  cache -->
  289         <max cachesize> 50000</max cachesize>
  290      </dnsse rver>
  291  
  292      <!-- Th e RemoteMa nager serv er is enab led by def ault -->
  293      <!-- Di sabling bl ocks will  stop them  from liste ning, -->
  294      <!-- bu t does not  free as m any resour ces as rem oving them  would -->
  295      <remote manager en abled="fal se">
  296         <por t>4555</po rt>
  297         <!--   Uncommen t this if  you want t o bind to  a specific  inetaddre ss -->
  298         <!--
  299         <bin d> </bind>
  300         -->
  301         <!--   Uncommen t this if  you want t o use TLS  (SSL) on t his port - ->
  302         <!--
  303         <use TLS>true</ useTLS>
  304         -->
  305         <han dler>
  306            < !-- This i s the name  used by t he server  to identif y itself i n the Remo teManager  -->
  307            < !-- protoc ol.  If au todetect i s TRUE, th e server w ill discov er its -->
  308            < !-- own ho st name an d use that  in the pr otocol.  I f discover y fails, - ->
  309            < !-- the va lue of 'lo calhost' i s used.  I f autodete ct is FALS E, James - ->
  310            < !-- will u se the spe cified val ue. -->
  311              <helloName  autodetec t="false"> DNS . URL </helloNam e>
  312            < administra tor_accoun ts>
  313   <!-- CHECK ME! -->
  314                <!-- Cha nge the de fault logi n/password . -->
  315                <account  login="ro ot" passwo rd="XXXXXX XX"/>
  316            < /administr ator_accou nts>
  317            < connection timeout> 6 0000 </con nectiontim eout>
  318            < !-- The pr ompt direc tive adds  a prompt t o every ou tput from  RemoteMana ger -->
  319            < !-- 
  320            < prompt>jam es&gt;</pr ompt>
  321            - ->
  322         </ha ndler>
  323      </remot emanager>
  324  
  325       <!-- T he POP3 se rver is en abled by d efault -->
  326       <!-- D isabling b locks will  stop them  from list ening, -->
  327       <!-- b ut does no t free as  many resou rces as re moving the m would -- >
  328      <pop3se rver enabl ed="false" >
  329         <!--  port 995  is the wel l-known/IA NA registe red port f or POP3S   ie over SS L/TLS -->
  330         <!--  port 110  is the wel l-known/IA NA registe red port f or Standar d POP3 -->
  331         <por t>110</por t>
  332  
  333         <!--  Uncomment  this if y ou want to  bind to a  specific  inetaddres s -->
  334         <!--
  335         <bin d> </bind>
  336         -->
  337         <!--   Uncommen t this if  you want t o use TLS  (SSL) on t his port - ->
  338         <!--
  339         <use TLS>true</ useTLS>
  340         -->
  341  
  342         <han dler>
  343            < !-- This i s the name  used by t he server  to identif y itself i n the POP3  -->
  344            < !-- protoc ol.  If au todetect i s TRUE, th e server w ill discov er its -->
  345            < !-- own ho st name an d use that  in the pr otocol.  I f discover y fails, - ->
  346            < !-- the va lue of 'lo calhost' i s used.  I f autodete ct is FALS E, James - ->
  347            < !-- will u se the spe cified val ue. -->
  348              <helloName  autodetec t="false"> DNS . URL </helloNam e>
  349            < connection timeout>12 0000</conn ectiontime out>
  350         </ha ndler>
  351      </pop3s erver>
  352  
  353       <!-- T he SMTP se rver is en abled by d efault -->
  354       <!-- D isabling b locks will  stop them  from list ening, -->
  355       <!-- b ut does no t free as  many resou rces as re moving the m would -- >
  356      <smtpse rver enabl ed="true">
  357         <!--  port 25 i s the well -known/IAN A register ed port fo r SMTP -->
  358         <por t>25</port >
  359  
  360         <!--  Uncomment  this if y ou want to  bind to a  specific  inetaddres s -->
  361         <!--  Please NO TE: you sh ould add t his IP als o to your  RemoteAddr NotInNetwo rk -->
  362         <!--  in order  to avoid r elay check  for local lly genera ted bounce s -->
  363         <!--
  364         <bin d> </bind>
  365         -->
  366         <!--  Uncomment  this if y ou want to  use TLS ( SSL) on th is port -- >
  367         <!--
  368      <useTLS >true</use TLS>
  369         -->
  370   <handler>
  371            < !-- This i s the name  used by t he server  to identif y itself i n the SMTP  -->
  372            < !-- protoc ol.  If au todetect i s TRUE, th e server w ill discov er its -->
  373            < !-- own ho st name an d use that  in the pr otocol.  I f discover y fails, - ->
  374            < !-- the va lue of 'lo calhost' i s used.  I f autodete ct is FALS E, James - ->
  375            < !-- will u se the spe cified val ue. -->
  376              <helloName  autodetec t="false"> DNS . URL </helloNam e>
  377            < connection timeout>36 0000</conn ectiontime out>
  378  
  379            < !--  Uncom ment this  if you wan t to requi re SMTP au thenticati on.
  380  
  381                   suppo rted value s:
  382                   true:  required  but announ ced only t o not auth orizedAddr esses
  383                   false : don't us e AUTH
  384                   annou nce: like  true, but  always ann ounce AUTH  capabilit y to clien ts
  385  
  386                   The c orrect beh aviour per  RFC value  would be  false or a nnounce
  387                   but w e still su pport true  for backw ard compat ibility an d because
  388                   some  webmail cl ient fails  when AUTH  is announ ced but no  authentic ation
  389                   infor mation has  been prov ided
  390              -->
  391            < authRequir ed>false</ authRequir ed>
  392  
  393   <!-- CHECK ME! -->
  394            < !--  Uncom ment this  if you wan t to autho rize speci fic addres ses/networ ks.
  395                   If yo u use SMTP  AUTH, add resses tha t match th ose specif ied here w ill
  396                   be pe rmitted to  relay wit hout SMTP  AUTH.  If  you do not  use SMTP
  397                   AUTH,  and you s pecify add reses here , then onl y addresse s that mat ch
  398                   those  specified  will be p ermitted t o relay.
  399  
  400                   Addre sses may b e specifie d as a an  IP address  or domain  name, wit h an
  401                   optio nal netmas k, e.g.,
  402  
  403                   127.* , 127.0.0. 0/8, 127.0 .0.0/255.0 .0.0, and  localhost/ 8 are all  the same
  404  
  405                   See a lso the Re moteAddrNo tInNetwork  matcher i n the tran sport proc essor.
  406                   You w ould gener ally use o ne OR the  other appr oach.
  407            - ->
  408            < !--
  409            < authorized Addresses> 127.0.0.0/ 8</authori zedAddress es>
  410            - ->
  411  
  412            < !--  Uncom ment this  if you wan t to verif y sender a ddresses,  ensuring t hat -->
  413            < !--  the s ender addr ess matche s the user  who has a uthenticat ed. -->
  414            < !--  This  prevents a  user of y our mail s erver from  acting as  someone e lse -->
  415            < !--
  416            < verifyIden tity>true< /verifyIde ntity>
  417            - ->
  418  
  419            < !--  This  sets the m aximum all owed messa ge size (i n kilobyte s) for thi s -->
  420            < !--  SMTP  service. I f unspecif ied, the v alue defau lts to 0,  which mean s no limit . -->
  421            < maxmessage size>0</ma xmessagesi ze>
  422            
  423            < !--  This  sets wethe r to enfor ce the use  of HELO/E HLO saluta tion befor e a -->
  424            < !--  MAIL  command is  accepted.  If unspec ified, the  value def aults to t rue -->
  425            < !-- 
  426            < heloEhloEn forcement> true</helo EhloEnforc ement>
  427            - ->
  428  
  429            < !-- SMTP H andler Cha in customi zation -->
  430            < !-- Uncomm ent this a nd edit ja mes-smtpha ndlerchain .xml confi guration f ile to -->
  431            < !-- enable  the exper imental fa stfail fea tures. Loo k at the j ames-smtph andlerchai n.xml -->
  432            < !-- for fu rther info rmations - ->
  433            < !-- 
  434            & smtphandle rchainConf ig;
  435            - ->
  436                
  437         </ha ndler>
  438      </smtps erver>
  439  
  440       <!-- T he SMTPS s erver is e nabled by  default -- >
  441      <smtpse rver-tls e nabled="fa lse">
  442         <!--  port 25 i s the well -known/IAN A register ed port fo r SMTP -->
  443      <port>2 5</port>
  444      <useTLS >true</use TLS>
  445      <handle r>
  446            <helloName  autodetec t="false"> DNS . URL </helloNam e>
  447          <co nnectionti meout>3600 00</connec tiontimeou t>
  448         <aut hRequired> false</aut hRequired>
  449         <max messagesiz e>0</maxme ssagesize>
  450         </ha ndler>
  451      </smtps erver-tls>
  452  
  453       <!-- T he NNTP se rver is en abled by d efault -->
  454       <!-- D isabling b locks will  stop them  from list ening, -->
  455       <!-- b ut does no t free as  many resou rces as re moving the m would -- >
  456       <!-- N NTP-specif ic: if you  disable t he NNTP Se rver, you  should als o set the  nntp-repos itory's
  457            t hreadCount  to 0, oth erwise the re will be  threads a ctive and  polling  - ->
  458      <nntpse rver enabl ed="false" >
  459      <!-- TH E NNTP PRO TOCOL IS E XPERIMENTA L AND NOT  AS WELL TE STED AS SM TP AND POP 3 IN THIS  RELEASE.
  460           Th e James pr oject reco mmends tha t you chec k the Jame s web site  for updat es to the  NNTP
  461           se rvice.  -- >
  462         <!--  port 563  is the wel l-known/IA NA registe red port f or NNTP ov er SSL/TLS  -->
  463         <!--  port 119  is the wel l-known/IA NA registe red port f or Standar d NNTP -->
  464         <por t>119</por t>
  465  
  466         <!--  Uncomment  this if y ou want to  bind to a  specific  inetaddres s -->
  467         <!--
  468         <bin d> </bind>
  469         -->
  470         <!--  Uncomment  this if y ou want to  use TLS ( SSL)  on t his port - ->
  471         <!--
  472         <use TLS>true</ useTLS>
  473         -->
  474  
  475         <han dler>
  476            < !-- This i s the name  used by t he server  to identif y itself i n the NNTP  -->
  477            < !-- protoc ol.  If au todetect i s TRUE, th e server w ill discov er its -->
  478            < !-- own ho st name an d use that  in the pr otocol.  I f discover y fails, - ->
  479            < !-- the va lue of 'lo calhost' i s used.  I f autodete ct is FALS E, James - ->
  480            < !-- will u se the spe cified val ue. -->
  481              <helloName  autodetec t="false"> DNS . URL </helloNam e>
  482            < connection timeout>12 0000</conn ectiontime out>
  483              <!-- Set t he authReq uired valu e to true  to enable  authentica ted NNTP - ->
  484            < authRequir ed>false</ authRequir ed>
  485         </ha ndler>
  486      </nntps erver>
  487  
  488      <nntp-r epository>
  489         <!--  If this i s set to t rue, posti ng will be  disallowe d. -->
  490         <rea dOnly>fals e</readOnl y>
  491  
  492         <roo tPath>file ://var/nnt p/groups</ rootPath>
  493         <tem pPath>file ://var/nnt p/temp</te mpPath>
  494         <art icleIDPath >file://va r/nntp/art icleid</ar ticleIDPat h>
  495         <art icleIDDoma inSuffix>n ews.james. apache.org </articleI DDomainSuf fix>
  496  
  497         <!--  The news  groups hos ted in thi s NNTP rep ository. - ->
  498         <!--  Groups he re will be  added to  those foun d in the f ile system ,
  499               but remov ing groups  from here  will NOT  remove the m from the
  500               server.   Change <ne wsgroups>  to <newsgr oups only= "true"> to
  501               restrict  newsgroups  to ONLY t hose found  in this l ist.  -->
  502         <new sgroups>
  503            < newsgroup> org.apache .james.dev </newsgrou p>
  504            < newsgroup> org.apache .james.use r</newsgro up>
  505            < newsgroup> org.apache .avalon.de v</newsgro up>
  506            < newsgroup> org.apache .avalon.us er</newsgr oup>
  507         </ne wsgroups>
  508  
  509         <spo ol>
  510            < configurat ion>
  511                <spoolPa th>file:// var/nntp/s pool</spoo lPath>
  512                <!-- The  number of  threads t hat proces s spooler  related ta sks. -->
  513                <threadC ount>1</th readCount>
  514                <!-- The  spool thr ead(s) sho uld idle f or some ti me, if it  has nothin g to do  - ->
  515                <threadI dleTime>60 000</threa dIdleTime>
  516            < /configura tion>
  517         </sp ool>
  518      </nntp- repository >
  519  
  520      <!-- Sp ool reposi tory confi guration - ->
  521      <!-- Th e spool re pository i s the loca tion where  incoming  mails are  temporaril y stored - ->
  522      <!-- be fore being  processed . -->
  523      <spoolr epository  destinatio nURL="file ://var/mai l/spool/"  type="SPOO L"/>
  524    
  525      <!-- Al ternative  spool repo sitory def inition fo r JDBC use  -->
  526      <!--
  527      <spoolr epository  destinatio nURL="db:/ /maildb/sp ool/spool"  type="SPO OL"/>
  528      -->
  529    
  530      <!-- Al ternative  spool repo sitory def inition fo r JDBC use  -->
  531      <!-- St ores messa ge body in  file syst em, rest i n database  -->
  532      <!--
  533      <spoolr epository  destinatio nURL="dbfi le://maild b/spool/sp ool" type= "SPOOL"/>
  534      -->
  535  
  536      <!-- Th e Mailstor e block -- >
  537      <mailst ore>
  538         <rep ositories>
  539  
  540            < !-- File b ased repos itories.   These repo sitories s tore all m essage dat a -->
  541            < !-- in the  file syst em. -->
  542            < repository  class="or g.apache.j ames.mailr epository. AvalonMail Repository ">
  543                <protoco ls>
  544                   <prot ocol>file< /protocol>
  545                </protoc ols>
  546                <types>
  547                   <type >MAIL</typ e>
  548                </types>
  549            < /repositor y>
  550            < repository  class="or g.apache.j ames.mailr epository. AvalonSpoo lRepositor y">
  551                <protoco ls>
  552                   <prot ocol>file< /protocol>
  553                </protoc ols>
  554                <types>
  555                   <type >SPOOL</ty pe>
  556                </types>
  557            < /repositor y>
  558  
  559            < !-- JDBC b ased repos itories.   These repo sitories s tore all m essage dat a -->
  560            < !-- in the  database.  -->
  561            < repository  class="or g.apache.j ames.mailr epository. JDBCMailRe pository">
  562                <protoco ls>
  563                   <prot ocol>db</p rotocol>
  564                </protoc ols>
  565                <types>
  566                   <type >MAIL</typ e>
  567                </types>
  568                <config>
  569                   <sqlF ile>file:/ /conf/sqlR esources.x ml</sqlFil e>
  570                   <!--  Set the si ze thresho ld for in  memory han dling of s toring ope rations -- >
  571                   <!--  Default is  currently  409600000  due to a  bug with m ysql and b inary stre am -->
  572                   <!--  currently  under inve stigation.  Please ch ange this  only if yo u know wha t -->
  573                   <!--  you do, th is is EXPE RIMENTAL - ->
  574                   <!--
  575                   <inMe morySizeLi mit>4096</ inMemorySi zeLimit>
  576                    -->
  577                </config >
  578            < /repositor y>
  579  
  580            < repository  class="or g.apache.j ames.mailr epository. JDBCSpoolR epository" >
  581                <protoco ls>
  582                   <prot ocol>db</p rotocol>
  583                </protoc ols>
  584                <types>
  585                   <type >SPOOL</ty pe>
  586                </types>
  587                <config>
  588                   <sqlF ile>file:/ /conf/sqlR esources.x ml</sqlFil e>
  589                   <maxc ache>1000< /maxcache>
  590                   <!--  Set the si ze thresho ld for in  memory han dling of s toring ope rations -- >
  591                   <!--  Default is  currently  409600000  due to a  bug with m ysql and b inary stre am -->
  592                   <!--  currently  under inve stigation.  Please ch ange this  only if yo u know wha t -->
  593                   <!--  you do, th is is EXPE RIMENTAL - ->
  594                   <!--
  595                   <inMe morySizeLi mit>4096</ inMemorySi zeLimit>
  596                    -->
  597                </config >
  598            < /repositor y>
  599  
  600            < !-- These  repositori es store m essage del ivery and  headers in  the DB, a nd the bod y to the f ilesystem  -->
  601            < repository  class="or g.apache.j ames.mailr epository. JDBCMailRe pository">
  602                <protoco ls>
  603                   <prot ocol>dbfil e</protoco l>
  604                </protoc ols>
  605                <types>
  606                   <type >MAIL</typ e>
  607                </types>
  608                <config>
  609                   <sqlF ile>file:/ /conf/sqlR esources.x ml</sqlFil e>
  610                   <file store>file ://var/dbm ail</files tore>
  611                </config >
  612            < /repositor y>
  613  
  614            < repository  class="or g.apache.j ames.mailr epository. JDBCSpoolR epository" >
  615                <protoco ls>
  616                   <prot ocol>dbfil e</protoco l>
  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                   <file store>file ://var/dbm ail</files tore>
  624                   <maxc ache>1000< /maxcache>
  625                </config >
  626            < /repositor y>
  627  
  628            < !-- The mb ox reposit ory is des igned for  MAIL only;  SPOOL per formance w ould be le ss than id eal-->
  629            < repository  class="or g.apache.j ames.mailr epository. MBoxMailRe pository">
  630                <protoco ls>
  631                   <prot ocol>mbox< /protocol>
  632                </protoc ols>
  633                <types>
  634                   <type >MAIL</typ e>
  635                </types>
  636            < /repositor y>
  637  
  638            < repository  class="or g.apache.j ames.mailr epository. filepair.F ile_Persis tent_Objec t_Reposito ry">
  639                <protoco ls>
  640                   <prot ocol>file< /protocol>
  641                </protoc ols>
  642                <types>
  643                   <type >OBJECT</t ype>
  644                </types>
  645                <models>
  646                   <mode l>SYNCHRON OUS</model >
  647                   <mode l>ASYNCHRO NOUS</mode l>
  648                   <mode l>CACHE</m odel>
  649                </models >
  650            < /repositor y>
  651  
  652            < repository  class="or g.apache.j ames.mailr epository. filepair.F ile_Persis tent_Strea m_Reposito ry">
  653                <protoco ls>
  654                   <prot ocol>file< /protocol>
  655                </protoc ols>
  656                <types>
  657                   <type >STREAM</t ype>
  658                </types>
  659                <models>
  660                   <mode l>SYNCHRON OUS</model >
  661                   <mode l>ASYNCHRO NOUS</mode l>
  662                   <mode l>CACHE</m odel>
  663                </models >
  664            < /repositor y>
  665         </re positories >
  666  
  667      </mails tore>
  668  
  669  
  670      <!-- Th e User Sto rage block  -->
  671      <users- store>
  672         <!--  Configure  User Repo sitories h ere. -->
  673         <!--  -->
  674         <!--  User repo sitories a re require d for the  following  purposes:  -->
  675         <!--     - stor ing James  user infor mation, in cluding fo rwards, al iases, -->
  676         <!--       and  authentica tion data.  -->
  677         <!--     - hold ing lists  of users f or the lis tserv mail et -->
  678         <!--  Currently , two diff erent stor age option s are avai lable: -->
  679         <!--     - file -based sto rage using  Java seri alization  -->
  680         <!--     - data base-backe d storage  -->
  681         <!--  (Use of d atabase or  file-syst em is defi ned on a " per-reposi tory" basi s) -->
  682         <!--  -->
  683         <!--  Note: One  user repo sitory is  required f or James:  -->
  684         <!--    LocalUs ers - the  users for  whom you a re providi ng POP3, N NTP, or SM TP service  -->
  685         <!--  -->
  686         <!--  Other rep ositories  may be use d by match ers or mai lets. -->
  687  
  688         <!--  Default:  File-based  user repo sitories   Use these  configurat ions to st ore user i nfo in the  filesyste m  -->
  689         <!--  The Local Users repo sitory, fo r storing  James' Use r info. -- >
  690         <rep ository na me="LocalU sers" clas s="org.apa che.james. userreposi tory.Users FileReposi tory">
  691            < destinatio n URL="fil e://var/us ers/"/>
  692         </re pository>
  693  
  694  
  695         <!--  Database  backed use r reposito ries -->
  696         <!--  -->
  697         <!--  Use these  configura tions to s tore user  info in a  database.  -->
  698         <!--  Note: The  <data-sou rce> eleme nt must re fer to a c onnection  configured  -->
  699         <!--        in  the <datab ase-connec tions> con figuration  section.  -->
  700  
  701         <!--  The Local Users repo sitory, fo r storing  James' Use r info. -- >
  702         <!--  
  703         <rep ository na me="LocalU sers" clas s="org.apa che.james. userreposi tory.James UsersJdbcR epository"  destinati onURL="db: //maildb/u sers">
  704            < sqlFile>fi le://conf/ sqlResourc es.xml</sq lFile>
  705         </re pository>
  706         -->
  707  
  708         <!--  This is a n example  configurat ion includ ing config uration fo r a list s erver. -->
  709         <!--  CHECKME:  before unc ommenting  this, edit  the confi guration f ile's cont ents   -->
  710         <!--
  711           &l istserverS tores;
  712         -->
  713  
  714      </users -store>
  715  
  716      <!-- Th e database -connectio ns block - ->
  717      <databa se-connect ions>
  718         <!--  These con nections a re referre d to by na me elsewhe re in the  config fil e -->
  719   <!-- CHECK ME! -->
  720         <!--  To allow  James to u se a datab ase you mu st configu re the dat abase conn ection her e. -->
  721         <!--  If you ar e not usin g a databa se, you ca n leave th is section  unchanged . -->
  722         <!--  These con nections a re referre d to by na me in URLs  elsewhere  in the co nfig file.  -->
  723         <!--
  724               James has  previousl y used an  in-house c onnection  pool, Mord red.
  725               Mordred i s being de precated i n favor of  Jakarta C ommons DBC P.
  726               To use DB CP:    org .apache.ja mes.util.d bcp.JdbcDa taSource
  727               To use Mo rdred: org .apache.ja mes.util.m ordred.Jdb cDataSourc e
  728  
  729               Change it  back, of  course, to  use Mordr ed.
  730  
  731               NOTE: DBC P is confi gured to r ecover fro m a databa se server  outage.
  732                     Thi s, alone,  may be rea son for yo u to give  it a try.
  733         -->
  734         
  735         <!--  Default J ames distr ibution in cludes Apa che Derby  database,  -->
  736         <!--  which is  easy to em bed - but  we support  all the m ajor SQL    -->
  737         <!--  databases  - just re configure  your JDBC  configurat ion -->
  738         <!--
  739         <dat a-source n ame="maild b" class=" org.apache .james.uti l.dbcp.Jdb cDataSourc e">
  740            < driver>org .apache.de rby.jdbc.E mbeddedDri ver</drive r>
  741            < dburl>jdbc :derby:../ apps/james /var/derby db;create= true</dbur l>
  742            < user></use r>
  743            < password>< /password>
  744            < poolPrepar edStatemen ts>true</p oolPrepare dStatement s>
  745            < max>20</ma x>
  746         </da ta-source>
  747         -->
  748  
  749         <!--  JDBC driv er .jar li braries fo r other RD BMS can be  placed in  ~james/li b/  -->
  750  
  751         <!--  You can d ownload la test Conne ctor/J fro m   -->
  752         <!--  http://de v.mysql.co m/download s/connecto r/j/3.1.ht ml -->
  753         <!--  -->
  754         <!--  Example,  connecting  to a MySQ L database  called "m ail" on lo calhost-->
  755         <!--  -->
  756         <!--  The max v alue is th e maximum  number of  concurrent  connectio ns James w ill -->
  757         <!--  open to t his databa se-->
  758         <!--  If you se e "SQLExce ption: Giv ing up...  no connect ions avail able." in  your -->
  759         <!--  log files  or bounce d mail you  should in crease thi s value -- >
  760         <!--
  761         <dat a-source n ame="maild b" class=" org.apache .james.uti l.dbcp.Jdb cDataSourc e">
  762            < driver>com .mysql.jdb c.Driver</ driver>
  763            < dburl>jdbc :mysql://1 27.0.0.1/m ail?autoRe connect=tr ue</dburl>
  764            < user>usern ame</user>
  765            < password>X XXXXXXX</p assword>
  766            < max>20</ma x>
  767         </da ta-source>
  768         -->
  769  
  770         <!--  Example,  connecting  to a Micr osoft MSSQ L database  called "m ail" on lo calhost-->
  771         <!--  -->
  772         <!--  The max v alue is th e maximum  number of  concurrent  connectio ns James w ill -->
  773         <!--  open to t his databa se-->
  774         <!--  If you se e "SQLExce ption: Giv ing up...  no connect ions avail able." in  your -->
  775         <!--  log files  or bounce d mail you  should in crease thi s value -- >
  776         <!--
  777         <dat a-source n ame="maild b" class=" org.apache .james.uti l.dbcp.Jdb cDataSourc e">
  778            < driver>com .inet.tds. TdsDriver< /driver>
  779            < dburl>jdbc :inetdae7: 127.0.0.1? database=J ames</dbur l>
  780            < user>sa_ja mes</user>
  781            < password>X XXXXXXXh</ password>
  782            < max>20</ma x>
  783         </da ta-source>
  784         -->
  785  
  786         <!--  Here is a  configura tion for h sqldb (for merly Hype rsonicSQL)  -->
  787         <!--  You can d ownload th e db from  http://www .hsqldb.or g/ . Just  put the -- >
  788         <!--  hsqldb.ja r in the l ib directo ry and unc omment the  following  block -->
  789         <!--
  790         <dat a-source n ame="maild b" class=" org.apache .james.uti l.dbcp.Jdb cDataSourc e">
  791            < driver>org .hsqldb.jd bcDriver</ driver>
  792            < dburl>jdbc :hsqldb:ta rget/data/ hsqldb</db url>
  793            < user>sa</u ser>
  794            < password>< /password>
  795            < max>20</ma x>
  796         </da ta-source>
  797         -->
  798  
  799      </datab ase-connec tions>
  800  
  801      <!-- Co nfiguratio n for Corn erstone Se rvices -->
  802      <connec tions>
  803         <idl e-timeout> 300000</id le-timeout >
  804         <max -connectio ns>30</max -connectio ns>
  805      </conne ctions>
  806  
  807      <!-- Th e Socket M anager blo ck -->
  808      <socket s>
  809         <ser ver-socket s>
  810            < factory na me="plain"  class="or g.apache.a valon.corn erstone.bl ocks.socke ts.Default ServerSock etFactory" />
  811   <!--
  812            < factory na me="ssl" c lass="org. apache.ava lon.corner stone.bloc ks.sockets .TLSServer SocketFact ory">
  813                <ssl-fac tory>
  814                   <keys tore>
  815                        <file>/u01 /app/ssl/c erts/ DNS . URL:PORT .jks</file >
  816                      <p assword>XX XXXXXX</pa ssword>
  817                      <k ey-passwor d>XXXXXXXX </key-pass word>
  818                      <t ype>JKS</t ype>
  819                      <p rotocol>TL S</protoco l>
  820                      <a lgorithm>S unX509</al gorithm>
  821                      <a uthenticat e-client>f alse</auth enticate-c lient>
  822                   </key store>
  823                </ssl-fa ctory>
  824            < /factory>
  825   -->
  826         </se rver-socke ts>
  827         <cli ent-socket s>
  828            < factory na me="plain"  class="or g.apache.a valon.corn erstone.bl ocks.socke ts.Default SocketFact ory"/>
  829         </cl ient-socke ts>
  830      </socke ts>
  831  
  832      <!-- Th e Thread M anager blo ck -->
  833      <thread -manager>
  834         <thr ead-group>
  835            < name>defau lt</name>
  836            < priority>5 </priority >
  837            < is-daemon> false</is- daemon>
  838            < max-thread s>100</max -threads>
  839            < min-thread s>20</min- threads>
  840            < min-spare- threads>20 </min-spar e-threads>
  841         </th read-group >
  842      </threa d-manager>
  843   </config>