annotate example.cfg @ 96:6e8e3695cfaa

Update example configuration.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 02 Aug 2016 12:50:27 +0300
parents 39a1575d4aa9
children fe3bfabf0b5f
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
48
1ce5ccd949b6 Comment out few things in example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 15
diff changeset
16 #source_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
48
1ce5ccd949b6 Comment out few things in example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 15
diff changeset
19 #source_regmap = 1, 2
15
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
20
74
39a1575d4aa9 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 71
diff changeset
21 # Destination calendar name (MUST match dest_regex)
39a1575d4aa9 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 71
diff changeset
22 dest_name = Raahen kansainvälisyystoiminta [{0}]
15
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
23
74
39a1575d4aa9 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 71
diff changeset
24 # Destination calendar name regexp (or use dest_id)
39a1575d4aa9 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 71
diff changeset
25 dest_regex = ^Raahen kansainvälisyystoiminta
39a1575d4aa9 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 71
diff changeset
26
39a1575d4aa9 Update example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents: 71
diff changeset
27 # Destination calendar ID (not needed if dest_regex is set)
15
86dd9280dcff Add example configuration.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
28 #dest_id =
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