X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=blobdiff_plain;f=lib%2Fdefault_configuration.rb;h=fa20472a76cc53fa629cb57c26ce74a07929336c;hp=7f3b8920998280cb3b73df4bb0093148793f6d78;hb=451f1c3175c1a3c8670f51ebc907102d8c99820d;hpb=8a37bcd5c2bc418c3f7d2a60140bae906d85624f diff --git a/lib/default_configuration.rb b/lib/default_configuration.rb index 7f3b892..fa20472 100644 --- a/lib/default_configuration.rb +++ b/lib/default_configuration.rb @@ -1,38 +1,38 @@ module Configuration # 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 + # 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' - DBPORT = 5432 - DBOPTS = '' - DBTTY = '' - DBUSER = 'postgres' - DBPASS = '' - DBNAME = 'postfix' + dbhost = 'localhost' + dbport = 5432 + dbopts = '' + dbtty = '' + dbuser = 'postgres' + dbpass = '' + dbname = 'postfix' # 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 / format. - MAIL_ROOT = '/var/spool/mail/vhosts' + mail_root = '/var/spool/mail/vhosts' # Roundcube-specific configuration. - ROUNDCUBE_DBHOST = 'localhost' - ROUNDCUBE_DBPORT = 5432 - ROUNDCUBE_DBOPTS = '' - ROUNDCUBE_DBTTY = '' - ROUNDCUBE_DBUSER = 'postgres' - ROUNDCUBE_DBPASS = '' - ROUNDCUBE_DBNAME = 'roundcube' + roundcube_dbhost = 'localhost' + roundcube_dbport = 5432 + roundcube_dbopts = '' + roundcube_dbtty = '' + roundcube_dbuser = 'postgres' + roundcube_dbpass = '' + roundcube_dbname = 'roundcube' end