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
kotishe
ISPConfig 3
Commits
d5712ba3
Commit
d5712ba3
authored
Aug 08, 2014
by
Florian Schaal
Browse files
beautified code for marius ;)
parent
110bcd7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/plugins-available/mail_plugin_dkim.inc.php
View file @
d5712ba3
...
...
@@ -123,9 +123,14 @@ class mail_plugin_dkim {
if
(
!
is_dir
(
$mail_config
[
'dkim_path'
]))
{
$app
->
log
(
'DKIM Path '
.
$mail_config
[
'dkim_path'
]
.
' not found - (re)created.'
,
LOGLEVEL_DEBUG
);
if
(
$app
->
system
->
is_user
(
'amavis'
))
{
$amavis_user
=
'amavis'
;
}
elseif
(
$app
->
system
->
is_user
(
'vscan'
))
{
$amavis_user
=
'vscan'
;
}
else
{
$amavis_user
=
''
;
}
if
(
$app
->
system
->
is_user
(
'amavis'
))
{
$amavis_user
=
'amavis'
;
}
elseif
(
$app
->
system
->
is_user
(
'vscan'
))
{
$amavis_user
=
'vscan'
;
}
else
{
$amavis_user
=
''
;
}
if
(
!
empty
(
$amavis_user
))
{
mkdir
(
$mail_config
[
'dkim_path'
],
0750
,
true
);
exec
(
'chown '
.
$amavis_user
.
' /var/lib/amavis/dkim'
);
...
...
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