]> freie-schul-it.de Git - fsit_smgt.git/blob - files/kivitendo.conf
kivitendo-task um postgresql erweitert
[fsit_smgt.git] / files / kivitendo.conf
1 [authentication]
2 # The cleartext password for access to the administrative part. It
3 # can only be changed in this file, not via the administrative
4 # interface.
5 admin_password = admin123
6
7 # Which modules to use for authentication. Valid values are 'DB',
8 # 'LDAP', 'HTTPHeaders'. You can use multiple modules separated by spaces.
9 #
10 # Multiple LDAP modules with different configurations can be used by
11 # postfixing 'LDAP' with the name of the configuration section to use:
12 # 'LDAP:ldap_fallback' would use the data from
13 # '[authentication/ldap_fallback]'. The name defaults to 'ldap' if it
14 # isn't given.
15 #
16 # Note that the LDAP module doesn't support changing the password.
17 module = DB
18
19 # The cookie name can be changed if desired.
20 cookie_name = kivitendo_session_id
21
22 # The number of minutes a session is valid. The default value is eight
23 # hours.
24 session_timeout = 480
25
26 # The number of seconds to penalize failed login attempts. 0 disables
27 # it.
28 failed_login_penalty = 5
29
30 [authentication/database]
31 # Connection information for the database with the user and group
32 # inforamtion. This information is always needed, even if LDAP is
33 # used for authentication, as the user information is stored in this
34 # database while LDAP is only used for password verification.
35 #
36 # If 'module' is set to 'DB' then this database also contains the
37 # users' passwords.
38 host = 127.0.0.1
39 port = 5432
40 db = kivitendo_auth
41 user = postgres
42 password =
43
44 [authentication/ldap]
45 # This section is only relevant if 'module' is set to 'LDAP'. It names
46 # the LDAP server the passwords are verified against by doing a LDAP
47 # bind operation.
48 #
49 # At least the parameters 'host', 'attribute' and 'base_dn' have to be
50 # specified.
51 #
52 # tls: Activate encryption via TLS
53 # verify: If 'tls' is used, how to verify the server's certificate.
54 # Can be one of 'require' or 'none'.
55 # attribute: Name of the LDAP attribute containing the user's login name
56 # base_dn: Base DN the LDAP searches start from
57 # filter: An optional LDAP filter specification. The string '<%login%>'
58 # is replaced by the user's login name before the search is started.
59 # bind_dn and bind_password:
60 # If searching the LDAP tree requires user credentials
61 # (e.g. ActiveDirectory) then these two parameters specify
62 # the user name and password to use.
63 # timeout: Timeout when connecting to the server in seconds.
64 #
65 # You can specify a fallback LDAP server to use in case the main one
66 # isn't reachable by duplicating this whole section as
67 # "[authentication/ldap_fallback]".
68 #
69 host = localhost
70 port = 389
71 tls = 0
72 attribute = uid
73 base_dn =
74 filter =
75 bind_dn =
76 bind_password =
77 timeout = 10
78 verify = require
79
80 # For use with module 'HTTPHeaders':
81 [authentication/http_basic]
82 enabled = 1
83
84 # For use with module 'HTTPHeaders':
85 [authentication/http_headers]
86 enabled = 0
87 client_id_header = X-Kivitendo-Client-ID
88 user_header = Auth-User
89 secret_header = X-Kivitendo-App-Secret
90 secret = ...
91
92 [system]
93 # Set language for login and admin forms. Currently "de" (German)
94 # and "en" (English, not perfect) are available.
95 language = de
96
97 # Set stylesheet for login and admin forms. Supported:
98 # design40 - default
99 stylesheet = design40
100
101 # MassPrint Timeout
102 # must be less than cgi timeout
103 #
104 massprint_timeout = 30
105
106 # Set default_manager for admin forms. Currently "german"
107 # and "swiss" are available.
108 default_manager = german
109
110 # The memory limits given here determine the maximum process size
111 # (vsz, the total amount of memory this process uses including memory
112 # swapped out or shared with other processes) or resident set size
113 # (rss, the amount of memory not swapped out/shared with other
114 # processes). If either limit is reached at the end of the request
115 # then the kivitendo process will exit.
116 #
117 # This only applies for processes under FCGI and the task manager.
118 # For CGI configurations the process will be terminated after each request
119 # regardless of this setting.
120 #
121 # Note: this will only terminate processes with too high memory consumption. It
122 # is assumed that an external managing service will start new instances. For
123 # FCGI this will usually be apache or the wrapper scripts for nginx, for the
124 # task server this will have to be the system manager.
125 #
126 # Numbers can be postfixed with KB, MB, GB. If no number is given or
127 # the number is 0 then no checking will be performed.
128 memory_limit_rss =
129 memory_limit_vsz =
130
131 [paths]
132 # path to temporary files (must be writeable by the web server)
133 userspath = users
134 # spool directory for batch printing
135 spool = spool
136 # templates base directory
137 templates = templates
138 # Path to the old memberfile (ignored on new installations)
139 memberfile = users/members
140 # Path to ELSTER geierlein webserver path inside kivitendo
141 # (must be inside kivitendo but you can set an ALIAS for apache/oe
142 # if set the export to geierlein is enabled
143 # geierlein_path = geierlein
144
145 #
146 # document path for FileSystem FileManagement:
147 # (must be reachable read/write but not executable from webserver)
148 document_path = /var/www/kivitendo-erp/kivi_documents
149 #
150
151 [mail_delivery]
152 # Delivery method can be 'sendmail' or 'smtp'. For 'method = sendmail' the
153 # parameter 'mail_delivery.sendmail' is used as the executable to call. If
154 # 'applications.sendmail' still exists (backwards compatibility) then
155 # 'applications.sendmail' will be used instead of 'mail_delivery.sendmail'.
156 # If method is empty, mail delivery is disabled.
157 method = smtp
158 # Location of sendmail for 'method = sendmail'
159 sendmail = /usr/sbin/sendmail -t<%if myconfig_email%> -f <%myconfig_email%><%end%>
160 # Settings for 'method = smtp'. Only set 'port' if your SMTP server
161 # runs on a non-standard port (25 for 'security=none' or
162 # 'security=tls', 465 for 'security=ssl').
163 host = localhost
164 #port = 25
165 # Security can be 'tls', 'ssl' or 'none'. Unset equals 'none'. This
166 # determines whether or not encryption is used and which kind. For
167 # 'tls' the module 'Net::SSLGlue' is required; for 'ssl'
168 # 'Net::SMTP::SSL' is required and 'none' only uses 'Net::SMTP'.
169 security = none
170 # Authentication is only used if 'login' is set. You should only use
171 # that with 'tls' or 'ssl' encryption.
172 login =
173 password =
174
175 [imap_client]
176 enabled = 0
177 hostname = localhost
178 username =
179 password =
180 # This folder can be managed with kivitendo through the background jobs
181 # CleanUpEmailSubfolders and SyncEmailFolder. Create no subfolder in the
182 # base folder by hand. Use / for subfolders.
183 base_folder = INBOX
184 # Port only needs to be changed if it is not the default port.
185 # port = 993
186 # If SSL is to be used, then set port to 993 or leave empty
187 ssl = 1
188
189 # Define a server for a specific email (e.g. info@test.de) with
190 # '[sent_emails_in_imap/email/info@test.de]'
191 [sent_emails_in_imap]
192 enabled = 0
193 hostname = localhost
194 username =
195 password =
196 # This folder must exist. Use / for subfolders.
197 folder = Sent/Kivitendo
198 # Port only needs to be changed if it is not the default port.
199 # port = 143
200 # If SSL is used, default port is 993
201 ssl = 1
202
203 [applications]
204 # Location of OpenOffice.org/LibreOffice writer
205 openofficeorg_writer = lowriter
206 # Location of the html2ps binary
207 html2ps = html2ps
208 # Location of the Ghostscript binary
209 ghostscript = gs
210 # Location of the program to create PDFs from TeX documents
211 latex = latexmk --pdflatex
212 # Location of the Python interpreter to use when converting from
213 # OpenDocument to PDF. Some distributions compile UNO support only
214 # into binaries located in different locations than the main Python
215 # binary.
216 python_uno = python3
217
218 [environment]
219 # Add the following paths to the PATH environment variable.
220 path = /usr/local/bin:/usr/X11R6/bin:/usr/X11/bin
221 # Add the following paths to the PERL5LIB environment variable.
222 # "/sw/lib/perl5" is for Mac OS X with Fink's Perl.
223 lib = /sw/lib/perl5
224 # Add the following paths to the PYTHONPATH environment variable for
225 # locating Python modules. Python is used when converting OpenDocument
226 # files into PDF files.
227 python_uno_path =
228
229 [print_templates]
230 # If you have LaTeX installed set to 1
231 latex = 1
232 # Minimal support for Excel print templates
233 excel = 0
234 # Enable or disable support for OpenDocument print templates
235 opendocument = 1
236 # Chose whether or not OpenOffice/LibreOffice should remain running after a
237 # conversion. If yes then the conversion of subsequent documents will
238 # be a bit faster. You need to have Python and the Python UNO bindings
239 # (part of OpenOffice/LibreOffice) installed.
240 openofficeorg_daemon = 0
241 openofficeorg_daemon_port = 2002
242
243 [task_server]
244 # Set to 1 for debug messages in users/kivitendo-debug.log
245 debug = 0
246 # Chose a system user the daemon should run under when started as root.
247 run_as =
248 # Task servers can run on multiple machines. Each needs its own unique
249 # ID. If unset, it defaults to the host name. All but one task server
250 # must have 'only_run_tasks_for_this_node' set to 1.
251 node_id =
252 only_run_tasks_for_this_node = 0
253
254 [task_server/notify_on_failure]
255 # If you want email notifications for failed jobs then set this to a
256 # kivitendo user (login) name. The subject can be changed as well.
257 send_email_to =
258 # The "From:" header for said email.
259 email_from = kivitendo Daemon <root@localhost>
260 # The subject for said email.
261 email_subject = kivitendo Task-Server: Hintergrundjob fehlgeschlagen
262 # The template file used for the email's body.
263 email_template = templates/design40_webpages/task_server/failure_notification_email.txt
264
265 [periodic_invoices]
266 # The user name or email address a report about the posted and printed
267 # invoices is sent to.
268 send_email_to =
269 # The "From:" header for said email.
270 email_from = kivitendo Daemon <root@localhost>
271 # The subject for said email.
272 email_subject = Benachrichtigung: automatisch erstellte Rechnungen
273 # The template file used for the email's body.
274 email_template = templates/design40_webpages/oe/periodic_invoices_email.txt
275 # Whether to always send the mail (0), or only if there were errors
276 # (1).
277 send_for_errors_only = 0
278
279 [self_test]
280
281 # modules to be tested
282 # Add without SL::BackgroundJob::SelfTest:: prefix
283 # Separate with space.
284 modules = Transactions
285
286 # you probably don't want to be spammed with "everything ok" every day. enable
287 # this when you add new tests to make sure they run correctly for a few days
288 send_email_on_success = 0
289
290 # will log into the standard logfile
291 log_to_file = 0
292
293 # user login (!) to send the email to.
294 send_email_to =
295 # will be used to send your report mail
296 email_from =
297 # The subject line for your report mail
298 email_subject = kivitendo self test report
299 # template. currently txt and html templates are recognized and correctly mime send.
300 email_template = templates/mail/self_test/status_mail.txt
301
302 [check_below_minimum_stock]
303 # The user name or email address a report about the under stock parts is sent
304 # to.
305 send_email_to =
306 # The "From:" header for said email.
307 email_from = kivitendo Daemon <root@localhost>
308 # The subject for said email.
309 email_subject = Benachrichtigung: Artikel unter Mindestbestand
310 # The template file used for the email's body.
311 email_template = templates/mail/below_minimum_stock/error_email.html
312
313 [follow_up_reminder]
314 # Email notifications for due follow ups.
315 # The "From:" header for said email.
316 email_from = kivitendo Daemon <root@localhost>
317 # The subject for said email.
318 email_subject = kivitendo: fällige Wiedervorlagen
319 # The template file used for the email's body.
320 # If empty fu/follow_up_reminder_mail.html will be used.
321 email_template =
322
323 [follow_up_notify]
324 # Email notification for new follow ups.
325 email_from = kivitendo Daemon <root@localhost>
326 email_subject = kivitendo: neue Wiedervorlagen für Sie von <%creator_name%>
327 email_template = templates/mail/follow_up_notify/email_body.txt
328
329 [secrets]
330 # Passphase used to encrypt/decrypt secrets stored in the kivitendo client database.
331 # While any length is allowed, it will get stretched into a 256bit AES key - more is better.
332 #master_key =
333
334 [console]
335 # Automatic login will only work if both "client" and "login" are
336 # given. "client" can be a client's database ID or its name. "login"
337 # is simply a user's login name.
338 client =
339 login =
340
341 # autorun lines will be executed after autologin.
342 # be warned that loading huge libraries will noticably lengthen startup time.
343 #autorun = require "bin/mozilla/common.pl";
344 # = use English qw(-no_match_vars);
345 # = use List::Util qw(min max);
346 # = sub take { my $max = shift; my $r = ref($_[0]) eq 'ARRAY' ? $_[0] : \@_; return @{$r}[0..List::Util::min($max, scalar(@{$r})) - 1]; }
347
348 # location of history file for permanent history
349 history_file = users/console_history
350
351 # Location of a separate log file for the console. Everything normally written
352 # to the kivitendo log will be put here if triggered from the console.
353 log_file = users/kivitendo_console_debug.log
354
355 [testing]
356
357 # Several tests need a database they can alter data in freely. This
358 # database will be dropped & created before any other test is run. The
359 # following parameters must be given:
360 [testing/database]
361 host = 127.0.0.1
362 port = 5432
363 db =
364 user = postgres
365 password =
366 template = template1
367 superuser_user = postgres
368 superuser_password =
369
370 [devel]
371 # Several settings related to the development of kivitendo.
372
373 # "client" is used by several scripts (e.g. rose_auto_create_model.pl)
374 # when they need access to the database. It can be either a client's
375 # database ID or its name.
376 client =
377
378 [debug]
379 # Use DBIx::Log4perl for logging DBI calls. The string LXDEBUGFILE
380 # will be replaced by the file name configured for $::lxdebug.
381 dbix_log4perl = 0
382 dbix_log4perl_config = log4perl.logger = FATAL, LOGFILE
383 = log4perl.appender.LOGFILE=Log::Log4perl::Appender::File
384 = log4perl.appender.LOGFILE.filename=LXDEBUGFILE
385 = log4perl.appender.LOGFILE.mode=append
386 = log4perl.appender.LOGFILE.Threshold = ERROR
387 = log4perl.appender.LOGFILE.layout=PatternLayout
388 = log4perl.appender.LOGFILE.layout.ConversionPattern=[%r] %F %L %c - %m%n
389 = log4perl.logger.DBIx.Log4perl=DEBUG, A1
390 = log4perl.appender.A1=Log::Log4perl::Appender::File
391 = log4perl.appender.A1.filename=LXDEBUGFILE
392 = log4perl.appender.A1.mode=append
393 = log4perl.appender.A1.layout=Log::Log4perl::Layout::PatternLayout
394 = log4perl.appender.A1.layout.ConversionPattern=%d %p> %F{1}:%L %M - %m%n
395
396 # Activate certain global debug messages. If you want to combine
397 # several options then list them separated by spaces.
398 #
399 # Possible values include:
400 # NONE - no debug output (default)
401 # INFO
402 # DEBUG1
403 # DEBUG2
404 # QUERY - Dump SQL queries (only in legacy code; see also "dbix_log4perl" above)
405 # TRACE - Track function calls and returns
406 # BACKTRACE_ON_ERROR - Print a function call backtrace when $form->error() is called
407 # REQUEST_TIMER - Log timing of HTTP requests
408 # REQUEST - Log each request. Careful! Passwords get filtered, but
409 # there may be confidential information being logged here
410 # WARN - warnings
411 # SHOW_CALLER - include the file name & line number from where a call
412 # to "message" or "dump" was called
413 # ALL - all possible debug messages
414 #
415 # DEVEL - sames as "INFO QUERY TRACE BACKTRACE_ON_ERROR REQUEST_TIMER"
416 #
417 # Example:
418 # global_level = TRACE QUERY
419 global_level = NONE
420
421 # Activate monitoring of the content of $form. If it is active then
422 # monitoring can be turned on for certain variables with the
423 # following:
424 # $form->{"Watchdog::<variable>"} = 1;
425 # Monitoring has a performance cost and is therefore deactivated by
426 # default.
427 watch_form = 0
428
429 # If you want to debug the creation of LaTeX files then set this to 1.
430 # That way the temporary LaTeX files created during PDF creation are
431 # not removed and remain in the "users" directory.
432 keep_temp_files = 0
433
434 # Restart the FastCGI process if changes to the program or template
435 # files have been detected. The restart will occur after the request
436 # in which the changes have been detected has completed.
437 restart_fcgi_process_on_changes = 0
438
439 # The file name where the debug messages are written to.
440 file_name = users/kivitendo-debug.log
441
442 # If set to 1 then the installation will be kept unlocked even if a
443 # database upgrade fails.
444 keep_installation_unlocked = 0
445
446 # If set to 1 then all resource links (JavaScript, CSS files) output
447 # via $::request->{layout}->use_stylesheet() / use_javascript() will
448 # be made unique by appending a random GET parameter. This will cause
449 # the web browser to always reload the resources.
450 auto_reload_resources = 0
451
452 # If set to 1 each exception will include a full stack backtrace.
453 backtrace_on_die = 0
454
455 [cti]
456 # If you want phone numbers to be clickable then this must be set to a
457 # command that does the actually dialing. Within this command three
458 # variables are replaced before it is executed:
459 #
460 # 1. <%phone_extension%> and <%phone_password%> are taken from the user
461 # configuration (changeable in the admin interface).
462 # 2. <%number%> is the number to dial. It has already been sanitized
463 # and formatted correctly regarding e.g. the international dialing
464 # prefix.
465 #
466 # The following is an example that works with the OpenUC telephony
467 # server:
468 # dial_command = curl --insecure -X PUT https://<%phone_extension%>:<%phone_password%>@IP.AD.DR.ESS:8443/sipxconfig/rest/my/call/<%number%>
469 dial_command =
470 # If you need to dial something before the actual number then set
471 # external_prefix to it.
472 external_prefix = 0
473 # The prefix for international calls (numbers starting with +).
474 international_dialing_prefix = 00
475 # Our own country code
476 our_country_code = 49
477