本文整理汇总了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;