annotate example.cfg @ 98:fe3bfabf0b5f

Rename settings dest_* and source_* to dst_* and src_* respectively.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 06 Oct 2016 15:49:05 +0300
parents 6e8e3695cfaa
children f45115bfb17a
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 ###
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
34 # Enable/disable sending of e-mail message in case of fatal errors
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
35 email = off
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
36
71
41881ba09ba8 Allow setting SMTP server .. needs more work tho.
Matti Hamalainen <ccr@tnsp.org>
parents: 69
diff changeset
37 # SMTP server for sending mail
96
6e8e3695cfaa Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
38 #email_server = host[:port]
6e8e3695cfaa Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
39
6e8e3695cfaa Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
40 # SMTP user and password (not encrypted!)
6e8e3695cfaa Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
41 #email_srv_user = username
6e8e3695cfaa Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
42 #email_srv_password = password
6e8e3695cfaa Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
43
6e8e3695cfaa Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
44 # Use TLS
6e8e3695cfaa Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
45 #email_use_tls = no
6e8e3695cfaa Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
46
71
41881ba09ba8 Allow setting SMTP server .. needs more work tho.
Matti Hamalainen <ccr@tnsp.org>
parents: 69
diff changeset
47
15
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
48 # Message subject
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
49 email_subject = Google Calendar MultiMerge error!
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
50
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
51 # Sender "From" address
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
52 email_sender = multimerge@example.com
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
53
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
54 # Target "To" addresses. Can be a list, separate with commas ","
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
55 email_to = someone@somewhere.com
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
56