config_query DSPAM_GD     'Use gd for pretty graphs?' n  &&

if is_depends_enabled $SPELL postgresql ||
   is_depends_enabled $SPELL $(get_spell_provider $SPELL MYSQL)
then
  config_query_option DSPAM_OPTS 'Enable virtual users?' n \
               '--enable-virtual-users' '--disable-virtual-users'
fi  &&

config_query_option DSPAM_OPTS 'Enable daemon mode?' y \
             '--enable-daemon' '--disable-daemon' &&
config_query_option DSPAM_OPTS 'Enable preferences extension?' y \
             '--enable-preferences-extension' '--disable-preferences-extension' &&
config_query_option DSPAM_OPTS 'Enable split configuration file support?' y \
             '--enable-split-configuration' '--disable--split-configuration' &&
config_query_option DSPAM_OPTS 'Enable long usernames?' y \
             '--enable-long-usernames' '--disable-long-usernames' &&
config_query_list DSPAM_SCALE 'Select a filesystem organization method:'\
             'None'         \
             'Domain Scale' \
             'Large Scale'

