X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=html%2Fadminmanual-2.html;h=b28822c1fb083c59afb49ff45cf8c04a13c0cef4;hb=0f7fefc971df8d5bbaf852867aa5d965d98582b6;hp=a74ae76f836356c558c4df149889c485d8b4a1cd;hpb=e39b738850b9a122b60b179e9723e546ddacfd62;p=spider.git diff --git a/html/adminmanual-2.html b/html/adminmanual-2.html index a74ae76f..b28822c1 100644 --- a/html/adminmanual-2.html +++ b/html/adminmanual-2.html @@ -2,7 +2,7 @@ - The DXSpider Installation and Administration Manual : Quick installation guide + The DXSpider Administration Manual v1.48: Other filters @@ -13,56 +13,118 @@ Previous Contents
-

2. Quick installation guide

+

2. Other filters

-

This section is designed for experienced Spider sysops who want to install -Spider from scratch. It is simply a check list of things that need to be -done without any explanations. The name in brackets at the end of each line -is the user that should be doing that process. +

2.1 Filtering Mail +

+ +

In the /spider/msg directory you will find a file called badmsg.pl.issue. Rename +this to badmsg.pl and edit the file. The original looks something like this .... +

+

+
+
+# the list of regexes for messages that we won't store having
+# received them (bear in mind that we must receive them fully before
+# we can bin them)
+
+
+# The format of each line is as follows
+
+#     type      source             pattern 
+#     P/B/F     T/F/O/S            regex  
+
+# type: P - private, B - bulletin (msg), F - file (ak1a bull)
+# source: T - to field, F - from field,  O - origin, S - subject 
+# pattern: a perl regex on the field requested
+
+# Currently only type B and P msgs are affected by this code.
+# 
+# The list is read from the top down, the first pattern that matches
+# causes the action to be taken.
+
+# The pattern can be undef or 0 in which case it will always be selected
+# for the action specified
+
+
+
+package DXMsg;
+
+@badmsg = (
+'B',    'T',    'SALE', 
+'B',    'T',    'WANTED',
+'B',    'S',    'WANTED',
+'B',    'S',    'SALE', 
+'B',    'S',    'WTB',
+'B',    'S',    'WTS',
+'B',    'T',    'FS',
+);
+
+

-

-

Spider should now be running and you should be able to login using the -client program. +

I think this is fairly self explanatory. It is simply a list of subject +headers that we do not want to pass on to either the users of the cluster or +the other cluster nodes that we are linked to. This is usually because of +rules and regulations pertaining to items for sale etc in a particular country. +

+

2.2 Filtering DX callouts (Depricated) +

+ +

From version 1.47, this method is replaced by the command set/baddx +

+

In the same way as mail, there are some types of spot we do not wish to pass on +to users or linked cluster nodes. In the /spider/data directory you will find +a file called baddx.pl.issue. Rename this to baddx.pl and edit the file. The +original looks like this .... +

+

+
+
+# the list of dx spot addresses that we don't store and don't pass on
+
+
+package DXProt;
+
+@baddx = qw 
+
+ FROG 
+ SALE
+ FORSALE
+ WANTED
+ P1RATE
+ PIRATE
+ TEST
+ DXTEST
+ NIL
+ NOCALL 
+);
+
+
+

+

Again, this is simply a list of names we do not want to see in the spotted +field of a DX callout. +

+

+

2.3 Filtering words from text fields in Announce, Talk and DX spots +

+ +

Create a file in /spider/data called badwords. The format is quite +simple. Lines beginning with # are ignored so comments can be added. An +example file is below ...

-

-

Spider should now be able to accept logins via telnet, netrom and ax25. +

+
+# Below is a list of words we do not wish to see on the cluster
+grunge grunged grunging
+splodge splodger splodging
+grince
+fluffle
+
+
+

Multiple words can be used on the same line as shown. Obviously these +are just examples :-)

-

+

You can reload the file from the cluster prompt as sysop with load/badwords.


Next