Geierlein: alter Elsterexport überarbeitet
[kivitendo-erp.git] / config / kivitendo.conf.default
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 module to use for authentication. Valid values are 'DB' and
8 # 'LDAP'.  If 'LDAP' is used then users cannot change their password
9 # via kivitendo.
10 module = DB
11
12 # The cookie name can be changed if desired.
13 cookie_name = kivitendo_session_id
14
15 # The number of minutes a session is valid. The default value is eight
16 # hours.
17 session_timeout = 480
18
19 # The number of seconds to penalize failed login attempts. 0 disables
20 # it.
21 failed_login_penalty = 5
22
23 [authentication/database]
24 # Connection information for the database with the user and group
25 # inforamtion.  This information is always needed, even if LDAP is
26 # used for authentication, as the user information is stored in this
27 # database while LDAP is only used for password verification.
28 #
29 # If 'module' is set to 'DB' then this database also contains the
30 # users' passwords.
31 host     = localhost
32 port     = 5432
33 db       = kivitendo_auth
34 user     = postgres
35 password =
36
37 [authentication/ldap]
38 # This section is only relevant if 'module' is set to 'LDAP'. It names
39 # the LDAP server the passwords are verified against by doing a LDAP
40 # bind operation.
41 #
42 # At least the parameters 'host', 'attribute' and 'base_dn' have to be
43 # specified.
44 #
45 # tls:       Activate encryption via TLS
46 # attribute: Name of the LDAP attribute containing the user's login name
47 # base_dn:   Base DN the LDAP searches start from
48 # filter:    An optional LDAP filter specification. The string '<%login%>'
49 #            is replaced by the user's login name before the search is started.
50 # bind_dn and bind_password:
51 #            If searching the LDAP tree requires user credentials
52 #            (e.g. ActiveDirectory) then these two parameters specify
53 #            the user name and password to use.
54 host          = localhost
55 port          = 389
56 tls           = 0
57 attribute     = uid
58 base_dn       =
59 filter        =
60 bind_dn       =
61 bind_password =
62
63 [system]
64 # Set language for login and admin forms. Currently "de" (German)
65 # and "en" (English, not perfect) are available.
66 language = de
67
68 # Set default_manager for admin forms. Currently "german"
69 # and "swiss" are available.
70 default_manager = german
71
72 # The memory limits given here determine the maximum process size
73 # (vsz, the total amount of memory this process uses including memory
74 # swapped out or shared with other processes) or resident set size
75 # (rss, the amount of memory not swapped out/shared with other
76 # processes). If either limit is reached at the end of the request
77 # then the kivitendo process will exit.
78 #
79 # This only makes sense when running under FCGI. The FCGI manager will
80 # then automatically start a new process.
81 #
82 # Numbers can be postfixed with KB, MB, GB. If no number is given or
83 # the number is 0 then no checking will be performed.
84 memory_limit_rss =
85 memory_limit_vsz =
86
87 [paths]
88 # path to temporary files (must be writeable by the web server)
89 userspath = users
90 # spool directory for batch printing
91 spool = spool
92 # templates base directory
93 templates = templates
94 # Path to the old memberfile (ignored on new installations)
95 memberfile = users/members
96 # Path to ELSTER geierlein webserver path inside kivitendo
97 # (must be inside kivitendo but you can set an ALIAS for apache/oe
98 # if set the export to geierlein is enabled
99 # geierlein_path = geierlein
100
101 [mail_delivery]
102 # Delivery method can be 'sendmail' or 'smtp'. For 'method = sendmail' the
103 # parameter 'mail_delivery.sendmail' is used as the executable to call. If
104 # 'applications.sendmail' still exists (backwards compatibility) then
105 # 'applications.sendmail' will be used instead of 'mail_delivery.sendmail'.
106 # If method is empty, mail delivery is disabled.
107 method = smtp
108 # Location of sendmail for 'method = sendmail'
109 sendmail = /usr/sbin/sendmail -t<%if myconfig_email%> -f <%myconfig_email%><%end%>
110 # Settings for 'method = smtp'. Only set 'port' if your SMTP server
111 # runs on a non-standard port (25 for 'security=none' or
112 # 'security=tls', 465 for 'security=ssl').
113 host = localhost
114 #port = 25
115 # Security can be 'tls', 'ssl' or 'none'. Unset equals 'none'. This
116 # determines whether or not encryption is used and which kind. For
117 # 'tls' the module 'Net::SSLGlue' is required; for 'ssl'
118 # 'Net::SMTP::SSL' is required and 'none' only uses 'Net::SMTP'.
119 security = none
120 # Authentication is only used if 'login' is set. You should only use
121 # that with 'tls' or 'ssl' encryption.
122 login =
123 password =
124
125 [applications]
126 # Location of OpenOffice.org writer
127 openofficeorg_writer = oowriter
128 # Location of the X virtual frame buffer used for OpenOffice
129 xvfb = Xvfb
130 # Location of the html2ps binary
131 html2ps = html2ps
132 # Location of the Ghostscript binary
133 ghostscript = gs
134 # Location of the pdflatex (or compatible, e.g. xetex) binary
135 latex = pdflatex
136 # Location of the Python interpreter to use when converting from
137 # OpenDocument to PDF. Some distributions compile UNO support only
138 # into binaries located in different locations than the main Python
139 # binary.
140 python_uno = python
141
142 # Location of the aqbanking binary to use when converting MT940 files
143 # into the kivitendo import format
144 aqbanking = /usr/bin/aqbanking-cli
145
146 [environment]
147 # Add the following paths to the PATH environment variable.
148 path = /usr/local/bin:/usr/X11R6/bin:/usr/X11/bin
149 # Add the following paths to the PERL5LIB environment variable.
150 # "/sw/lib/perl5" is for Mac OS X with Fink's Perl.
151 lib = /sw/lib/perl5
152 # Add the following paths to the PYTHONPATH environment variable for
153 # locating Python modules. Python is used when converting OpenDocument
154 # files into PDF files.
155 python_uno_path =
156
157 [print_templates]
158 # If you have LaTeX installed set to 1
159 latex = 1
160 # Minimal support for Excel print templates
161 excel = 0
162 # Enable or disable support for OpenDocument print templates
163 opendocument = 1
164 # Chose whether or not OpenOffice should remain running after a
165 # conversion. If yes then the conversion of subsequent documents will
166 # be a lot faster. You need to have Python and the Python UNO bindings
167 # (part of OpenOffice) installed.
168 openofficeorg_daemon = 1
169 openofficeorg_daemon_port = 2002
170
171 [task_server]
172 # Set to 1 for debug messages in /tmp/kivitendo-debug.log
173 debug = 0
174 # Chose a system user the daemon should run under when started as root.
175 run_as =
176
177 [task_server/notify_on_failure]
178 # If you want email notifications for failed jobs then set this to a
179 # kivitendo user (login) name. The subject can be changed as well.
180 send_email_to  =
181 # The "From:" header for said email.
182 email_from     = kivitendo Daemon <root@localhost>
183 # The subject for said email.
184 email_subject  = kivitendo Task-Server: Hintergrundjob fehlgeschlagen
185 # The template file used for the email's body.
186 email_template = templates/webpages/task_server/failure_notification_email.txt
187
188 [periodic_invoices]
189 # The user name a report about the posted and printed invoices is sent
190 # to.
191 send_email_to  = mb
192 # The "From:" header for said email.
193 email_from     = kivitendo Daemon <root@localhost>
194 # The subject for said email.
195 email_subject  = Benachrichtigung: automatisch erstellte Rechnungen
196 # The template file used for the email's body.
197 email_template = templates/webpages/oe/periodic_invoices_email.txt
198
199 [self_test]
200
201 # modules to be tested
202 # Add without SL::BackgroundJob::SelfTest:: prefix
203 # Separate with space.
204 modules = Transactions
205
206 # you probably don't want to be spammed with "everything ok" every day. enable
207 # this when you add new tests to make sure they run correctly for a few days
208 send_email_on_success = 0
209
210 # will log into the standard logfile
211 log_to_file = 0
212
213 # user login (!) to send the email to.
214 send_email_to  =
215 # will be used to send your report mail
216 email_from     =
217 # The subject line for your report mail
218 email_subject  = kivitendo self test report
219 # template. currently txt and html templates are recognized and correctly mime send.
220 email_template = templates/mail/self_test/status_mail.txt
221
222 [console]
223 # Automatic login will only work if both "client" and "login" are
224 # given.  "client" can be a client's database ID or its name. "login"
225 # is simply a user's login name.
226 client =
227 login =
228
229 # autorun lines will be executed after autologin.
230 # be warned that loading huge libraries will noticably lengthen startup time.
231 #autorun = require "bin/mozilla/common.pl";
232 #        = use English qw(-no_match_vars);
233 #        = use List::Util qw(min max);
234 #        = sub take { my $max = shift; my $r = ref($_[0]) eq 'ARRAY' ? $_[0] : \@_; return @{$r}[0..List::Util::min($max, scalar(@{$r})) - 1]; }
235
236 # location of history file for permanent history
237 history_file = users/console_history
238
239 # location of a separate log file for the console. everything normally written
240 # to the kivitendo log will be put here if triggered from the console
241 log_file = /tmp/kivitendo_console_debug.log
242
243 [testing]
244
245 # Several tests need a database they can alter data in freely. This
246 # database will be dropped & created before any other test is run. The
247 # following parameters must be given:
248 [testing/database]
249 host     = localhost
250 port     = 5432
251 db       =
252 user     = postgres
253 password =
254 template = template1
255
256 [devel]
257 # Several settings related to the development of kivitendo.
258
259 # "client" is used by several scripts (e.g. rose_auto_create_model.pl)
260 # when they need access to the database. It can be either a client's
261 # database ID or its name.
262 client =
263
264 [debug]
265 # Use DBIx::Log4perl for logging DBI calls. The string LXDEBUGFILE
266 # will be replaced by the file name configured for $::lxdebug.
267 dbix_log4perl = 0
268 dbix_log4perl_config = log4perl.logger = FATAL, LOGFILE
269                      = log4perl.appender.LOGFILE=Log::Log4perl::Appender::File
270                      = log4perl.appender.LOGFILE.filename=LXDEBUGFILE
271                      = log4perl.appender.LOGFILE.mode=append
272                      = log4perl.appender.LOGFILE.Threshold = ERROR
273                      = log4perl.appender.LOGFILE.layout=PatternLayout
274                      = log4perl.appender.LOGFILE.layout.ConversionPattern=[%r] %F %L %c - %m%n
275                      = log4perl.logger.DBIx.Log4perl=DEBUG, A1
276                      = log4perl.appender.A1=Log::Log4perl::Appender::File
277                      = log4perl.appender.A1.filename=LXDEBUGFILE
278                      = log4perl.appender.A1.mode=append
279                      = log4perl.appender.A1.layout=Log::Log4perl::Layout::PatternLayout
280                      = log4perl.appender.A1.layout.ConversionPattern=%d %p> %F{1}:%L %M - %m%n
281
282 # Activate certain global debug messages. If you want to combine
283 # several options then list them separated by spaces.
284 #
285 # Possible values include:
286 #   NONE   - no debug output (default)
287 #   INFO
288 #   DEBUG1
289 #   DEBUG2
290 #   QUERY              - Dump SQL queries (only in legacy code; see also "dbix_log4perl" above)
291 #   TRACE              - Track function calls and returns
292 #   BACKTRACE_ON_ERROR - Print a function call backtrace when $form->error() is called
293 #   REQUEST_TIMER      - Log timing of HTTP requests
294 #   REQUEST            - Log each request. Careful! Passwords get filtered, but
295 #                        there may be confidential information being logged here
296 #   WARN               - warnings
297 #   ALL                - all possible debug messages
298 #
299 #   DEVEL              - sames as "INFO QUERY TRACE BACKTRACE_ON_ERROR REQUEST_TIMER"
300 #
301 # Example:
302 #   global_level = TRACE QUERY
303 global_level = NONE
304
305 # Activate monitoring of the content of $form. If it is active then
306 # monitoring can be turned on for certain variables with the
307 # following:
308 #   $form->{"Watchdog::<variable>"} = 1;
309 # Monitoring has a performance cost and is therefore deactivated by
310 # default.
311 watch_form = 0
312
313 # If you want to debug the creation of LaTeX files then set this to 1.
314 # That way the temporary LaTeX files created during PDF creation are
315 # not removed and remain in the "users" directory.
316 keep_temp_files = 0
317
318 # Restart the FastCGI process if changes to the program or template
319 # files have been detected. The restart will occur after the request
320 # in which the changes have been detected has completed.
321 restart_fcgi_process_on_changes = 0
322
323 # The file name where the debug messages are written to.
324 file_name = /tmp/kivitendo-debug.log
325
326 # If set to 1 then the installation will be kept unlocked even if a
327 # database upgrade fails.
328 keep_installation_unlocked = 0
329
330 # If set to 1 then all resource links (JavaScript, CSS files) output
331 # via $::request->{layout}->use_stylesheet() / use_javascript() will
332 # be made unique by appending a random GET parameter. This will cause
333 # the web browser to always reload the resources.
334 auto_reload_resources = 0
335
336 # If set to 1 each exception will include a full stack backtrace.
337 backtrace_on_die = 0
338
339 [cti]
340 # If you want phone numbers to be clickable then this must be set to a
341 # command that does the actually dialing. Within this command three
342 # variables are replaced before it is executed:
343 #
344 # 1. <%phone_extension%> and <%phone_password%> are taken from the user
345 #    configuration (changeable in the admin interface).
346 # 2. <%number%> is the number to dial. It has already been sanitized
347 #    and formatted correctly regarding e.g. the international dialing
348 #    prefix.
349 #
350 # The following is an example that works with the OpenUC telephony
351 # server:
352 # dial_command = curl --insecure -X PUT https://<%phone_extension%>:<%phone_password%>@IP.AD.DR.ESS:8443/sipxconfig/rest/my/call/<%number%>
353 dial_command =
354 # If you need to dial something before the actual number then set
355 # external_prefix to it.
356 external_prefix = 0
357 # The prefix for international calls (numbers starting with +).
358 international_dialing_prefix = 00