<LI> Reject message if the author is listed in <A
HREF=##bad.posters.list>the List of Banned Posters.</A>.
+ <LI> File message for human review if the author is listed in <A
+ HREF=##watch.posters.list>the List of Untrusted Posters</A>.
+
<LI> File message for human review if the article contains words from <A
HREF=##watch.words.list>the List of Suspicious Words</A>.
$ignore_demo_mode = 1;
+ if( $match = &name_is_in_list( $from, "watch.posters.list" ) ) {
+ &append_to_file( $warning_file, "Warning: poster '$from' matches '$match' from the list of suspicious posters\n" );
+print STDERR "Filing Article for review because poster '$from' matches '$match'\n";
+ return; # file message
+ }
+
if( $match = &name_is_in_list( $message, "watch.words.list" ) ) {
&append_to_file( $warning_file, "Warning: article matches '$match' from the list of suspicious words\n" );
print STDERR "Filing Article for review because article matches '$match'\n";
Configuration List: <SELECT NAME=list_to_edit>
<OPTION VALUE=good.posters.list>Good Posters List
+ <OPTION VALUE=watch.posters.list>Suspicious Posters List
<OPTION VALUE=bad.posters.list>Banned Posters List
<OPTION VALUE=watch.words.list>Suspicious Words List
&user_error( "invalid list name $list_to_edit" )
if( $list_to_edit ne "good.posters.list"
+ && $list_to_edit ne "watch.posters.list"
&& $list_to_edit ne "bad.posters.list"
&& $list_to_edit ne "watch.words.list" );