array("get","integer",null), "target_type" => array("post", "string", null), "target_mail" => array("post", "string", null), "target_domain" => array("post", "string", null), ); getFields($fields); if (is_null($domain_id)) { echo "
"; __("Problem with the domain"); echo"
"; include_once("foot.php"); exit(); } if (!is_null($target_type)) { switch ($target_type) { case "none": $mail->catchall_del($domain_id); break; case "domain": $mail->catchall_set($domain_id, $target_domain); break; case "mail": $mail->catchall_set($domain_id, $target_mail); break; default: $error=_("Unknown target type"); } } $catch=$mail->catchall_getinfos($domain_id); ?>