Skip to content
Snippets Groups Projects
Commit aee0071e authored by Marius Burkard's avatar Marius Burkard
Browse files

Merge branch 'develop' into 'develop'

Fix bug with Array-String in postfix main.cf

Closes #5872

See merge request ispconfig/ispconfig3!1309
parents be736295 b0ea7a67
No related branches found
No related tags found
No related merge requests found
......@@ -193,7 +193,7 @@ class postfix_server_plugin {
}
}
if ($i == count($new_options)) {
$new_options[] = array('reject_unknown_client_hostname');
$new_options[] = 'reject_unknown_client_hostname';
}
$app->system->exec_safe("postconf -e ?", 'smtpd_client_restrictions = '.implode(", ", $new_options));
......@@ -231,7 +231,7 @@ class postfix_server_plugin {
}
}
if ($i == count($new_options)) {
$new_options[] = array('reject_unknown_helo_hostname');
$new_options[] = 'reject_unknown_helo_hostname';
}
$app->system->exec_safe("postconf -e ?", 'smtpd_helo_restrictions = '.implode(", ", $new_options));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment