Bug 34516: Upgrade database fails for 22.11.07.003, points to web installer
[koha.git] / debian / templates / koha-conf-site.xml.in
1 <yazgfs>
2
3 <listen id="biblioserver" >unix:/var/run/koha/__KOHASITE__/bibliosocket</listen>
4 <listen id="authorityserver" >unix:/var/run/koha/__KOHASITE__/authoritysocket</listen>
5
6 <!-- Uncomment the following entry if you want to run the public Z39.50 server.
7     Also uncomment the <server> and <serverinfo> sections for id 'publicserver'
8     under PUBLICSERVER'S BIBLIOGRAPHIC RECORDS title-->
9 __START_SRU_PUBLICSERVER__
10 <listen id="publicserver" >tcp:@:__SRU_BIBLIOS_PORT__</listen>
11 __END_SRU_PUBLICSERVER__
12
13 <!-- BIBLIOGRAPHIC RECORDS -->
14 <server id="biblioserver"  listenref="biblioserver">
15     <directory>/var/lib/koha/__KOHASITE__/biblios</directory>
16     <config>/etc/koha/sites/__KOHASITE__/zebra-biblios-dom.cfg</config>
17     <cql2rpn>/etc/koha/zebradb/pqf.properties</cql2rpn>
18
19   <xi:include href="/etc/koha/__ZEBRA_MARC_FORMAT__-retrieval-info-bib-dom.xml"
20               xmlns:xi="http://www.w3.org/2001/XInclude">
21     <xi:fallback>
22       <retrievalinfo>
23        <retrieval syntax="__ZEBRA_MARC_FORMAT__" name="F"/>
24        <retrieval syntax="__ZEBRA_MARC_FORMAT__" name="B"/>
25        <retrieval syntax="xml" name="F"/>
26        <retrieval syntax="xml" name="B"/>
27        <retrieval syntax="xml" name="marcxml"
28                   identifier="info:srw/schema/1/marcxml-v1.1">
29          <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
30            <marc inputformat="marc" outputformat="marcxml"
31                  inputcharset="utf-8"/>
32          </backend>
33        </retrieval>
34        <retrieval syntax="xml" name="dc">
35          <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
36            <marc inputformat="marc" outputformat="marcxml"
37                  inputcharset="utf-8"/>
38            <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl"/>
39          </backend>
40        </retrieval>
41        <retrieval syntax="xml" name="mods">
42          <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
43            <marc inputformat="marc" outputformat="marcxml"
44                  inputcharset="utf-8"/>
45            <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl"/>
46          </backend>
47        </retrieval>
48        <retrieval syntax="xml" name="rdfdc">
49          <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
50            <marc inputformat="marc" outputformat="marcxml"
51                  inputcharset="utf-8"/>
52            <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
53          </backend>
54        </retrieval>
55        <retrieval syntax="xml" name="rss2">
56          <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
57            <marc inputformat="marc" outputformat="marcxml"
58                  inputcharset="utf-8"/>
59            <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2RSS2.xsl"/>
60          </backend>
61        </retrieval>
62        <retrieval syntax="xml" name="utils">
63          <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
64            <marc inputformat="marc" outputformat="marcxml"
65                  inputcharset="utf-8"/>
66            <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl"/>
67          </backend>
68        </retrieval>
69       </retrievalinfo>
70     </xi:fallback>
71   </xi:include>
72
73     <!-- The stuff below is used to enable SRU. It's currently disabled
74          until we come up with a good way to make it get magically set up by
75          the packaging system. If you need it, uncomment and set it up
76          manually.
77     <xi:include href="/etc/koha/zebradb/explain-biblios.xml"
78                 xmlns:xi="http://www.w3.org/2001/XInclude">
79       <xi:fallback>
80       <explain xmlns="http://explain.z3950.org/dtd/2.0/">
81           <serverInfo>
82             <host>__ZEBRA_SRU_HOST__</host>
83             <port>__ZEBRA_SRU_BIBLIOS_PORT__</port>
84             <database>biblios</database>
85           </serverInfo>
86         </explain>
87       </xi:fallback>
88     </xi:include> -->
89 </server>
90 <serverinfo id="biblioserver">
91         <ccl2rpn>/etc/koha/zebradb/ccl.properties</ccl2rpn>
92         <user>kohauser</user>
93         <password>__ZEBRA_PASS__</password>
94 </serverinfo>
95
96 <!-- AUTHORITY RECORDS -->
97 <server id="authorityserver"  listenref="authorityserver" >
98     <directory>/var/lib/koha/__KOHASITE__/authorities</directory>
99     <config>/etc/koha/sites/__KOHASITE__/zebra-authorities-dom.cfg</config>
100     <cql2rpn>/etc/koha/zebradb/pqf.properties</cql2rpn>
101
102   <xi:include href="/etc/koha/__ZEBRA_MARC_FORMAT__-retrieval-info-auth-dom.xml"
103               xmlns:xi="http://www.w3.org/2001/XInclude">
104     <xi:fallback>
105       <retrievalinfo>
106        <retrieval syntax="__ZEBRA_MARC_FORMAT__" name="F"/>
107        <retrieval syntax="__ZEBRA_MARC_FORMAT__" name="B"/>
108        <retrieval syntax="xml" name="marcxml"
109                   identifier="info:srw/schema/1/marcxml-v1.1">
110          <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
111            <marc inputformat="marc" outputformat="marcxml"
112                  inputcharset="utf-8"/>
113          </backend>
114        </retrieval>
115        <retrieval syntax="xml" name="dc">
116          <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
117            <marc inputformat="marc" outputformat="marcxml"
118                  inputcharset="utf-8"/>
119            <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl"/>
120          </backend>
121        </retrieval>
122        <retrieval syntax="xml" name="mods">
123          <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
124            <marc inputformat="marc" outputformat="marcxml"
125                  inputcharset="utf-8"/>
126            <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl"/>
127          </backend>
128        </retrieval>
129        <retrieval syntax="xml" name="rdfdc">
130          <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
131            <marc inputformat="marc" outputformat="marcxml"
132                  inputcharset="utf-8"/>
133            <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
134          </backend>
135        </retrieval>
136        <retrieval syntax="xml" name="utils">
137          <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
138            <marc inputformat="marc" outputformat="marcxml"
139                  inputcharset="utf-8"/>
140            <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl"/>
141          </backend>
142        </retrieval>
143       </retrievalinfo>
144     </xi:fallback>
145   </xi:include>
146
147     <!-- The stuff below is used to enable SRU. It's currently disabled
148          until we come up with a good way to make it get magically set up by
149          the packaging system. If you need it, uncomment and set it up
150          manually.
151     <xi:include href="/etc/koha/zebradb/explain-authorities.xml"
152                 xmlns:xi="http://www.w3.org/2001/XInclude">
153     <xi:fallback>
154       <explain xmlns="http://explain.z3950.org/dtd/2.0/">
155           <serverInfo>
156             <host>__ZEBRA_SRU_HOST__</host>
157             <port>__ZEBRA_SRU_AUTHORITIES_PORT__</port>
158             <database>authorities</database>
159           </serverInfo>
160         </explain>
161       </xi:fallback>
162   </xi:include> -->
163 </server>
164 <serverinfo id="authorityserver">
165     <ccl2rpn>/etc/koha/zebradb/ccl.properties</ccl2rpn>
166     <user>kohauser</user>
167     <password>__ZEBRA_PASS__</password>
168 </serverinfo>
169
170 <!-- PUBLICSERVER'S BIBLIOGRAPHIC RECORDS -->
171 <!-- This can be used to set up a public Z39.50/SRU server. -->
172 __START_SRU_PUBLICSERVER__
173 <server id="publicserver"  listenref="publicserver">
174     <directory>/var/lib/koha/__KOHASITE__/biblios</directory>
175     <config>/etc/koha/sites/__KOHASITE__/zebra-biblios-dom.cfg</config>
176     <cql2rpn>/etc/koha/zebradb/pqf.properties</cql2rpn>
177
178   <xi:include href="/etc/koha/__ZEBRA_MARC_FORMAT__-retrieval-info-bib-dom.xml"
179               xmlns:xi="http://www.w3.org/2001/XInclude">
180     <xi:fallback>
181       <retrievalinfo>
182        <retrieval syntax="__ZEBRA_MARC_FORMAT__" name="F"/>
183        <retrieval syntax="__ZEBRA_MARC_FORMAT__" name="B"/>
184        <retrieval syntax="xml" name="F"/>
185        <retrieval syntax="xml" name="B"/>
186        <retrieval syntax="xml" name="marcxml"
187                   identifier="info:srw/schema/1/marcxml-v1.1">
188          <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
189            <marc inputformat="marc" outputformat="marcxml"
190                  inputcharset="utf-8"/>
191          </backend>
192        </retrieval>
193        <retrieval syntax="xml" name="dc">
194          <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
195            <marc inputformat="marc" outputformat="marcxml"
196                  inputcharset="utf-8"/>
197            <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl"/>
198          </backend>
199        </retrieval>
200        <retrieval syntax="xml" name="mods">
201          <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
202            <marc inputformat="marc" outputformat="marcxml"
203                  inputcharset="utf-8"/>
204            <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl"/>
205          </backend>
206        </retrieval>
207        <retrieval syntax="xml" name="rdfdc">
208          <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
209            <marc inputformat="marc" outputformat="marcxml"
210                  inputcharset="utf-8"/>
211            <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
212          </backend>
213        </retrieval>
214        <retrieval syntax="xml" name="rss2">
215          <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
216            <marc inputformat="marc" outputformat="marcxml"
217                  inputcharset="utf-8"/>
218            <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2RSS2.xsl"/>
219          </backend>
220        </retrieval>
221        <retrieval syntax="xml" name="utils">
222          <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
223            <marc inputformat="marc" outputformat="marcxml"
224                  inputcharset="utf-8"/>
225            <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl"/>
226          </backend>
227        </retrieval>
228       </retrievalinfo>
229     </xi:fallback>
230   </xi:include>
231
232     <xi:include href="/etc/koha/zebradb/explain-biblios.xml"
233                 xmlns:xi="http://www.w3.org/2001/XInclude">
234       <xi:fallback>
235       <explain xmlns="http://explain.z3950.org/dtd/2.0/">
236           <serverInfo>
237             <host>__ZEBRA_SRU_HOST__</host>
238             <port>__ZEBRA_SRU_BIBLIOS_PORT__</port>
239             <database>biblios</database>
240           </serverInfo>
241         </explain>
242       </xi:fallback>
243     </xi:include>
244 </server>
245 <serverinfo id="publicserver">
246         <ccl2rpn>/etc/koha/zebradb/ccl.properties</ccl2rpn>
247         <user>kohauser</user>
248         <password>__ZEBRA_PASS__</password>
249 </serverinfo>
250 __END_SRU_PUBLICSERVER__
251
252 <config>
253  <db_scheme>mysql</db_scheme>
254  <database>__DB_NAME__</database>
255  <hostname>__DB_HOST__</hostname>
256  <port>3306</port>
257  <user>__DB_USER__</user>
258  <pass>__DB_PASS__</pass>
259  <tls>__DB_USE_TLS__</tls>
260  <ca>__DB_TLS_CA_CERTIFICATE__</ca>
261  <cert>__DB_TLS_CLIENT_CERTIFICATE__</cert>
262  <key>__DB_TLS_CLIENT_KEY__</key>
263  <biblioserver>biblios</biblioserver>
264  <biblioservershadow>1</biblioservershadow>
265  <authorityserver>authorities</authorityserver>
266  <authorityservershadow>1</authorityservershadow>
267  <pluginsdir>__PLUGINS_DIR__</pluginsdir> <!-- This entry can be repeated to use multiple directories -->
268  <enable_plugins>0</enable_plugins>
269  <upload_path>__UPLOAD_PATH__</upload_path>
270  <tmp_path>__TMP_PATH__</tmp_path>
271  <intranetdir>/usr/share/koha/intranet/cgi-bin</intranetdir>
272  <opacdir>/usr/share/koha/opac/cgi-bin/opac</opacdir>
273  <opachtdocs>/usr/share/koha/opac/htdocs/opac-tmpl</opachtdocs>
274  <intrahtdocs>/usr/share/koha/intranet/htdocs/intranet-tmpl</intrahtdocs>
275  <includes>/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/includes/</includes>
276  <logdir>__LOG_DIR__</logdir>
277  <docdir>/usr/share/doc/koha-common</docdir>
278  <backupdir>/var/spool/koha/__KOHASITE__</backupdir>
279  <!-- URL of the mana KB server -->
280  <!-- alternative value http://mana-test.koha-community.org to query the test server -->
281  <mana_config>https://mana-kb.koha-community.org</mana_config>
282  <!-- Enable the two following to allow superlibrarians to download
283       database and configuration dumps (respectively) from the Export
284       tool -->
285  <backup_db_via_tools>0</backup_db_via_tools>
286  <backup_conf_via_tools>0</backup_conf_via_tools>
287  <install_log>/usr/share/koha/misc/koha-install-log</install_log>
288  <useldapserver>0</useldapserver><!-- see C4::Auth_with_ldap for extra configs you must add if you want to turn this on -->
289  <useshibboleth>0</useshibboleth><!-- see C4::Auth_with_shibboleth for extra configs you must do to turn this on -->
290  <zebra_lockdir>/var/lock/koha/__KOHASITE__</zebra_lockdir>
291  <lockdir>/var/lock/koha/__KOHASITE__</lockdir>
292  <use_zebra_facets>1</use_zebra_facets>
293  <zebra_max_record_size>1024</zebra_max_record_size>
294  <zebra_connection_timeout>30</zebra_connection_timeout>
295  <log4perl_conf>__KOHA_CONF_DIR__/log4perl.conf</log4perl_conf>
296  <!-- Uncomment/edit next setting if you want to adjust zebra log levels.
297       Default is: none,fatal,warn.
298       You can also include: debug,log,malloc,all,request.
299       Use a comma-separated list of levels to include. -->
300  <!-- <zebra_loglevels>none,fatal,warn</zebra_loglevels> -->
301  <memcached_servers>__MEMCACHED_SERVERS__</memcached_servers>
302  <memcached_namespace>__MEMCACHED_NAMESPACE__</memcached_namespace>
303  <template_cache_dir>__TEMPLATE_CACHE_DIR__</template_cache_dir>
304
305  <!-- Secret passphrase used by Mojolicious for signed cookies -->
306  <api_secret_passphrase>__API_SECRET__</api_secret_passphrase>
307
308  <!-- default report results limit is 999,999. uncomment this and set a different number to override that limit.
309  <report_results_limit>999999</report_results_limit>
310  -->
311
312  <!-- Accessible directory from the staff interface, uncomment the following line and define a valid path to let the intranet user access it-->
313  <!--
314  <access_dirs>
315      <access_dir></access_dir>
316      <access_dir></access_dir>
317  </access_dirs>
318  -->
319
320  <!-- true type font mapping according to type from $font_types in C4/Creators/Lib.pm -->
321  <ttf>
322     <font type="TR" >/usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf</font>
323     <font type="TB" >/usr/share/fonts/truetype/dejavu/DejaVuSerif-Bold.ttf</font>
324     <font type="TI" >/usr/share/fonts/truetype/dejavu/DejaVuSerif-Italic.ttf</font>
325     <font type="TBI">/usr/share/fonts/truetype/dejavu/DejaVuSerif-BoldItalic.ttf</font>
326     <font type="C"  >/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf</font>
327     <font type="CB" >/usr/share/fonts/truetype/dejavu/DejaVuSansMono-Bold.ttf</font>
328     <font type="CO" >/usr/share/fonts/truetype/dejavu/DejaVuSansMono-Oblique.ttf</font>
329     <font type="CBO">/usr/share/fonts/truetype/dejavu/DejaVuSansMono-BoldOblique.ttf</font>
330     <font type="H"  >/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf</font>
331     <font type="HO" >/usr/share/fonts/truetype/dejavu/DejaVuSans-Oblique.ttf</font>
332     <font type="HB" >/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf</font>
333     <font type="HBO">/usr/share/fonts/truetype/dejavu/DejaVuSans-BoldOblique.ttf</font>
334  </ttf>
335
336  <!-- Path to the config file for SMS::Send -->
337  <sms_send_config>__KOHA_CONF_DIR__/sms_send/</sms_send_config>
338
339  <!-- Configuration for Plack -->
340  <plack_max_requests>50</plack_max_requests>
341  <plack_workers>2</plack_workers>
342
343  <!-- Configuration for X-Forwarded-For -->
344  <!--
345  <koha_trusted_proxies>1.2.3.4 2.3.4.5 3.4.5.6</koha_trusted_proxies>
346  -->
347
348  <!-- Elasticsearch Configuration -->
349  <elasticsearch>
350      <server>__ELASTICSEARCH_SERVER__</server> <!-- may be repeated to include all servers on your cluster -->
351      <index_name>koha___KOHASITE__</index_name> <!-- should be unique amongst all the indices on your cluster. _biblios and _authorities will be appended. -->
352
353      <!-- See https://metacpan.org/pod/Search::Elasticsearch#cxn_pool -->
354      <cxn_pool>Static</cxn_pool>
355      <!-- See https://metacpan.org/pod/Search::Elasticsearch#trace_to -->
356      <!-- <trace_to>Stderr</trace_to> -->
357  </elasticsearch>
358  <!-- Uncomment the following line if you want to override the Elasticsearch default index settings -->
359  <!-- <elasticsearch_index_config>__KOHA_CONF_DIR__/searchengine/elasticsearch/index_config.yaml</elasticsearch_index_config> -->
360  <!-- Uncomment the following line if you want to override the Elasticsearch default field settings -->
361  <!-- <elasticsearch_field_config>__KOHA_CONF_DIR__/searchengine/elasticsearch/field_config.yaml</elasticsearch_field_config> -->
362  <!-- Uncomment the following line if you want to override the Elasticsearch index default settings.
363       Note that any changes made to the mappings file only take effect if you reset the mappings in
364       by visiting /cgi-bin/koha/admin/searchengine/elasticsearch/mappings.pl?op=reset&i_know_what_i_am_doing=1&reset_fields=1.
365       Resetting mappings will override any changes made in the Search engine configuration UI.
366  -->
367  <!-- <elasticsearch_index_mappings>__KOHA_CONF_DIR__/searchengine/elasticsearch/mappings.yaml</elasticsearch_index_mappings> -->
368
369  <interlibrary_loans>
370      <!-- Path to where Illbackends are located on the system
371           - This setting should normally not be touched -->
372      <backend_directory>/usr/share/koha/lib/Koha/Illbackends</backend_directory>
373      <!-- At least one <branch> block is required. -->
374      <branch>
375          <!-- The code of this branch -->
376          <code>CPL</code>
377          <!-- An optional prefix for all ILL request IDs for this branch -->
378          <prefix>ILL</prefix>
379      </branch>
380      <!-- How should we treat staff comments?
381           - hide: don't show in OPAC
382           - show: show in OPAC -->
383      <staff_request_comments>hide</staff_request_comments>
384      <!-- How should we treat the reply_date field?
385           - hide: don't show this field in the UI
386           - any other string: show, with this label -->
387      <reply_date>hide</reply_date>
388      <!-- Where should digital ILLs be sent?
389           - borrower: send it straight to the borrower email
390           - branch: send the ILL to the branch email -->
391      <digital_recipient>branch</digital_recipient>
392      <!-- What patron category should we use for p2p ILL requests?
393           - By default this is set to 'IL' -->
394      <partner_code>IL</partner_code>
395  </interlibrary_loans>
396
397  <!-- The timezone setting can let you force the timezone for this
398       instance to be something other then the local timezone of the
399       server. e.g. Antarctica/South_Pole -->
400  <timezone>__TIMEZONE__</timezone>
401
402  <!-- This is the bcrypt settings used to generated anonymized content -->
403  <bcrypt_settings>__BCRYPT_SETTINGS__</bcrypt_settings>
404
405  <!-- Encryption key for crypted password or sensitive data -->
406  <encryption_key>__ENCRYPTION_KEY__</encryption_key>
407
408  <!-- flag for development purposes
409       dev_install is used to adjust some paths specific to dev installations
410       strict_sql_modes should not be used in a production environment
411       developers use it to catch bugs related to strict SQL modes -->
412  <dev_install>0</dev_install>
413  <strict_sql_modes>0</strict_sql_modes>
414  <plugin_repos>
415     <!--
416     <repo>
417         <name>ByWater Solutions</name>
418         <org_name>bywatersolutions</org_name>
419         <service>github</service>
420     </repo>
421     <repo>
422         <name>Theke Solutions</name>
423         <org_name>thekesolutions</org_name>
424         <service>gitlab</service>
425     </repo>
426     <repo>
427         <name>PTFS Europe</name>
428         <org_name>ptfs-europe</org_name>
429         <service>github</service>
430     </repo>
431     <repo>
432         <name>Solutions inLibro</name>
433         <org_name>inLibro</org_name>
434         <service>github</service>
435     </repo>
436     -->
437  </plugin_repos>
438
439  <koha_xslt_security>
440  <!-- Uncomment the following entry ONLY when you explicitly want the XSLT
441       parser to expand entities like <!ENTITY secret SYSTEM "/etc/secrets">.
442       This is unsafe and therefore NOT recommended!
443      <expand_entities_unsafe>1</expand_entities_unsafe>
444  -->
445  </koha_xslt_security>
446
447  <smtp_server>
448     <host>__SMTP_HOST__</host>
449     <port>__SMTP_PORT__</port>
450     <timeout>__SMTP_TIMEOUT__</timeout>
451     <ssl_mode>__SMTP_SSL_MODE__</ssl_mode>
452     <user_name>__SMTP_USER_NAME__</user_name>
453     <password>__SMTP_PASSWORD__</password>
454     <debug>__SMTP_DEBUG__</debug>
455  </smtp_server>
456
457  <message_broker>
458    <hostname>__MESSAGE_BROKER_HOST__</hostname>
459    <port>__MESSAGE_BROKER_PORT__</port>
460    <username>__MESSAGE_BROKER_USER__</username>
461    <password>__MESSAGE_BROKER_PASS__</password>
462    <vhost>__MESSAGE_BROKER_VHOST__</vhost>
463  </message_broker>
464
465  <background_jobs_worker>
466      <!-- Max simultaneous processes per worker -->
467      <max_processes>1</max_processes>
468  </background_jobs_worker>
469
470  <do_not_remove_cookie>__KEEP_COOKIE__</do_not_remove_cookie>
471  <do_not_remove_cookie>catalogue_editor_\d+</do_not_remove_cookie>
472  <!-- Uncomment lines like hereunder to not clear cookies at logout:
473       The cookie name is case sensitive.
474       NOTE: You may use regex constructions like the example above.
475      <do_not_remove_cookie>KohaOpacLanguage</do_not_remove_cookie>
476  -->
477
478  <message_domain_limits>
479      <!-- Two types are supported: a regular limit and a grouped limit that refers to a regular limit -->
480      <!-- <domain><name>DOMAIN_NAME</name><limit>NUMBER</limit><unit>{NUMBER}{m[inutes]|h[ours]|d[ays]}</unit></domain> -->
481      <!-- <domain><name>OTHER_DOMAIN_NAME</name><belongs_to>DOMAIN_NAME</belongs_to></domain> -->
482      <!-- Like: <domain><name>outlook.com</name><limit>30</limit><unit>1m</unit></domain> -->
483      <!-- Like: <domain><name>hotmail.com</name><belongs_to>outlook.com</belongs_to></domain> -->
484  </message_domain_limits>
485
486  <mfa_range>1</mfa_range><!-- Number of 30 second iterations to allow for MFA code checking -->
487
488 </config>
489 </yazgfs>