if [ ! -x /usr/bin/suidperl ]; then
   message "${MESSAGE_COLOR}You have to configure perl with setuid/setgid emulation enabled."
   message "Do a cast -r perl and answer y to this option..."
   message "This is MANDATORY.${DEFAULT_COLOR}"
fi &&

message "${MESSAGE_COLOR}Remember to edit /etc/openwebmail.conf to match your needs.${DEFAULT_COLOR}" &&

config_query OW_POP3SSL "Enable pop3 over ssl support(adds deps on openssl, net-ssleay, io-socket-ssl)?" y &&

if ! grep -q "MAIL_STATS" $SPELL_CONFIG; then
  if query "Send email report to Openwebmail developpers (this is not anonymous!) ?"  n
    then  echo   "MAIL_STATS=y"  >>  $SPELL_CONFIG
    else  echo   "MAIL_STATS=n"  >>  $SPELL_CONFIG
  fi
fi  &&

if ! grep -q "BACKUP" $SPELL_CONFIG; then
  if query "Backup $SPELL config on dispel ?"  y
    then  echo   "BACKUP=y"  >>  $SPELL_CONFIG
    else  echo   "BACKUP=n"  >>  $SPELL_CONFIG
  fi
fi

