Re: Problem with access_rules

Michael Yount <[email protected]> Mon, 30 Jun 2008 11:42:59 -0700
Newsgroups gmane.mail.majordomo.majordomo2.devel
Message-ID <[email protected]>
Steven W. Orr wrote:
> I created a new sublist called goodguys and I added myself to the 
> list. My access_rules are below. I added the third rule but when I 
> posted a message to two lists, the admin_bothlist triggered. I was 
> expecting that "the post; default; @goodguys" would have just sent it 
> through. Can someone tell me what I'm doing wrong?
You're probably mistaking the "default" action for the "allow" action.

Michael

>
> Also, the consult that came back says:
>
> TABOO HEADER: /^Subject: .*Administrivia.*/i matched "Subject:
> Administrivia: Vacation shutoff, Growth"
> ADMIN BOTHLIST: /^(To|Cc):\s.*framcom@syslang\.net.*/i matched "To:
> Framingham Neighbors <[email protected]>, Framingham Community
> <[email protected]>"
> TABOO BODY: /\bframcom\b/i matched "Framcom" at line number 13.
> TABOO BODY: /\bframcom\b/i matched "framcom" at line number 23.
> TABOO BODY: /\bframcom\b/i matched "framcom" at line number 30.
>
> You can see the ADMIN BOTHLIST as the 2nd complaint. Also, is there a 
> way for the goodguys rule to cause TABOO HEADER and TABOO BODY to be 
> ignored?
>
> (Am I being clear?)
>
> Thanks.
>
> configset frambors access_rules <<ENDAAB
>
> post
> unset=dup_checksum, unset=dup_partial_checksum
> ALL
>
> post
> deny, replyfile=UnsubFoundInText
> $admin_unsub >= 50
>
> post
> default
> @goodguys
>
> post
> deny, replyfile=MultiTo
> $admin_bothlist >= 2
>
> post
> deny, replyfile=MultiTo2
> $admin_bothlist2 >= 2
>
> post
> deny, replyfile=MultiTo3
> $admin_bothlist3 >= 2
>
> post
> deny, replyfile=BccNotAllowed
> $blind_copy != 0
>
> post
> deny, replyfile=NoSubject
> $admin_nosub >= 2
>
> post
> consult, reason="User has exceeded the max number of posts within 24hr 
> period"
> $posts_last_24hours >= 3
>
> post
> consult, reason="Address was not found in the subscriber list"
> !@MAIN
>
> post
> consult, reason="Address is in the supervised list."
> @badguys
>
> ENDAAB
>
>