1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
4 <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
5 <TITLE>The DXSpider Installation and Administration Manual: Other filters</TITLE>
6 <LINK HREF="adminmanual-9.html" REL=next>
7 <LINK HREF="adminmanual-7.html" REL=previous>
8 <LINK HREF="adminmanual.html#toc8" REL=contents>
9 <link rel=stylesheet href="style.css" type="text/css" title="default stylesheet">
12 <A HREF="adminmanual-9.html">Next</A>
13 <A HREF="adminmanual-7.html">Previous</A>
14 <A HREF="adminmanual.html#toc8">Contents</A>
16 <H2><A NAME="s8">8. Other filters</A></H2>
18 <H2><A NAME="ss8.1">8.1 Filtering Mail</A>
21 <P>In the /spider/msg directory you will find a file called badmsg.pl.issue. Rename
22 this to badmsg.pl and edit the file. The original looks something like this ....
27 # the list of regexes for messages that we won't store having
28 # received them (bear in mind that we must receive them fully before
32 # The format of each line is as follows
37 # type: P - private, B - bulletin (msg), F - file (ak1a bull)
38 # source: T - to field, F - from field, O - origin, S - subject
39 # pattern: a perl regex on the field requested
41 # Currently only type B and P msgs are affected by this code.
43 # The list is read from the top down, the first pattern that matches
44 # causes the action to be taken.
46 # The pattern can be undef or 0 in which case it will always be selected
47 # for the action specified
65 <P>I think this is fairly self explanatory. It is simply a list of subject
66 headers that we do not want to pass on to either the users of the cluster or
67 the other cluster nodes that we are linked to. This is usually because of
68 rules and regulations pertaining to items for sale etc in a particular country.
70 <H2><A NAME="ss8.2">8.2 Filtering DX callouts (Depricated)</A>
73 <P><B><I>From version 1.47, this method is replaced by the command set/baddx</I></B>
75 <P>In the same way as mail, there are some types of spot we do not wish to pass on
76 to users or linked cluster nodes. In the /spider/data directory you will find
77 a file called baddx.pl.issue. Rename this to baddx.pl and edit the file. The
78 original looks like this ....
83 # the list of dx spot addresses that we don't store and don't pass on
104 <P>Again, this is simply a list of names we do not want to see in the spotted
105 field of a DX callout.
108 <H2><A NAME="ss8.3">8.3 Filtering words from text fields in Announce, Talk and DX spots</A>
111 <P>Create a file in /spider/data called <EM>badwords</EM>. The format is quite
112 simple. Lines beginning with # are ignored so comments can be added. An
113 example file is below ...
117 # Below is a list of words we do not wish to see on the cluster
118 grunge grunged grunging
119 splodge splodger splodging
124 <P>Multiple words can be used on the same line as shown. Obviously these
125 are just examples :-)
127 <P>You can reload the file from the cluster prompt as sysop with load/badwords.
130 <A HREF="adminmanual-9.html">Next</A>
131 <A HREF="adminmanual-7.html">Previous</A>
132 <A HREF="adminmanual.html#toc8">Contents</A>