chiark / gitweb /
Add webstump.cfg
[modbot-mtm.git] / webstump / config / webstump.cfg.INO
1 #
2 # This file contains the complete configuration for WebSTUMP 2.0.
3 #
4 # You have to define these variables:
5 #
6 # $supporter: email address of the person who supports this installation
7 #
8 # $base_address: base URL for webstump
9 #
10
11 ###################################################################### WebSTUMP
12 # set it to your email address. Do NOT leave my address here!!!
13 $supporter = "%OURUSER%\@%DOMAIN%";
14
15 # set it to the URL for "wrapper" program. Usually should be something
16 # like http://www.provider.net/~username/cgi-bin/webstump-wrapper
17 # where webstump-wrapper is a symlink from your cgi-bin directory 
18 # to the wrapper executable.
19 $base_address = "%CGIBASEURL%/g.%ABBREV%/webstump";
20
21 # Should we use MIME extensions? Note that if you keep "yes" here, you
22 # have to install several Perl modules:
23 #
24 # MIME::Tools
25 # Convert::UU
26 #
27 # as well as everything that they in turn require.
28
29 $use_mime = "no"; # unless you plan to moderate picture newsgroups,
30                   # set it to "no". Set it to "yes" (lowercase)
31                   # if you actually want to use MIME and show pictures
32                   # as pictures.
33
34
35 # Now THIS is the BASE address for WebSTUMP. It should point to 
36 # the directory called "webstump". It is used to acxcess images
37 # under "queues" directory.
38
39 $base_address_for_files = "%STATICFILESURL%/g.%ABBREV%";
40
41 # one of the possible locations for sendmail
42 @sendmail = ("/usr/lib/sendmail", "/usr/bin/sendmail", "/usr/sbin/sendmail" );
43
44 ############################################################ GateKeeper
45
46 # posting gateway -- address for STUMP mail2news gateway.
47 # uncomment this line if you do not have a local spool dir (see next entry)
48 # $posting_gateway = "ichudov@stump.algebra.com";
49
50 # directory for spooling approved article. Comment thisline out if
51 # you do not have a program that regularly picks up files from there.
52 $posting_spool_dir = "%BASEDIR%/stump-post/spool";
53
54 ##################################### do not modify anything below this line
55
56 $mod_log_access= '%MODLOGDOWNLOAD%' eq 'true' ? '2 download' :
57                  '%MODLOGSEARCH%'   eq 'true' ? '1 search' :
58                                                  0;
59
60 $STUMP_URL="http://www.algebra.com/~ichudov/stump";
61
62 $queues_dir = "$webstump_home/queues";
63 $request_method="post";
64
65 die "Directory $queues_dir does not exist! Check out 
66 $webstump_home/config/webstump.cfg, 
67 and define variable \$secret_queues_name
68 properly. "
69         if( ! -d $queues_dir );
70
71
72 1;