annotate example.cfg @ 140:65d4da73e558 default tip

Use is / is not for comparing to None.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 24 Jun 2022 18:55:34 +0300
parents f45115bfb17a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
1 [gcm]
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
2 ###
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
3 ### Logging/debugging
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
4 ###
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
5 # Enable debug messages
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
6 #debug = on
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
7
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
8 # Log level "CRITICAL", "ERROR", "WARNING", "INFO", "DEBUG"
69
8ef792b573a9 Misc cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 48
diff changeset
9 #logging_level = debug
15
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
10
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
11
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
12 ###
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
13 ### Calendar settings
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
14 ###
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
15 # Regular expression to match the SOURCE calendars by name
98
fe3bfabf0b5f Rename settings dest_* and source_* to dst_* and src_* respectively.
Matti Hamalainen <ccr@tnsp.org>
parents: 96
diff changeset
16 #src_regex = ^R:\s*(.*?)\s*\(\s*(.+?)\s*\)\s*$
15
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
17
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
18 # Mapping of source regexp submatches
98
fe3bfabf0b5f Rename settings dest_* and source_* to dst_* and src_* respectively.
Matti Hamalainen <ccr@tnsp.org>
parents: 96
diff changeset
19 #src_regmap = 1, 2
15
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
20
98
fe3bfabf0b5f Rename settings dest_* and source_* to dst_* and src_* respectively.
Matti Hamalainen <ccr@tnsp.org>
parents: 96
diff changeset
21 # Destination calendar name (MUST match dst_regex)
fe3bfabf0b5f Rename settings dest_* and source_* to dst_* and src_* respectively.
Matti Hamalainen <ccr@tnsp.org>
parents: 96
diff changeset
22 dst_name = Raahen kansainvälisyystoiminta [{0}]
15
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
23
98
fe3bfabf0b5f Rename settings dest_* and source_* to dst_* and src_* respectively.
Matti Hamalainen <ccr@tnsp.org>
parents: 96
diff changeset
24 # Destination calendar name regexp (or use dst_id)
fe3bfabf0b5f Rename settings dest_* and source_* to dst_* and src_* respectively.
Matti Hamalainen <ccr@tnsp.org>
parents: 96
diff changeset
25 dst_regex = ^Raahen kansainvälisyystoiminta
74
39a1575d4aa9 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 71
diff changeset
26
98
fe3bfabf0b5f Rename settings dest_* and source_* to dst_* and src_* respectively.
Matti Hamalainen <ccr@tnsp.org>
parents: 96
diff changeset
27 # Destination calendar ID (not needed if dst_regex is set)
fe3bfabf0b5f Rename settings dest_* and source_* to dst_* and src_* respectively.
Matti Hamalainen <ccr@tnsp.org>
parents: 96
diff changeset
28 #dst_id =
15
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
29
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
30
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
31 ###
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
32 ### E-mail settings
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
33 ###
113
f45115bfb17a Implement sendmail mail sending support. Various e-mail related settings have also
Matti Hamalainen <ccr@tnsp.org>
parents: 98
diff changeset
34 # Enable sending of e-mail message in case of fatal errors
f45115bfb17a Implement sendmail mail sending support. Various e-mail related settings have also
Matti Hamalainen <ccr@tnsp.org>
parents: 98
diff changeset
35 # off = Don't send e-mail
f45115bfb17a Implement sendmail mail sending support. Various e-mail related settings have also
Matti Hamalainen <ccr@tnsp.org>
parents: 98
diff changeset
36 # smtp = use an SMTP server for sending (see below settings)
f45115bfb17a Implement sendmail mail sending support. Various e-mail related settings have also
Matti Hamalainen <ccr@tnsp.org>
parents: 98
diff changeset
37 # sendmail = use local sendmail (see below settings)
15
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
38 email = off
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
39
113
f45115bfb17a Implement sendmail mail sending support. Various e-mail related settings have also
Matti Hamalainen <ccr@tnsp.org>
parents: 98
diff changeset
40 # Sendmail binary location
f45115bfb17a Implement sendmail mail sending support. Various e-mail related settings have also
Matti Hamalainen <ccr@tnsp.org>
parents: 98
diff changeset
41 email_sendmail = /usr/bin/sendmail
f45115bfb17a Implement sendmail mail sending support. Various e-mail related settings have also
Matti Hamalainen <ccr@tnsp.org>
parents: 98
diff changeset
42
71
41881ba09ba8 Allow setting SMTP server .. needs more work tho.
Matti Hamalainen <ccr@tnsp.org>
parents: 69
diff changeset
43 # SMTP server for sending mail
113
f45115bfb17a Implement sendmail mail sending support. Various e-mail related settings have also
Matti Hamalainen <ccr@tnsp.org>
parents: 98
diff changeset
44 #email_smtp_server = host[:port]
96
6e8e3695cfaa Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
45
6e8e3695cfaa Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
46 # SMTP user and password (not encrypted!)
113
f45115bfb17a Implement sendmail mail sending support. Various e-mail related settings have also
Matti Hamalainen <ccr@tnsp.org>
parents: 98
diff changeset
47 #email_smtp_user = username
f45115bfb17a Implement sendmail mail sending support. Various e-mail related settings have also
Matti Hamalainen <ccr@tnsp.org>
parents: 98
diff changeset
48 #email_smtp_password = password
96
6e8e3695cfaa Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
49
6e8e3695cfaa Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
50 # Use TLS
113
f45115bfb17a Implement sendmail mail sending support. Various e-mail related settings have also
Matti Hamalainen <ccr@tnsp.org>
parents: 98
diff changeset
51 #email_smtp_tls = no
96
6e8e3695cfaa Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
52
71
41881ba09ba8 Allow setting SMTP server .. needs more work tho.
Matti Hamalainen <ccr@tnsp.org>
parents: 69
diff changeset
53
15
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
54 # Message subject
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
55 email_subject = Google Calendar MultiMerge error!
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
56
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
57 # Sender "From" address
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
58 email_sender = multimerge@example.com
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
59
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
60 # Target "To" addresses. Can be a list, separate with commas ","
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
61 email_to = someone@somewhere.com
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
62