• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Proftpd Upgrade to 1.3.1

N

niceboy001

Guest
Hello,

Yesterday, i have upgraded my Proftpd-Server to version 1.3.1!
I have it compiled self with few modules (mod_tls, mod_clamav, mod_quotatab and mod_sql...).

Since them i have that problem, that the ftp-quota-settings from plesk are not supported!
I think, that my my mod_quotatab settings are not correct, because my question is, how
i can it setup correctly to get quota-support on plesk for ftp?

My proftpd.conf is:
ServerName "Proftpd"
#ServerType standalone
ServerType inetd
DefaultServer on
<Global>
DefaultRoot ~ psacln
AllowOverwrite on
</Global>
DefaultTransferMode binary
UseFtpUsers on

# Port 21 is the standard FTP port.
Port 21
PassivePorts 60000 65535
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022

# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances 30

#Following part of this config file were generate by PSA automatically
#Any changes in this part will be overwritten by next manipulation
#with Anonymous FTP feature in PSA control panel.

#Include directive should point to place where FTP Virtual Hosts configurations
#preserved

ScoreboardFile /var/run/proftpd_scoreboard

# Primary log file mest be outside of system logrotate province

TransferLog /opt/psa/var/log/xferlog

#Change default group for new files and directories in vhosts dir to psacln

<Directory /var/www/vhosts>
GroupOwner psacln
</Directory>

<IfModule mod_tls.c>
TLSEngine on
TLSLog /var/log/proftpd/proftpd_tls.log
TLSProtocol TLSv1
TLSRequired off
TLSVerifyClient off
TLSRSACertificateFile /etc/ssl/certs/proftpd.cert.pem
TLSRSACertificateKeyFile /etc/ssl/certs/proftpd.key.pem
</IfModule>
<IfModule mod_clamav.c>
# Enable virus scanning and removal
ClamAV on
# Specify the UNIX Local Socket
ClamLocalSocket /var/run/clamav/clamd.ctl
ClamWarn on
</IfModule>

# Enable PAM authentication
AuthPAM on
AuthPAMConfig proftpd

IdentLookups off
UseReverseDNS off

AuthGroupFile /etc/group

Include /etc/proftpd.include

It is very important for me to can reduce the quota per domain-account!

Thank you very musch and nice greetings from Austria,
Bernhard
 
Hello,

thanks for your tip, but i now i have solved the problem!

The problem, was that i had forget install the quota packages with quota-kernel-module on my new server. Than i have compiled the new Proftpd-Server with all required moduls (quotatab, auth-pam...)!

Now, it run perfect!
 
hi, can you explain to me how to "re-compile" proftpd? thanks.
 
Back
Top