| 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 = ''; |
| 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 |
## send reminder notification email before file expires |
| 35 |
$reminder = 'YES'; |
| 36 |
|
| 37 |
## optional: your mail domain |
| 38 |
## if set it will be used as domain for every user without domain |
| 39 |
## local_user ==> local_user@$mdomain |
| 40 |
## if not set, addresses without domain produce an error |
| 41 |
# $mdomain = 'MY.MAIL.DOMAIN'; |
| 42 |
# $admin = 'fexmaster@'.$mdomain; |
| 43 |
|
| 44 |
## optional HTML header extra link and logo |
| 45 |
# @H1_extra = qw(http://www.MY.ORG http://www.MY.ORG/logo.gif); |
| 46 |
|
| 47 |
## disclaimer to be appended to every notification email |
| 48 |
# $disclaimer = 'powered by camelcraft!'; |
| 49 |
|
| 50 |
## optional: suppress funny messages |
| 51 |
# $boring = 1; |
| 52 |
|
| 53 |
## optional: suppress warning messages about incompatible web browsers |
| 54 |
# $nowarning = 'NO'; |
| 55 |
|
| 56 |
# locales to present (must be installed!) |
| 57 |
# if empty, present all installed locales |
| 58 |
# @locales = qw(english swabian); |
| 59 |
|
| 60 |
## default locale: which languange is used in first place |
| 61 |
# $default_locale = 'swabian'; |
| 62 |
|
| 63 |
## where to store the files and logs, must be writable for user fex! |
| 64 |
# $spooldir = "$ENV{HOME}/spool"; |
| 65 |
# $logdir = $spooldir; |
| 66 |
|
| 67 |
## default quota in MB for recipient; 0 means "no quota" |
| 68 |
$recipient_quota = 0; |
| 69 |
|
| 70 |
## default quota in MB for sender; 0 means "no quota" |
| 71 |
$sender_quota = 0; |
| 72 |
|
| 73 |
## expiration: keep files that number of days (default) |
| 74 |
$keep_default = 5; |
| 75 |
|
| 76 |
## expiration: keep files that number of days (maximum) |
| 77 |
$keep_max = 99; |
| 78 |
|
| 79 |
## autodelete: delete files after download (automatically) |
| 80 |
## YES ==> immediatelly (1 minute grace time) |
| 81 |
## DELAY ==> after download at next fex_cleanup cronjob run |
| 82 |
## 2 ==> 2 days after download (can be any number!) |
| 83 |
## NO ==> keep until expiration date (see $keep) |
| 84 |
$autodelete = 'YES'; |
| 85 |
|
| 86 |
## purge: remove file meta-information after $purge days of file deletion |
| 87 |
$purge = 3*$keep_default; |
| 88 |
|
| 89 |
## if the file has been already downloaded then subsequentials |
| 90 |
## downloads are only allowed from the same client (uses cookies) |
| 91 |
## to prevent unwanted file sharing |
| 92 |
$limited_download = 'YES'; |
| 93 |
|
| 94 |
## allow RECIPIENT = SENDER |
| 95 |
## in this case subsequentials downloads from any ip are possible until |
| 96 |
## regular file expiration (KEEP); exception for $limited_download |
| 97 |
$fex_yourself = 'YES'; |
| 98 |
|
| 99 |
## allow overwriting of files |
| 100 |
$overwrite = 'YES'; |
| 101 |
|
| 102 |
## optional: allow sharing of versioned archives (without autodelete and expire) |
| 103 |
# $archive_sharing = 'NO'; |
| 104 |
## logging for archive sharing |
| 105 |
# $share_logging = 'YES'; |
| 106 |
|
| 107 |
## optional: allow document publishing (without autodelete and expire) |
| 108 |
## $document_exchange = 'NO'; |
| 109 |
|
| 110 |
## allow user requests for forgotten auth-IDs (then send by email) |
| 111 |
$mail_authid = 'YES'; |
| 112 |
|
| 113 |
## check if e-mail addresses are deliverable |
| 114 |
$checkaddress = 'YES'; |
| 115 |
|
| 116 |
## optional: number of consecutive fail logins after client IP will be blocked |
| 117 |
## Fail logins will be recorded in $spooldir/.fail/ |
| 118 |
# $max_fail = 10 |
| 119 |
|
| 120 |
## optional: from which hosts and for which mail domains users may |
| 121 |
## register themselves as full users (must set both!) |
| 122 |
# @local_hosts = qw(127.0.0.1 ::1 10.10.100.0-10.10.200.255 129.69.1.129); |
| 123 |
# @local_domains = qw(uni-stuttgart.de flupp.org); |
| 124 |
# @local_domains = qw(uni-stuttgart.de *.uni-stuttgart.de); |
| 125 |
|
| 126 |
## optional: external users may register themselves as restricted users |
| 127 |
## for local receiving domains and hosts (must set both!) |
| 128 |
# @local_rdomains = qw(flupp.org *.flupp.org); |
| 129 |
# @local_rhosts = qw(10.0.0.0-10.0.255.255 129.69.1.129); |
| 130 |
## optional: allow restricted user registration only by certain domains |
| 131 |
# @registration_domains = qw(belwue.de ietf.org); |
| 132 |
## optional: allow restricted user registration only by certain hosts |
| 133 |
# @registration_hosts = qw(129.69.0.0-129.69.255.255 176.9.84.26); |
| 134 |
|
| 135 |
## optional: allow public upload via http://$hostname/pup?to=$recipient |
| 136 |
# @public_recipients = qw([email protected]); |
| 137 |
## show or hide all public recipient adresses via http://$hostname/pup |
| 138 |
# $hide_public_recipients = 'no'; |
| 139 |
|
| 140 |
## optional: allow anonymous usage without authentication for these IP ranges |
| 141 |
# @anonymous_upload = qw(127.0.0.1 ::1 10.10.100.0-10.10.200.255 129.69.1.129); |
| 142 |
|
| 143 |
## optional: mailing list addresses (allows multiple downloads) |
| 144 |
# @mailing_lists = qw([email protected] *@listserv*); |
| 145 |
|
| 146 |
# forbidden recipients (reject notification emails, etc) |
| 147 |
@forbidden_recipients = qw(*@freenet.de); |
| 148 |
|
| 149 |
## optional: forbidden ip addresses for CGIs |
| 150 |
# @forbidden_hosts = qw(64.124.0.0-64.125.255.255); |
| 151 |
|
| 152 |
# forbidden user agents (sucking "download manager", etc) |
| 153 |
@forbidden_user_agents = qw( |
| 154 |
FDM |
| 155 |
Download.Master |
| 156 |
Java/[\d\.]+ |
| 157 |
); |
| 158 |
|
| 159 |
## optional: restrict upload to these IP ranges |
| 160 |
# @upload_hosts = qw(127.0.0.1 ::1 10.10.100.0-10.10.200.255 129.69.1.129); |
| 161 |
|
| 162 |
## optional: restrict download to these address ranges |
| 163 |
# @download_hosts = qw(127.0.0.1 10.10.100.0-10.10.200.255 129.69.1.129); |
| 164 |
|
| 165 |
## optional: restrict access to these IP domains |
| 166 |
# @allowed_domains = qw'*'; # ALL domains, but client must have DNS entry! |
| 167 |
# @allowed_domains = qw'uni-stuttgart.de flupp.org'; |
| 168 |
|
| 169 |
## optional: throttle bandwith for certain addresses (in kB/s) |
| 170 |
## 0 means : full speed |
| 171 |
## first match wins |
| 172 |
# @throttle = qw( |
| 173 |
# framstag@*:0 microsoft.com:100 |
| 174 |
# 127.0.0.1:0 202.0.0.0-211.255.255.255:1024 |
| 175 |
# [::1]:0 [fe00::0-fe00::ffff]:0 |
| 176 |
# ); |
| 177 |
|
| 178 |
## optional: expire user accounts after x days of inactivity |
| 179 |
## delete=wipe out, notify=send mail to fex admin |
| 180 |
# $account_expire = "100:delete"; |
| 181 |
# $account_expire = "365:notify"; |
| 182 |
|
| 183 |
## optional: allowed directories for file linking (see fexsend) |
| 184 |
# @file_link_dirs = qw(/sw /nfs/home/exampleuser); |
| 185 |
|
| 186 |
## optional: allow additional directories with static documents |
| 187 |
## $docdir (/home/fex/htdocs) is always allowed implicitly |
| 188 |
# @doc_dirs = qw(/sw /nfs/home/exampleuser/htdocs); |
| 189 |
|
| 190 |
## optional: text file with your conditions of using |
| 191 |
## will be append to registrations request replies |
| 192 |
# $usage_conditions = "$docdir/usage_conditions.txt"; |
| 193 |
|
| 194 |
## optional: redirect URIs |
| 195 |
## URLs with leading ! are active http redirects |
| 196 |
# %redirect = ( |
| 197 |
# '/fstools/' => '!http://fex.belwue.de/fstools/', |
| 198 |
# '/usecases/' => 'http://fex.belwue.de/usecases/', |
| 199 |
# ); |