Mercurial > hg > gcmultimerge
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 |
rev | line source |
---|---|
15 | 1 [gcm] |
2 ### | |
3 ### Logging/debugging | |
4 ### | |
5 # Enable debug messages | |
6 #debug = on | |
7 | |
8 # Log level "CRITICAL", "ERROR", "WARNING", "INFO", "DEBUG" | |
69 | 9 #logging_level = debug |
15 | 10 |
11 | |
12 ### | |
13 ### Calendar settings | |
14 ### | |
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 | 17 |
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 | 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 | 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 | 29 |
30 | |
31 ### | |
32 ### E-mail settings | |
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 | 38 email = off |
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 | 54 # Message subject |
55 email_subject = Google Calendar MultiMerge error! | |
56 | |
57 # Sender "From" address | |
58 email_sender = multimerge@example.com | |
59 | |
60 # Target "To" addresses. Can be a list, separate with commas "," | |
61 email_to = someone@somewhere.com | |
62 |