From 38fa3c8d164f4e2e2813f78cf08ecda587fd3508 Mon Sep 17 00:00:00 2001 From: Isis Lovecruft Date: Thu, 31 Jan 2013 02:59:49 +0000 Subject: Add default boilerplate config to the config file creator. --- src/leap/util/config.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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: -- cgit v1.2.3