summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
authorIsis Lovecruft <isis@torproject.org>2013-01-31 02:59:49 +0000
committerIsis Lovecruft <isis@torproject.org>2013-01-31 02:59:49 +0000
commit38fa3c8d164f4e2e2813f78cf08ecda587fd3508 (patch)
tree281b2a19768c27f7d33c31dd15c276452395bb89 /src/leap
parent29427dbba0cde178e4440148df5dc7a10765825d (diff)
Add default boilerplate config to the config file creator.
Diffstat (limited to 'src/leap')
-rw-r--r--src/leap/util/config.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/leap/util/config.py b/src/leap/util/config.py
index a762853..5bc5231 100644
--- a/src/leap/util/config.py
+++ b/src/leap/util/config.py
@@ -50,6 +50,23 @@ def _create_config_file(file):
# =======
# Configurable options for the leap_mx encrypting mail exchange.
#
+# This file follows YAML markup format: http://yaml.org/spec/1.2/spec.html
+# Keep in mind that indentation matters.
+#
+
+basic:
+ # Where is the spoolfile of messages to encrypt?:
+ spoolfile: /var/mail/encrypt_me
+advanced:
+ # Which port on localhost should postfix send check_recipient queries to?:
+ check_recipient_access_port: 1347
+ # Which port on localhost should postfix ask for UUIDs?:
+ virtual_alias_map_port: 1348
+ # Enable debugging output in the logger:
+ debug: true
+ # Print enough things really fast to make you look super 1337:
+ noisy: false
+
""")
conf.flush()
try: