HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2013-02-20 6208e0ec8cb312e814f80a26d515a945fea71258
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# This file is managed by HSAdmin.
# Do not edit manually. Changes will be overwritten.
#
 
Include                         /etc/proftpd/modules.conf
 
ServerName                      "Hostsharing eG"
ServerType                      standalone
DeferWelcome                    off
UseIPv6                         off
UseReverseDNS                   off
IdentLookups                    off
 
ShowSymlinks                    on
MultilineRFC2228                on
DefaultServer                   on
ShowSymlinks                    on
AllowOverwrite                  on
 
RequireValidShell               off
DefaultRoot                     ~
AllowForeignAddress             on
 
TimeoutNoTransfer               900
TimeoutStalled                  900
TimeoutIdle                     1800
 
DisplayLogin                    welcome.msg
ListOptions                     "-la"
 
DenyFilter                      \*.*/
 
Port                            21
MaxInstances                    128
User                            nobody
Group                           nogroup
 
LoadModule mod_tls.c
TLSEngine on
TLSProtocol SSLv23 TLSv1
TLSRequired off
TLSVerifyClient off
TLSRSACertificateFile /etc/proftpd/ftp-cert.pem
TLSRSACertificateKeyFile /etc/proftpd/ftp-key.pem
TLSCertificateChainFile /etc/proftpd/ftp-chain.pem
 
LogFormat default       "%h %l %u %t \"%r\" %s %b"
LogFormat auth          "%v [%P] %h %t \"%r\" %s"
LogFormat write         "%h %l %u %t \"%r\" %s %b"
 
DelayEngine off
 
PassivePorts                    60000 65534
 
<Directory /*>
  Umask                         022  022
  AllowOverwrite                on
</Directory>
 
#foreach( $pac in ${hive.pacs} )
 
<VirtualHost ${pac.curINetAddr.inetAddr}>
        DefaultRoot             ~ ${pac.name}
        ServerName              "Hostsharing eG"
        AllowOverwrite          on
        AllowForeignAddress     on
        RequireValidShell       off
 
        <Limit LOGIN>
                Order           allow,deny
                AllowGroup      ${pac.name}
                DenyAll
        </Limit>
        <Anonymous /home/pacs/${pac.name}/ftp>
                User            ${pac.name}
                Group           ${pac.name}
                UserAlias       anonymous ${pac.name}
                UserAlias       ftp ${pac.name}
                DirFakeUser     on ftp
                DirFakeGroup    on ftp
                DirFakeMode     000
                AuthAliasOnly   on
                <Limit WRITE>
                        DenyAll
                </Limit>
        </Anonymous>
</VirtualHost>
#end