Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
ISPConfig 3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alfons L.
ISPConfig 3
Commits
3845f103
Commit
3845f103
authored
Mar 16, 2008
by
tbrehm
Browse files
Options
Downloads
Patches
Plain Diff
Fixed a bug when maildirs are created.
Updated the Debian installation instructions.
parent
6b55a115
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
INSTALL_DEBIAN.txt
+19
-1
19 additions, 1 deletion
INSTALL_DEBIAN.txt
install/tpl/config.inc.php.master
+1
-1
1 addition, 1 deletion
install/tpl/config.inc.php.master
server/plugins-available/mail_plugin.inc.php
+5
-0
5 additions, 0 deletions
server/plugins-available/mail_plugin.inc.php
with
25 additions
and
2 deletions
INSTALL_DEBIAN.txt
+
19
−
1
View file @
3845f103
...
...
@@ -41,7 +41,9 @@ vi /etc/default/pure-ftpd-common
and change the start mode from inetd to standalone.
Edit the file /etc/inetd.conf vi /etc/inted.conf
Edit the file /etc/inetd.conf
vi /etc/inetd.conf
and comment out the line for the FTP service, so it looks like this:
...
...
@@ -104,6 +106,22 @@ password: admin
In case you get a permission denied error from apache, please restart the apache webserver process.
Optional:
Install a webbased FTP Client
apt-get install squirrelmail
ln -s /usr/share/squirrelmail/ /var/www/webmail
Access squirrelmail:
http://192.168.0.100/webmail
To configure squirrelmail, run:
/usr/sbin/squirrelmail-configure
----------------------------------------------------------------------------------------------------------
Hints:
...
...
This diff is collapsed.
Click to expand it.
install/tpl/config.inc.php.master
+
1
−
1
View file @
3845f103
...
...
@@ -106,7 +106,7 @@ define("DB_PASSWORD",$conf["db_password"]);
*/
$conf
[
"log_file"
]
=
$conf
[
"rootpath"
]
.
$conf
[
"fs_div"
]
.
"ispconfig.log"
;
$conf
[
"log_priority"
]
=
0
;
// 0 = Debug, 1 = Warning, 2 = Error
$conf
[
"log_priority"
]
=
2
;
// 0 = Debug, 1 = Warning, 2 = Error
/*
Themes
...
...
This diff is collapsed.
Click to expand it.
server/plugins-available/mail_plugin.inc.php
+
5
−
0
View file @
3845f103
...
...
@@ -61,9 +61,14 @@ class mail_plugin {
function
user_insert
(
$event_name
,
$data
)
{
global
$app
,
$conf
;
// get the config
$app
->
uses
(
"getconf"
);
$mail_config
=
$app
->
getconf
->
get_server_config
(
$conf
[
"server_id"
],
'mail'
);
// Create the maildir, if it does not exist
if
(
!
is_dir
(
$data
[
'new'
][
'maildir'
]))
{
exec
(
'mkdir -p '
.
escapeshellcmd
(
$data
[
'new'
][
'maildir'
]));
exec
(
'maildirmake '
.
escapeshellcmd
(
$data
[
'new'
][
'maildir'
]));
exec
(
'chown '
.
$mail_config
[
'mailuser_name'
]
.
':'
.
$mail_config
[
'mailuser_group'
]
.
' '
.
escapeshellcmd
(
$data
[
'new'
][
'maildir'
]));
$app
->
log
(
'Created Maildir: '
.
$data
[
'new'
][
'maildir'
],
LOGLEVEL_DEBUG
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment