Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
lolo888
ISPConfig 3
Commits
2e1086d1
Commit
2e1086d1
authored
Aug 11, 2007
by
tbrehm
Browse files
mailsize file for accounting of incoming mails
parent
2d4bd485
Changes
2
Hide whitespace changes
Inline
Side-by-side
install/lib/installer_base.lib.php
View file @
2e1086d1
...
...
@@ -615,6 +615,10 @@ maildrop unix - n n - - pipe
$command
=
"chown -R ispconfig:ispconfig "
.
$conf
[
"ispconfig_install_dir"
];
caselog
(
$command
.
" &> /dev/null"
,
__FILE__
,
__LINE__
,
"EXECUTED: "
.
$command
,
"Failed to execute the command "
.
$command
);
// make sure that the server config file (not the interface one) is only readable by the root user
exec
(
'chmod 600 '
.
$conf
[
"ispconfig_install_dir"
]
.
'/server/lib/'
.
$configfile
);
exec
(
'chown root:root '
.
$conf
[
"ispconfig_install_dir"
]
.
'/server/lib/'
.
$configfile
);
// TODO: FIXME: add the www-data user to the ispconfig group. This is just for testing
// and must be fixed as this will allow the apache user to read the ispconfig files.
// Later this must run as own apache server or via suexec!
...
...
install/tpl/mailfilter.master
View file @
2e1086d1
...
...
@@ -45,6 +45,9 @@ if ( $RETURNCODE == 0 )
include "{dist_postfix_vmail_mailbox_base}/mailfilters/$HOST/$USER/.autoresponder"
}
# Create a mailsize file
`echo $SIZE >> {dist_postfix_vmail_mailbox_base}/$HOST/$USER/.ispconfig_mailsize`
#
# Check that user has his own maildrop include,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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