]> gitweb.michael.orlitzky.com - mailshears.git/commitdiff
Reorder the default config file to make more sense.
authorMichael Orlitzky <michael@orlitzky.com>
Mon, 16 Apr 2012 02:58:00 +0000 (22:58 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Mon, 16 Apr 2012 02:58:00 +0000 (22:58 -0400)
lib/default_configuration.rb

index 1d0aa7f82b34b5721778d47df337baa678a02cfb..7f3b8920998280cb3b73df4bb0093148793f6d78 100644 (file)
@@ -1,10 +1,11 @@
 module Configuration
 module Configuration
-  # Where your mailboxes are stored. The exact format could
-  # theoretically change in the future, but for now, the
-  # DovecotMailstore class is going to assume that the mailboxes are
-  # stored beneath this directory in <domain>/<username> format.
-  MAIL_ROOT = '/var/spool/mail/vhosts'
+  # Really delete domains/accounts, or just find them? This parameter
+  # could also be called, "I_TRUST_MAILSHEARS_NOT_TO_DO_ANYTHING_BAD".
+  I_MEAN_BUSINESS = false
 
 
+  # How to connect to your user/domain database. At the moment, this
+  # is PostfixAdmin.
+  #
   # These should be obvious except for the ones that aren't. You can
   # identify the non-obvious ones by my having left them blank.
   DBHOST = 'localhost'
   # These should be obvious except for the ones that aren't. You can
   # identify the non-obvious ones by my having left them blank.
   DBHOST = 'localhost'
@@ -15,12 +16,16 @@ module Configuration
   DBPASS = ''
   DBNAME = 'postfix'
 
   DBPASS = ''
   DBNAME = 'postfix'
 
-  # Really delete domains/accounts, or just find them? This parameter
-  # could also be called, "I_TRUST_MAILSHEARS_NOT_TO_DO_ANYTHING_BAD".
-  I_MEAN_BUSINESS = false
-
+  # This defines which plugins we'll use. The rest of the
+  # configuration is plugin-specific.
   PLUGINS = ['dovecot_mailstore', 'roundcube_db']
 
   PLUGINS = ['dovecot_mailstore', 'roundcube_db']
 
+  # Where your mailboxes are stored. The exact format could
+  # theoretically change in the future, but for now, the
+  # DovecotMailstore class is going to assume that the mailboxes are
+  # stored beneath this directory in <domain>/<username> format.
+  MAIL_ROOT = '/var/spool/mail/vhosts'
+
   # Roundcube-specific configuration.
   ROUNDCUBE_DBHOST = 'localhost'
   ROUNDCUBE_DBPORT = 5432
   # Roundcube-specific configuration.
   ROUNDCUBE_DBHOST = 'localhost'
   ROUNDCUBE_DBPORT = 5432