X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=msg%2Fbadmsg.pl.issue;h=2e127c8c05f7ffebfbdf29dc5455a34bcd67a2fa;hb=48d614dae214326305879ac572d8c5f0a6150f99;hp=7a1b3fea0a3f711781e3ec282159fadfb0ef5216;hpb=093ac03207bd4468fa89dc7438936b245a92cbe5;p=spider.git diff --git a/msg/badmsg.pl.issue b/msg/badmsg.pl.issue index 7a1b3fea..2e127c8c 100644 --- a/msg/badmsg.pl.issue +++ b/msg/badmsg.pl.issue @@ -1,14 +1,36 @@ # -# the list of TO addresses for messages that we won't store having +# 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/I regex +# +# type: P - private, B - bulletin (msg), F - file (ak1a bull) +# source: T - to field, F - from field, O - origin, S - subject, I - interface call +# 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 = qw -( - SALE - FORSALE - WANTED -); +@badmsg = ( +'B', 'T', 'SALE', +'B', 'T', 'WANTED', +'B', 'S', 'WANTED', +'B', 'S', 'SALE', +'B', 'S', 'WTB', +'B', 'S', 'WTS', +); +