Schreibfehler im Kommentar verbessert.
[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 # "de_DE" (new German) and "en" (English, not perfect) are available.
66 language = de
67
68 # The database charset. Must match the encoding of the database cluster you want to
69 # connect to. (Used on the shell command to create a database "pg_createcluster". Option "-e <encoding>".)
70 dbcharset = UTF-8
71
72 [features]
73 # Activate certain optional features and modules.
74 webdav = 0
75 vertreter = 0
76
77 # Show fields used for the best before date
78 # ATTENTION! If you enabled this feature you can not simply turn it off again
79 # without taking care that best_before fields are emptied in the database.
80 # This can be done with the following query:
81 #
82 #  UPDATE inventory SET bestbefore = NULL;
83 #
84 # Any stock contents containing a best before date will be impossible to stock
85 # out otherwise.
86 show_best_before = 0
87
88 ## Pictures for parts
89 # Show the picture in the part form
90 parts_show_image = 1
91 # Style the picture with the following CSS code:
92 parts_image_css = border:0;float:left;max-width:250px;margin-top:20px:margin-right:10px;margin-left:10px;
93 # Show the picture in the results when you search for parts
94 parts_listing_images = 0
95
96 # Should payments be changeable after posting (0 = never; 1 = every time; 2 = on the same day)
97 payments_changeable = 0
98
99 [paths]
100 # path to temporary files (must be writeable by the web server)
101 userspath = users
102 # spool directory for batch printing
103 spool = spool
104 # templates base directory
105 templates = templates
106 # Path to the old memberfile (ignored on new installations)
107 memberfile = users/members
108
109 [mail_delivery]
110 # Delivery method can be 'sendmail' or 'smtp' (the default). For
111 # 'method = sendmail' the parameter 'mail_delivery.sendmail' is used
112 # as the executable to call. If 'applications.sendmail' still exists
113 # (backwards compatibility) then 'applications.sendmail' will be used
114 # instead of 'mail_delivery.sendmail'.
115 method = smtp
116 # Location of sendmail for 'method = sendmail'
117 sendmail = /usr/sbin/sendmail -t<%if myconfig_email%> -f <%myconfig_email%><%end%>
118 # Settings for 'method = smtp'.
119 host = localhost
120 port = 25
121 # Security can be 'tls', 'ssl' or 'none'. Unset equals 'none'. This
122 # determines whether or not encryption is used and which kind. For
123 # 'tls' the module 'Net::SMTP::TLS' is required; for 'ssl'
124 # 'Net::SMTP::SSL' is required and 'none' only uses 'Net::SMTP'.
125 security = none
126 # Authentication is only used if 'login' is set. You should only use
127 # that with 'tls' or 'ssl' encryption.
128 login =
129 password =
130
131 [applications]
132 # Location of OpenOffice.org writer
133 openofficeorg_writer = oowriter
134 # Location of the X virtual frame buffer used for OpenOffice
135 xvfb = Xvfb
136 # Location of the html2ps binary
137 html2ps = html2ps
138 # Location of the Ghostscript binary
139 ghostscript = gs
140 # Location of the pdflatex (or compatible, e.g. xetex) binary
141 latex = pdflatex
142 # Location of the two executables "pg_dump" and "pg_restore" used for
143 # database backup and restoration from the admin section.  If
144 # "pg_dump" or "pg_restore" is set to "DISABLED" then the
145 # corresponding option (backup/restoration) will be hidden from the
146 # admin section.
147 pg_dump = pg_dump
148 pg_restore = pg_restore
149
150 [environment]
151 # Add the following paths to the PATH environment variable.
152 path = /usr/local/bin:/usr/X11R6/bin:/usr/X11/bin
153 # Add the following paths to the PERL5LIB environment variable.
154 # "/sw/lib/perl5" is for Mac OS X with Fink's Perl.
155 lib = /sw/lib/perl5
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 # User name to use for database access
173 login =
174 # Set to 1 for debug messages in /tmp/kivitendo-debug.log
175 debug = 1
176 # Chose a system user the daemon should run under when started as root.
177 run_as =
178
179 [periodic_invoices]
180 # The user name a report about the posted and printed invoices is sent
181 # to.
182 send_email_to  = mb
183 # The "From:" header for said email.
184 email_from     = kivitendo Daemon <root@localhost>
185 # The subject for said email.
186 email_subject  = Benachrichtigung: automatisch erstellte Rechnungen
187 # The template file used for the email's body.
188 email_template = templates/webpages/oe/periodic_invoices_email.txt
189
190 [self_test]
191
192 # modules to be tested
193 # Add without SL::BackgroundJob::SelfTest:: prefix
194 # Separate with space.
195 modules = Transactions
196
197 # you probably don't want to be spammed with "everything ok" every day. enable
198 # this when you add new tests to make sure they run correctly for a few days
199 send_email_on_success = 0
200
201 # will log into the standard logfile
202 log_to_file = 0
203
204 # user login (!) to send the email to.
205 send_email_to  =
206 # will be used to send your report mail
207 email_from     =
208 # The subject line for your report mail
209 email_subject  = kivitendo self test report
210 # template. currently txt and html templates are recognized and correctly mime send.
211 email_template = templates/mail/self_test/status_mail.txt
212
213 [datev_check]
214 # it is possible to make a quick DATEV export everytime you post a record to ensure things
215 # work nicely with their data requirements. This will result in a slight overhead though
216 # you can enable this for each type of record independantly.
217
218 # check when a sales invoice or a payment for a sales invoice is posted
219 check_on_sales_invoice = 1
220 # check when a purchase invoice or a payment for a purchase invoice is posted
221 check_on_purchase_invoice = 1
222 # check when an ar transaction is posted
223 check_on_ar_transaction = 1
224 # check when an ap transaction is posted
225 check_on_ap_transaction = 1
226 # check when a gl transaction is posted
227 check_on_gl_transaction = 1
228
229 # not implemented yet:
230 #check_on_cash_and_receipt = 0
231 #check_on_dunning = 0
232 #check_on_sepa_import = 0
233
234 [console]
235 # autologin to use if none is given
236 login =
237
238 # autorun lines will be executed after autologin.
239 # be warned that loading huge libraries will noticably lengthen startup time.
240 #autorun = require "bin/mozilla/common.pl";
241 #        = use English qw(-no_match_vars);
242 #        = use List::Util qw(min max);
243 #        = sub take { my $max = shift; my $r = ref($_[0]) eq 'ARRAY' ? $_[0] : \@_; return @{$r}[0..List::Util::min($max, scalar(@{$r})) - 1]; }
244
245 # location of history file for permanent history
246 history_file = users/console_history
247
248 # location of a separate log file for the console. everything normally written
249 # to the kivitendo log will be put here if triggered from the console
250 log_file = /tmp/kivitendo_console_debug.log
251
252 [testing]
253
254 # autologin to use if none is given
255 login = myxplace_standard
256
257 [debug]
258 # Use DBIx::Log4perl for logging DBI calls. The string LXDEBUGFILE
259 # will be replaced by the file name configured for $::lxdebug.
260 dbix_log4perl = 0
261 dbix_log4perl_config = log4perl.logger = FATAL, LOGFILE
262                      = log4perl.appender.LOGFILE=Log::Log4perl::Appender::File
263                      = log4perl.appender.LOGFILE.filename=LXDEBUGFILE
264                      = log4perl.appender.LOGFILE.mode=append
265                      = log4perl.appender.LOGFILE.Threshold = ERROR
266                      = log4perl.appender.LOGFILE.layout=PatternLayout
267                      = log4perl.appender.LOGFILE.layout.ConversionPattern=[%r] %F %L %c - %m%n
268                      = log4perl.logger.DBIx.Log4perl=DEBUG, A1
269                      = log4perl.appender.A1=Log::Log4perl::Appender::File
270                      = log4perl.appender.A1.filename=LXDEBUGFILE
271                      = log4perl.appender.A1.mode=append
272                      = log4perl.appender.A1.layout=Log::Log4perl::Layout::PatternLayout
273                      = log4perl.appender.A1.layout.ConversionPattern=%d %p> %F{1}:%L %M - %m%n
274
275 # Activate certain global debug messages. If you want to combine
276 # several options then list them seperated by spaces.
277 #
278 # Possible values include:
279 #   NONE   - no debug output (default)
280 #   INFO
281 #   DEBUG1
282 #   DEBUG2
283 #   QUERY              - Dump SQL queries (only in legacy code; see also "dbix_log4perl" above)
284 #   TRACE              - Track function calls and returns
285 #   BACKTRACE_ON_ERROR - Print a function call backtrace when $form->error() is called
286 #   REQUEST_TIMER      - Log timing of HTTP requests
287 #   WARN               - warnings
288 #   ALL                - all possible debug messages
289 #
290 #   DEVEL              - sames as "INFO QUERY TRACE BACKTRACE_ON_ERROR REQUEST_TIMER"
291 #
292 # Example:
293 #   global_level = TRACE QUERY
294 global_level = NONE
295
296 # Activate monitoring of the content of $form. If it is active then
297 # monitoring can be turned on for certain variables with the
298 # following:
299 #   $form->{"Watchdog::<variable>"} = 1;
300 # Monitoring has a performance cost and is therefore deactivated by
301 # default.
302 watch_form = 0
303
304 # Include menu options for debugging in the HTML menu. Works only in
305 # FastCGI mode.
306 show_debug_menu = 0
307
308 # If you want to debug the creation of LaTeX files then set this to 1.
309 # That way the temporary LaTeX files created during PDF creation are
310 # not removed and remain in the "users" directory.
311 keep_temp_files = 0
312
313 # Restart the FastCGI process if changes to the program or template
314 # files have been detected. The restart will occur after the request
315 # in which the changes have been detected has completed.
316 restart_fcgi_process_on_changes = 0
317
318 # The file name where the debug messages are written to.
319 file_name = /tmp/kivitendo-debug.log