]> git.treefish.org Git - fex.git/blob - lib/fex.ph
Original release 20160104
[fex.git] / lib / fex.ph
1 # -*- perl -*- #
2
3 ## your F*EX server host name (with domain)
4 $hostname = 'MYHOSTNAME.MYDOMAIN';
5
6 ## admin email address used in notification emails
7 ## to change it, you MUST call: fac -/ admin-email-address auth-id
8 $admin = 'fex@'.$hostname;
9
10 ## server admin email address shown on web page 
11 $ENV{SERVER_ADMIN} = $admin;
12
13 ## restrict web administration to ip range(s)
14 @admin_hosts = qw(127.0.0.1 10.0.0.0-10.10.255.255);
15
16 ## Bcc address for notification emails, must not be empty
17 $bcc = 'fex';
18
19 ## send notifications about new F*EX releases (bugfixes!)
20 $notify_newrelease = $admin;
21
22 ## optional: download-URLs sent in notification emails
23 # @durl = qw(
24 #   http://MYFEXSERVER/fop 
25 #   https://MYFEXSERVER/fop 
26 #   http://MYPROXY/fex/fop
27 # );
28
29 ## On AUTO mode the fexserver sends notification emails automatically.
30 ## On MANUAL mode the user must notify the recipients manually.
31 # $mailmode = 'MANUAL';
32 $mailmode = 'AUTO';
33
34 ## optional: your mail domain
35 ## if set it will be used as domain for every user without domain
36 ## local_user ==> local_user@$mdomain
37 ## if not set, addresses without domain produce an error
38 # $mdomain = 'MY.MAIL.DOMAIN';
39 # $admin = 'fexmaster@'.$mdomain;
40
41 ## optional: static address (instead of F*EX user) in notification email From
42 ## BEWARE: if set, mail error bounces will not go to the real sender, but
43 ##         to this address!
44 # $sender_from = $admin;
45
46 ## optional HTML header extra link and logo
47 # @H1_extra = qw(http://www.MY.ORG http://www.MY.ORG/logo.gif);
48
49 ## disclaimer to be appended to every notification email
50 # $disclaimer = 'powered by camelcraft!';
51
52 ## optional: suppress funny messages
53 # $boring = 1;
54
55 ## optional: suppress warning messages about incompatible web browsers
56 # $nowarning = 'YES';
57
58 # locales to present (must be installed!)
59 # if empty, present all installed locales
60 # @locales = qw(english swabian);
61
62 ## default locale: which languange is used in first place
63 # $default_locale = 'swabian';
64
65 ## where to store the files and logs, must be writable for user fex!
66 # $spooldir = "$ENV{HOME}/spool";
67 # $logdir = $spooldir;
68
69 ## default quota in MB for recipient; 0 means "no quota"
70 $recipient_quota = 0; 
71
72 ## default quota in MB for sender; 0 means "no quota"
73 $sender_quota = 0; 
74
75 ## expiration: keep files that number of days (default)
76 $keep = 5; 
77
78 ## expiration: keep files that number of days (maximum)
79 $keep_max = 99;
80
81 ## autodelete: delete files after download (automatically)
82 ##      YES     ==> immediatelly (1 minute grace time)
83 ##      DELAY   ==> after download at next fex_cleanup cronjob run 
84 ##      2       ==> 2 days after download (can be any number!)
85 ##      NO      ==> keep until expiration date (see $keep)
86 $autodelete = 'YES';
87
88 ## if the file has been already downloaded then subsequentials
89 ## downloads are only allowed from the same client (uses cookies)
90 ## to prevent unwanted file sharing
91 $limited_download = 'YES';
92
93 ## allow RECIPIENT = SENDER
94 ## in this case subsequentials downloads from any ip are possible until 
95 ## regular file expiration (KEEP); exception for $limited_download
96 $fex_yourself = 'YES';
97
98 ## allow overwriting of files
99 $overwrite = 'YES';
100
101 ## allow user requests for forgotten auth-IDs (then send by email)
102 $mail_authid = 'YES';
103                                                   
104 ## optional: from which hosts and for which mail domains users may 
105 ##           register themselves as full users (must set both!)
106 # @local_hosts = qw(127.0.0.1 ::1 10.10.100.0-10.10.200.255 129.69.1.129);
107 # @local_domains = qw(uni-stuttgart.de flupp.org);
108 # @local_domains = qw(uni-stuttgart.de *.uni-stuttgart.de);
109
110 ## optional: external users may register themselves as restricted users
111 ##           for local receiving domains and hosts (must set both!)
112 # @local_rdomains = qw(flupp.org *.flupp.org);
113 # @local_rhosts = qw(10.0.0.0-10.0.255.255 129.69.1.129);
114 ## optional: allow restricted user registration only by certain domains
115 # @registration_domains = qw(belwue.de ietf.org);
116 ## optional: allow restricted user registration only by certain hosts
117 # @registration_hosts = qw(129.69.0.0-129.69.255.255 176.9.84.26);
118
119 ## optional: for certain remote domains do not use sender address in 
120 ##           notfication email From, because their MTA will probably 
121 ##           reject it if From and To contain their domain name.
122 ##           Instead use $admin for From. See also $sender_from
123 # @remote_domains = qw(flupp.org);
124
125 ## optional: allow public upload via http://$hostname/pup for
126 # @public_recipients = qw(fexmaster@rus.uni-stuttgart.de);
127
128 ## optional: allow anonymous upload without authentication for these IP ranges
129 # @anonymous_upload = qw(127.0.0.1 ::1 10.10.100.0-10.10.200.255 129.69.1.129);
130
131 ## optional: mailing list addresses (allows multiple downloads)
132 # @mailing_lists = qw(admin@my.domain *@listserv*);
133
134 ## optional: forbidden addresses
135 # @forbidden_recipients = qw(nobody@* postmaster@else.where);
136
137 ## optional: forbidden ip addresses for CGIs
138 # @forbidden_hosts = qw(64.124.0.0-64.125.255.255);
139
140 ## optional: restrict upload to these IP ranges
141 # @upload_hosts = qw(127.0.0.1 ::1 10.10.100.0-10.10.200.255 129.69.1.129);
142
143 ## optional: restrict download to these address ranges
144 # @download_hosts = qw(127.0.0.1 10.10.100.0-10.10.200.255 129.69.1.129);
145
146 ## optional: throttle bandwith for certain addresses (in kB/s)
147 ##           0 means : full speed
148 ##           first match wins
149 # @throttle = qw(
150 #       framstag@*:0 microsoft.com:100 
151 #       127.0.0.1:0 202.0.0.0-211.255.255.255:1024
152 #       [::1]:0 [fe00::0-fe00::ffff]:0
153 # );
154
155 ## optional: expire user accounts after x days of inactivity
156 ##           delete=wipe out, notify=send mail to fex admin
157 # $account_expire = "100:delete";
158 # $account_expire = "365:notify";
159
160 ## optional: allowed directories for file linking (see fexsend)
161 # @file_link_dirs = qw(/sw /nfs/home/exampleuser);
162
163 ## optional: allow additional directories with static documents
164 ##           $docdir (/home/fex/htdocs) is always allowed implicitly
165 # @doc_dirs = qw(/sw /nfs/home/exampleuser/htdocs);
166
167 ## optional: text file with your conditions of using
168 ##           will be append to registrations request replies
169 # $usage_conditions = "$docdir/usage_conditions.txt";
170
171 ## optional: redirect URIs
172 ##           URLs with leading ! are active http redirects
173 # %redirect = (
174 #   '/fstools/'   => '!http://fex.belwue.de/fstools/',
175 #   '/usecases/'  => 'http://fex.belwue.de/usecases/',
176 # );