]> gitweb.michael.orlitzky.com - mailshears.git/blob - lib/default_configuration.rb
Reorder the default config file to make more sense.
[mailshears.git] / lib / default_configuration.rb
1 module Configuration
2 # Really delete domains/accounts, or just find them? This parameter
3 # could also be called, "I_TRUST_MAILSHEARS_NOT_TO_DO_ANYTHING_BAD".
4 I_MEAN_BUSINESS = false
5
6 # How to connect to your user/domain database. At the moment, this
7 # is PostfixAdmin.
8 #
9 # These should be obvious except for the ones that aren't. You can
10 # identify the non-obvious ones by my having left them blank.
11 DBHOST = 'localhost'
12 DBPORT = 5432
13 DBOPTS = ''
14 DBTTY = ''
15 DBUSER = 'postgres'
16 DBPASS = ''
17 DBNAME = 'postfix'
18
19 # This defines which plugins we'll use. The rest of the
20 # configuration is plugin-specific.
21 PLUGINS = ['dovecot_mailstore', 'roundcube_db']
22
23 # Where your mailboxes are stored. The exact format could
24 # theoretically change in the future, but for now, the
25 # DovecotMailstore class is going to assume that the mailboxes are
26 # stored beneath this directory in <domain>/<username> format.
27 MAIL_ROOT = '/var/spool/mail/vhosts'
28
29 # Roundcube-specific configuration.
30 ROUNDCUBE_DBHOST = 'localhost'
31 ROUNDCUBE_DBPORT = 5432
32 ROUNDCUBE_DBOPTS = ''
33 ROUNDCUBE_DBTTY = ''
34 ROUNDCUBE_DBUSER = 'postgres'
35 ROUNDCUBE_DBPASS = ''
36 ROUNDCUBE_DBNAME = 'roundcube'
37
38 end