Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jozef Sroka
ISPConfig 3
Commits
c8b6f257
Commit
c8b6f257
authored
Jul 08, 2019
by
Till Brehm
Browse files
Fixed installer warning: postconf: warning: unmatched request: "maildrop.unix"
parent
7ee3e451
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/lib/installer_base.lib.php
View file @
c8b6f257
...
...
@@ -1050,7 +1050,7 @@ class installer_base {
$regex
=
"/^maildrop unix.*pipe flags=DRhu user=vmail argv=
\\
/usr
\\
/bin
\\
/maildrop -d "
.
$cf
[
'vmail_username'
]
.
"
\\
$\{extension}
\\
$\{recipient}
\\
$\{user}
\\
$\{nexthop}
\\
$\{sender}/"
;
$configfile
=
$config_dir
.
'/master.cf'
;
if
(
$this
->
get_postfix_service
(
'maildrop'
,
'unix'
))
{
exec
(
"postconf -M maildrop.unix
&
> /dev/null"
,
$out
,
$ret
);
exec
(
"postconf -M maildrop.unix
2
> /dev/null"
,
$out
,
$ret
);
$change_maildrop_flags
=
@
(
preg_match
(
$regex
,
$out
[
0
])
&&
$out
[
0
]
!=
''
)
?
false
:
true
;
}
else
{
$change_maildrop_flags
=
@
(
preg_match
(
$regex
,
$configfile
))
?
false
:
true
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment