X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=lib%2Fdefault_configuration.rb;fp=lib%2Fdefault_configuration.rb;h=1d0aa7f82b34b5721778d47df337baa678a02cfb;hb=87c9c583caca33112f88622eed8849e98bdf3a26;hp=0000000000000000000000000000000000000000;hpb=314f5670531dfda9b3d708fce8b0161a098cf134;p=mailshears.git diff --git a/lib/default_configuration.rb b/lib/default_configuration.rb new file mode 100644 index 0000000..1d0aa7f --- /dev/null +++ b/lib/default_configuration.rb @@ -0,0 +1,33 @@ +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' + + # 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' + + # 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 + + PLUGINS = ['dovecot_mailstore', 'roundcube_db'] + + # Roundcube-specific configuration. + ROUNDCUBE_DBHOST = 'localhost' + ROUNDCUBE_DBPORT = 5432 + ROUNDCUBE_DBOPTS = '' + ROUNDCUBE_DBTTY = '' + ROUNDCUBE_DBUSER = 'postgres' + ROUNDCUBE_DBPASS = '' + ROUNDCUBE_DBNAME = 'roundcube' + +end