config_query EXIM_MAILDIR   "Support maildir for appendfile transport?"    n  &&
config_query EXIM_MAILSTORE "Support mailstore for appendfile transport?"  n  &&
config_query EXIM_MBX       "Support MBX for appendfile transport?"        n  &&
config_query EXIM_NIS       "Enable NIS lookups?"                          n  &&
config_query EXIM_NISPLUS   "Enable NIS+ lookups?"                         n  &&
config_query EXIM_PASSWD    "Enable /etc/passwd lookups?"                  n  &&
config_query EXIM_SCAN      "Enable content scanning (exiscan)?"           n  &&
config_query EXIM_MD5       "Enable cram/md5 authentication?"              n  &&
config_query EXIM_PLAINTEXT "Enable plaintext authentication?"             n  &&
config_query EXIM_SPA       "Enable SPA authentication?"                   n  &&
config_query EXIM_FROZEN    "Enable moving frozen messages?"               n  &&
config_query EXIM_DEMIME    "Enable old demime support?"                   n  &&

if    spell_ok  hc-cron; then
  config_query_list  EXIM_CRON  "Use which cron to resend undelivered mail?"  \
                     hc-cron  fcron  none
elif  spell_ok  fcron;  then
  config_query_list  EXIM_CRON  "Use which cron to resend undelivered mail?"  \
                     fcron  hc-cron  none
else
  config_query_list  EXIM_CRON  "Use which cron to resend undelivered mail?"  \
                     none  hc-cron  fcron
fi  &&

if  spell_ok  gnutls;  then
  config_query_list  EXIM_TLS  'Enable GNU TLS support?'  \
                     gnutls  openssl
elif spell_ok  openssl;  then
  config_query_list  EXIM_TLS  'Enable GNU TLS support?'  \
                     openssl  gnutls
else
  config_query_list  EXIM_TLS  'Enable GNU TLS support?'  \
                     gnutls  openssl
fi
