当前位置: 首页>>代码示例>>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;未经允许,请勿转载。