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'
- DBPORT = 5432
- DBOPTS = ''
- DBTTY = ''
- DBUSER = 'postgres'
- DBPASS = ''
- DBNAME = 'postfix'
+ 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
+ # 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_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