At 08:08 PM 3/17/01 +0800, you wrote:

>site me
>         groups *
         reject groups "apana" path "uni-berlin.de"
         reject groups "apana" path "wa.nnrp.telstra.net"

>Or do I need to go about this another way? As the entries suggest, I want 
>to block the acceptance of any APANA groups that contain the above path lines.

You cannot put multiple rules on a single line, so no that wont work.  You
would have to use a rule file, e.g.

site me
         groups *
         rules d:\dnews\me.rul

In d:\dnews\me.rul

if (isin("newsgroups","apana")) then
   if (isin("path","uni-berlin.de")) reject "Not from uni-berlin thanks"
   if (isin("path","wa.nnrp.telstra.net")) reject "Not from 
wa.nnrp.telstra.net thanks"
end if
accept "Good message"


See http://netwinsite.com/dnews/rules.htm

                 chrisP.



Reply via email to