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  &&
#
# Oracle doesn't quite compile...
#
#config_query EXIM_ORACLE    "Enable Oracle 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  &&


message  "Exim can use either hc-cron or or fcron"             \
         "to periodically attempt to resend undelivered mail"  &&

if  spell_ok  hc-cron; then
  config_query  EXIM_HCCRON  "Attempt to resend undelivered via hc-cron?"  y
else
  config_query  EXIM_HCCRON  "Attempt to resend undelivered via hc-cron?"  n
fi  &&

if  spell_ok  fcron; then
  config_query  EXIM_FCRON  "Attempt to resend undelivered via fcron?"  y
else
  config_query  EXIM_FCRON  "Attempt to resend undelivered via fcron?"  n
fi  &&

# The spell only mentioned xfree86, haven't tested with others
if  provider_ok  X11-LIBS; then
  config_query  EXIM_XFREE86  "Build X11 exim monitor?"  y
else
  config_query  EXIM_XFREE86  "Build X11 exim monitor?"  n
fi  &&

if  spell_ok  tcp_wrappers; then
  config_query  EXIM_TCPWRAPPERS  "Use tcp_wrappers for controlling access?"  y
else
  config_query  EXIM_TCPWRAPPERS  "Use tcp_wrappers for controlling access?"  n
fi  &&

if  spell_ok  mysql; then
  config_query  EXIM_MYSQL  "Use mysql for SQL lookup tables?"  y
else
  config_query  EXIM_MYSQL  "Use mysql for SQL lookup tables?"  n
fi  &&

if  spell_ok  postgresql; then
  config_query  EXIM_PGSQL  "Use postgresql for SQL lookup tables?"  y
else
  config_query  EXIM_PGSQL  "Use postgresql for SQL lookup tables?"  n
fi  &&

if  spell_ok  linux-pam; then
  config_query  EXIM_LINUXPAM  "Use linux-pam For PAM authentication?"  y
else
  config_query  EXIM_LINUXPAM  "Use linux-pam For PAM authentication?"  n
fi  &&

if  spell_ok  openldap; then
  config_query  EXIM_OPENLDAP  "Use openldap for LDAP lookup tables?"  y
else
  config_query  EXIM_OPENLDAP  "Use openldap for LDAP lookup tables?"  n
fi  &&

if  spell_ok  openssl; then
  config_query  EXIM_OPENSSL  "Use openssl for TLS support?"  y
else
  config_query  EXIM_OPENSSL  "Use openssl for TLS support?"  n
fi  &&

if  spell_ok  gnutls; then
  config_query  EXIM_GNUTLS  "Use gnutls for TLS support?"  y
else
  config_query  EXIM_GNUTLS  "Use gnutls for TLS support?"  n
fi  &&

if  spell_ok  cyrus-sasl; then
  config_query  EXIM_SASL  "Use cyrus-sasl for authentication?"  y
else
  config_query  EXIM_SASL  "Use cyrus-sasl for authentication?"  n
fi  &&

if  spell_ok  readline; then
  config_query  EXIM_READLINE  "Use readline for read data testing?"  y
else
  config_query  EXIM_READLINE  "Use readline for read data testing?"  n
fi
