Task-Server: Mandantenfähigkeit
[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 [paths]
69 # path to temporary files (must be writeable by the web server)
70 userspath = users
71 # spool directory for batch printing
72 spool = spool
73 # templates base directory
74 templates = templates
75 # Path to the old memberfile (ignored on new installations)
76 memberfile = users/members
77
78 [mail_delivery]
79 # Delivery method can be 'sendmail' or 'smtp' (the default). For
80 # 'method = sendmail' the parameter 'mail_delivery.sendmail' is used
81 # as the executable to call. If 'applications.sendmail' still exists
82 # (backwards compatibility) then 'applications.sendmail' will be used
83 # instead of 'mail_delivery.sendmail'.
84 method = smtp
85 # Location of sendmail for 'method = sendmail'
86 sendmail = /usr/sbin/sendmail -t<%if myconfig_email%> -f <%myconfig_email%><%end%>
87 # Settings for 'method = smtp'. Only set 'port' if your SMTP server
88 # runs on a non-standard port (25 for 'security=none' or
89 # 'security=tls', 465 for 'security=ssl').
90 host = localhost
91 #port = 25
92 # Security can be 'tls', 'ssl' or 'none'. Unset equals 'none'. This
93 # determines whether or not encryption is used and which kind. For
94 # 'tls' the module 'Net::SSLGlue' is required; for 'ssl'
95 # 'Net::SMTP::SSL' is required and 'none' only uses 'Net::SMTP'.
96 security = none
97 # Authentication is only used if 'login' is set. You should only use
98 # that with 'tls' or 'ssl' encryption.
99 login =
100 password =
101
102 [applications]
103 # Location of OpenOffice.org writer
104 openofficeorg_writer = oowriter
105 # Location of the X virtual frame buffer used for OpenOffice
106 xvfb = Xvfb
107 # Location of the html2ps binary
108 html2ps = html2ps
109 # Location of the Ghostscript binary
110 ghostscript = gs
111 # Location of the pdflatex (or compatible, e.g. xetex) binary
112 latex = pdflatex
113 # Location of the Python interpreter to use when converting from
114 # OpenDocument to PDF. Some distributions compile UNO support only
115 # into binaries located in different locations than the main Python
116 # binary.
117 python_uno = python
118
119 # Location of the aqbanking binary to use when converting MT940 files
120 # into the kivitendo import format
121 aqbanking = /usr/bin/aqbanking-cli
122
123 [environment]
124 # Add the following paths to the PATH environment variable.
125 path = /usr/local/bin:/usr/X11R6/bin:/usr/X11/bin
126 # Add the following paths to the PERL5LIB environment variable.
127 # "/sw/lib/perl5" is for Mac OS X with Fink's Perl.
128 lib = /sw/lib/perl5
129 # Add the following paths to the PYTHONPATH environment variable for
130 # locating Python modules. Python is used when converting OpenDocument
131 # files into PDF files.
132 python_uno_path =
133
134 [print_templates]
135 # If you have LaTeX installed set to 1
136 latex = 1
137 # Minimal support for Excel print templates
138 excel = 0
139 # Enable or disable support for OpenDocument print templates
140 opendocument = 1
141 # Chose whether or not OpenOffice should remain running after a
142 # conversion. If yes then the conversion of subsequent documents will
143 # be a lot faster. You need to have Python and the Python UNO bindings
144 # (part of OpenOffice) installed.
145 openofficeorg_daemon = 1
146 openofficeorg_daemon_port = 2002
147
148 [task_server]
149 # Set to 1 for debug messages in /tmp/kivitendo-debug.log
150 debug = 0
151 # Chose a system user the daemon should run under when started as root.
152 run_as =
153
154 [task_server/notify_on_failure]
155 # If you want email notifications for failed jobs then set this to a
156 # kivitendo user (login) name. The subject can be changed as well.
157 send_email_to  =
158 # The "From:" header for said email.
159 email_from     = kivitendo Daemon <root@localhost>
160 # The subject for said email.
161 email_subject  = kivitendo Task-Server: Hintergrundjob fehlgeschlagen
162 # The template file used for the email's body.
163 email_template = templates/webpages/task_server/failure_notification_email.txt
164
165 [periodic_invoices]
166 # The user name a report about the posted and printed invoices is sent
167 # to.
168 send_email_to  = mb
169 # The "From:" header for said email.
170 email_from     = kivitendo Daemon <root@localhost>
171 # The subject for said email.
172 email_subject  = Benachrichtigung: automatisch erstellte Rechnungen
173 # The template file used for the email's body.
174 email_template = templates/webpages/oe/periodic_invoices_email.txt
175
176 [self_test]
177
178 # modules to be tested
179 # Add without SL::BackgroundJob::SelfTest:: prefix
180 # Separate with space.
181 modules = Transactions
182
183 # you probably don't want to be spammed with "everything ok" every day. enable
184 # this when you add new tests to make sure they run correctly for a few days
185 send_email_on_success = 0
186
187 # will log into the standard logfile
188 log_to_file = 0
189
190 # user login (!) to send the email to.
191 send_email_to  =
192 # will be used to send your report mail
193 email_from     =
194 # The subject line for your report mail
195 email_subject  = kivitendo self test report
196 # template. currently txt and html templates are recognized and correctly mime send.
197 email_template = templates/mail/self_test/status_mail.txt
198
199 [console]
200 # Automatic login will only work if both "client" and "login" are
201 # given.  "client" can be a client's database ID or its name. "login"
202 # is simply a user's login name.
203 client =
204 login =
205
206 # autorun lines will be executed after autologin.
207 # be warned that loading huge libraries will noticably lengthen startup time.
208 #autorun = require "bin/mozilla/common.pl";
209 #        = use English qw(-no_match_vars);
210 #        = use List::Util qw(min max);
211 #        = sub take { my $max = shift; my $r = ref($_[0]) eq 'ARRAY' ? $_[0] : \@_; return @{$r}[0..List::Util::min($max, scalar(@{$r})) - 1]; }
212
213 # location of history file for permanent history
214 history_file = users/console_history
215
216 # location of a separate log file for the console. everything normally written
217 # to the kivitendo log will be put here if triggered from the console
218 log_file = /tmp/kivitendo_console_debug.log
219
220 [testing]
221
222 # Several tests need a database they can alter data in freely. This
223 # database will be dropped & created before any other test is run. The
224 # following parameters must be given:
225 [testing/database]
226 host     = localhost
227 port     = 5432
228 db       =
229 user     = postgres
230 password =
231 template = template1
232
233 [devel]
234 # Several settings related to the development of kivitendo.
235
236 # "client" is used by several scripts (e.g. rose_auto_create_model.pl)
237 # when they need access to the database. It can be either a client's
238 # database ID or its name.
239 client =
240
241 [debug]
242 # Use DBIx::Log4perl for logging DBI calls. The string LXDEBUGFILE
243 # will be replaced by the file name configured for $::lxdebug.
244 dbix_log4perl = 0
245 dbix_log4perl_config = log4perl.logger = FATAL, LOGFILE
246                      = log4perl.appender.LOGFILE=Log::Log4perl::Appender::File
247                      = log4perl.appender.LOGFILE.filename=LXDEBUGFILE
248                      = log4perl.appender.LOGFILE.mode=append
249                      = log4perl.appender.LOGFILE.Threshold = ERROR
250                      = log4perl.appender.LOGFILE.layout=PatternLayout
251                      = log4perl.appender.LOGFILE.layout.ConversionPattern=[%r] %F %L %c - %m%n
252                      = log4perl.logger.DBIx.Log4perl=DEBUG, A1
253                      = log4perl.appender.A1=Log::Log4perl::Appender::File
254                      = log4perl.appender.A1.filename=LXDEBUGFILE
255                      = log4perl.appender.A1.mode=append
256                      = log4perl.appender.A1.layout=Log::Log4perl::Layout::PatternLayout
257                      = log4perl.appender.A1.layout.ConversionPattern=%d %p> %F{1}:%L %M - %m%n
258
259 # Activate certain global debug messages. If you want to combine
260 # several options then list them seperated by spaces.
261 #
262 # Possible values include:
263 #   NONE   - no debug output (default)
264 #   INFO
265 #   DEBUG1
266 #   DEBUG2
267 #   QUERY              - Dump SQL queries (only in legacy code; see also "dbix_log4perl" above)
268 #   TRACE              - Track function calls and returns
269 #   BACKTRACE_ON_ERROR - Print a function call backtrace when $form->error() is called
270 #   REQUEST_TIMER      - Log timing of HTTP requests
271 #   REQUEST            - Log each request. Careful! Passwords get filtered, but
272 #                        there may be confidential information being logged here
273 #   WARN               - warnings
274 #   ALL                - all possible debug messages
275 #
276 #   DEVEL              - sames as "INFO QUERY TRACE BACKTRACE_ON_ERROR REQUEST_TIMER"
277 #
278 # Example:
279 #   global_level = TRACE QUERY
280 global_level = NONE
281
282 # Activate monitoring of the content of $form. If it is active then
283 # monitoring can be turned on for certain variables with the
284 # following:
285 #   $form->{"Watchdog::<variable>"} = 1;
286 # Monitoring has a performance cost and is therefore deactivated by
287 # default.
288 watch_form = 0
289
290 # If you want to debug the creation of LaTeX files then set this to 1.
291 # That way the temporary LaTeX files created during PDF creation are
292 # not removed and remain in the "users" directory.
293 keep_temp_files = 0
294
295 # Restart the FastCGI process if changes to the program or template
296 # files have been detected. The restart will occur after the request
297 # in which the changes have been detected has completed.
298 restart_fcgi_process_on_changes = 0
299
300 # The file name where the debug messages are written to.
301 file_name = /tmp/kivitendo-debug.log
302
303 # If set to 1 then the installation will be kept unlocked even if a
304 # database upgrade fails.
305 keep_installation_unlocked = 0
306
307 # If set to 1 then all resource links (JavaScript, CSS files) output
308 # via $::request->{layout}->use_stylesheet() / use_javascript() will
309 # be made unique by appending a random GET parameter. This will cause
310 # the web browser to always reload the resources.
311 auto_reload_resources = 0
312
313 # If set to 1 each exception will include a full stack backtrace.
314 backtrace_on_die = 0
315
316 [cti]
317 # If you want phone numbers to be clickable then this must be set to a
318 # command that does the actually dialing. Within this command three
319 # variables are replaced before it is executed:
320 #
321 # 1. <%phone_extension%> and <%phone_password%> are taken from the user
322 #    configuration (changeable in the admin interface).
323 # 2. <%number%> is the number to dial. It has already been sanitized
324 #    and formatted correctly regarding e.g. the international dialing
325 #    prefix.
326 #
327 # The following is an example that works with the OpenUC telephony
328 # server:
329 # dial_command = curl --insecure -X PUT https://<%phone_extension%>:<%phone_password%>@IP.AD.DR.ESS:8443/sipxconfig/rest/my/call/<%number%>
330 dial_command =
331 # If you need to dial something before the actual number then set
332 # external_prefix to it.
333 external_prefix = 0
334 # The prefix for international calls (numbers starting with +).
335 international_dialing_prefix = 00