Fixing etch ftp configuration, Fixes #1046
This commit is contained in:
parent
55308ae2c0
commit
e8299927e9
|
@ -287,6 +287,7 @@ etc/alternc/templates/postfix/mydomain.cf -text
|
||||||
etc/alternc/templates/postfix/mygid.cf -text
|
etc/alternc/templates/postfix/mygid.cf -text
|
||||||
etc/alternc/templates/postfix/myvirtual.cf -text
|
etc/alternc/templates/postfix/myvirtual.cf -text
|
||||||
etc/alternc/templates/postfix/sasl/smtpd.conf -text
|
etc/alternc/templates/postfix/sasl/smtpd.conf -text
|
||||||
|
etc/alternc/templates/proftpd/modules.conf -text
|
||||||
etc/alternc/templates/proftpd/proftpd.conf -text
|
etc/alternc/templates/proftpd/proftpd.conf -text
|
||||||
etc/alternc/templates/proftpd/welcome.msg -text
|
etc/alternc/templates/proftpd/welcome.msg -text
|
||||||
etc/alternc/templates/squirrelmail/apache.conf -text
|
etc/alternc/templates/squirrelmail/apache.conf -text
|
||||||
|
|
|
@ -0,0 +1,31 @@
|
||||||
|
#
|
||||||
|
# This file is used to manage DSO modules and features.
|
||||||
|
#
|
||||||
|
|
||||||
|
# This is the directory where DSO modules reside
|
||||||
|
|
||||||
|
ModulePath /usr/lib/proftpd
|
||||||
|
|
||||||
|
# Allow only user root to load and unload modules, but allow everyone
|
||||||
|
# to see which modules have been loaded
|
||||||
|
|
||||||
|
ModuleControlsACLs insmod,rmmod allow user root
|
||||||
|
ModuleControlsACLs lsmod allow user *
|
||||||
|
|
||||||
|
|
||||||
|
#LoadModule mod_ctrls_admin.c
|
||||||
|
LoadModule mod_tls.c
|
||||||
|
LoadModule mod_sql.c
|
||||||
|
#LoadModule mod_ldap.c
|
||||||
|
LoadModule mod_sql_mysql.c
|
||||||
|
#LoadModule mod_sql_postgres.c
|
||||||
|
#LoadModule mod_quotatab.c
|
||||||
|
#LoadModule mod_quotatab_file.c
|
||||||
|
#LoadModule mod_quotatab_ldap.c
|
||||||
|
#LoadModule mod_quotatab_sql.c
|
||||||
|
#LoadModule mod_radius.c
|
||||||
|
LoadModule mod_wrap.c
|
||||||
|
LoadModule mod_rewrite.c
|
||||||
|
|
||||||
|
# keep this module the last one
|
||||||
|
LoadModule mod_ifsession.c
|
|
@ -3,7 +3,12 @@
|
||||||
# $Id: proftpd.conf,v 1.11 2006/01/17 12:04:14 benjamin Exp $
|
# $Id: proftpd.conf,v 1.11 2006/01/17 12:04:14 benjamin Exp $
|
||||||
#
|
#
|
||||||
# %%warning_message%%
|
# %%warning_message%%
|
||||||
# version SARGE
|
# version ETCH
|
||||||
|
|
||||||
|
#
|
||||||
|
# Includes required DSO modules. This is mandatory in proftpd 1.3
|
||||||
|
#
|
||||||
|
Include /etc/proftpd/modules.conf
|
||||||
|
|
||||||
ServerName "%%hosting%%"
|
ServerName "%%hosting%%"
|
||||||
ServerIdent on "FTP Server Ready"
|
ServerIdent on "FTP Server Ready"
|
||||||
|
@ -18,7 +23,7 @@ AllowStoreRestart on
|
||||||
DefaultRoot ~
|
DefaultRoot ~
|
||||||
UseReverseDNS off
|
UseReverseDNS off
|
||||||
IdentLookups off
|
IdentLookups off
|
||||||
|
UseIPv6 off
|
||||||
|
|
||||||
TimeoutNoTransfer 600
|
TimeoutNoTransfer 600
|
||||||
TimeoutStalled 600
|
TimeoutStalled 600
|
||||||
|
|
|
@ -31,8 +31,8 @@ if [ -e /etc/postfix/main.cf ]; then
|
||||||
etc/postfix/mydomain.cf etc/postfix/mygid.cf
|
etc/postfix/mydomain.cf etc/postfix/mygid.cf
|
||||||
etc/postfix/myvirtual.cf etc/postfix/sasl/smtpd.conf"
|
etc/postfix/myvirtual.cf etc/postfix/sasl/smtpd.conf"
|
||||||
fi
|
fi
|
||||||
if [ -e /etc/proftpd.conf ]; then
|
if [ -e /etc/proftpd/proftpd.conf ]; then
|
||||||
CONFIG_FILES="$CONFIG_FILES etc/proftpd.conf etc/welcome.msg"
|
CONFIG_FILES="$CONFIG_FILES etc/proftpd/proftpd.conf etc/proftpd/welcome.msg etc/proftpd/modules.conf"
|
||||||
fi
|
fi
|
||||||
if [ -e /etc/squirrelmail/apache.conf ]; then
|
if [ -e /etc/squirrelmail/apache.conf ]; then
|
||||||
CONFIG_FILES="$CONFIG_FILES etc/squirrelmail/apache.conf"
|
CONFIG_FILES="$CONFIG_FILES etc/squirrelmail/apache.conf"
|
||||||
|
@ -201,7 +201,7 @@ if [ -e /etc/courier/authmysqlrc ] ; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -e /etc/proftpd.conf ] ; then
|
if [ -e /etc/proftpd.conf ] ; then
|
||||||
chmod 640 /etc/proftpd.conf
|
chmod 640 /etc/proftpd/proftpd.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
|
|
Loading…
Reference in New Issue