Skip to content

Commit 6183781

Browse files
committed
wrong main.cf after install (Fixes #5963)
1 parent c51b60d commit 6183781

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/lib/installer_base.lib.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1496,15 +1496,15 @@ public function configure_dovecot() {
14961496
foreach ($options as $value) {
14971497
$value = trim($value);
14981498
if ($value == '') continue;
1499-
if (preg_match("|check_recipient_access\s+proxy:mysql:${quoted_config_dir}/mysql-verify_recipients.cf|", $value)) {
1499+
if (preg_match("|check_recipient_access\s+proxy:mysql:${config_dir}/mysql-verify_recipients.cf|", $value)) {
15001500
continue;
15011501
}
15021502
$new_options[] = $value;
15031503
}
15041504
if ($configure_lmtp && $conf['mail']['content_filter'] === 'amavisd') {
15051505
for ($i = 0; isset($new_options[$i]); $i++) {
15061506
if ($new_options[$i] == 'reject_unlisted_recipient') {
1507-
array_splice($new_options, $i+1, 0, array("check_recipient_access proxy:mysql:${quoted_config_dir}/mysql-verify_recipients.cf"));
1507+
array_splice($new_options, $i+1, 0, array("check_recipient_access proxy:mysql:${config_dir}/mysql-verify_recipients.cf"));
15081508
break;
15091509
}
15101510
}

0 commit comments

Comments
 (0)