config_query DSPAM_SQLITE 'Enable SQLite driver?' n      &&
config_query DSPAM_MYSQL  'Enable MySQL driver?' n       &&
config_query DSPAM_PGSQL  'Enable PostgreSQL driver?' n  &&
config_query DSPAM_GD     'Use gd for pretty graphs?' n  &&

if [[ "$DSPAM_PGSQL" == 'y' || "$DSPAM_MYSQL" == 'y' ]] ; then
  config_query DSPAM_VIRTUAL_USERS 'Enable virtual users?' n
fi  &&

config_query_option DSPAM_DAEMON 'Enable daemon mode?' y          \
                 '--enable-daemon' '--disable-daemon'                               &&
config_query_option DSPAM_PREFS 'Enable preferences extension?' y \
                 '--enable-preferences-extension' '--disable-preferences-extension' &&
config_query_list DSPAM_SCALE 'Select a filesystem organization method:'\
                  'None'         \
                  'Domain Scale' \
                  'Large Scale'

