From: Michael Orlitzky Date: Mon, 16 Apr 2012 02:58:00 +0000 (-0400) Subject: Reorder the default config file to make more sense. X-Git-Tag: 0.0.1~114 X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=commitdiff_plain;h=8a37bcd5c2bc418c3f7d2a60140bae906d85624f Reorder the default config file to make more sense. --- diff --git a/lib/default_configuration.rb b/lib/default_configuration.rb index 1d0aa7f..7f3b892 100644 --- a/lib/default_configuration.rb +++ b/lib/default_configuration.rb @@ -1,10 +1,11 @@ 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 / 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' @@ -15,12 +16,16 @@ module Configuration 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'] + # 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 / format. + MAIL_ROOT = '/var/spool/mail/vhosts' + # Roundcube-specific configuration. ROUNDCUBE_DBHOST = 'localhost' ROUNDCUBE_DBPORT = 5432