當前位置: 首頁>>代碼示例>>PHP>>正文


PHP maincf_multi::YesNo方法代碼示例

本文整理匯總了PHP中maincf_multi::YesNo方法的典型用法代碼示例。如果您正苦於以下問題:PHP maincf_multi::YesNo方法的具體用法?PHP maincf_multi::YesNo怎麽用?PHP maincf_multi::YesNo使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在maincf_multi的用法示例。


在下文中一共展示了maincf_multi::YesNo方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: OthersValues


//.........這裏部分代碼省略.........
    if (!is_numeric($qmgr_message_recipient_limit)) {
        $qmgr_message_recipient_limit = 20000;
    }
    if ($smtpd_client_event_limit_exceptions == null) {
        $smtpd_client_event_limit_exceptions = "\$mynetworks";
    }
    if ($in_flow_delay == null) {
        $in_flow_delay = "1s";
    }
    if ($smtp_connect_timeout == null) {
        $smtp_connect_timeout = "30s";
    }
    if ($smtp_helo_timeout == null) {
        $smtp_helo_timeout = "300s";
    }
    if ($bounce_queue_lifetime == null) {
        $bounce_queue_lifetime = "5d";
    }
    if ($maximal_queue_lifetime == null) {
        $maximal_queue_lifetime = "5d";
    }
    if ($maximal_backoff_time == null) {
        $maximal_backoff_time = "4000s";
    }
    if ($minimal_backoff_time == null) {
        $minimal_backoff_time = "300s";
    }
    if ($queue_run_delay == null) {
        $queue_run_delay = "300s";
    }
    if ($smtpd_banner == null) {
        $smtpd_banner = "\$myhostname ESMTP \$mail_name";
    }
    $detect_8bit_encoding_header = $mainmulti->YesNo($detect_8bit_encoding_header);
    $disable_mime_input_processing = $mainmulti->YesNo($disable_mime_input_processing);
    $disable_mime_output_conversion = $mainmulti->YesNo($disable_mime_output_conversion);
    $smtpd_reject_unlisted_sender = $mainmulti->YesNo($smtpd_reject_unlisted_sender);
    $smtpd_reject_unlisted_recipient = $mainmulti->YesNo($smtpd_reject_unlisted_recipient);
    $ignore_mx_lookup_error = $mainmulti->YesNo($ignore_mx_lookup_error);
    $disable_dns_lookups = $mainmulti->YesNo($disable_dns_lookups);
    if (!is_numeric($enable_original_recipient)) {
        $enable_original_recipient = 1;
    }
    if ($undisclosed_recipients_header == null) {
        $undisclosed_recipients_header = "To: undisclosed-recipients:;";
    }
    $enable_original_recipient = $mainmulti->YesNo($enable_original_recipient);
    $mime_nesting_limit = $mainmulti->GET("mime_nesting_limit");
    if (!is_numeric($mime_nesting_limit)) {
        $mime_nesting_limit = $sock->GET_INFO("mime_nesting_limit");
    }
    if (!is_numeric($mime_nesting_limit)) {
        $mime_nesting_limit = 100;
    }
    $main->main_array["default_destination_recipient_limit"] = $sock->GET_INFO("default_destination_recipient_limit");
    $main->main_array["smtpd_recipient_limit"] = $sock->GET_INFO("smtpd_recipient_limit");
    $main->main_array["header_address_token_limit"] = $sock->GET_INFO("header_address_token_limit");
    $main->main_array["virtual_mailbox_limit"] = $sock->GET_INFO("virtual_mailbox_limit");
    if ($main->main_array["message_size_limit"] == null) {
        $main->main_array["message_size_limit"] = 102400000;
    }
    if ($main->main_array["virtual_mailbox_limit"] == null) {
        $main->main_array["virtual_mailbox_limit"] = 102400000;
    }
    if ($main->main_array["default_destination_recipient_limit"] == null) {
        $main->main_array["default_destination_recipient_limit"] = 50;
開發者ID:articatech,項目名稱:artica,代碼行數:67,代碼來源:exec.postfix.maincf.php


注:本文中的maincf_multi::YesNo方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。