Re: Problem with access_rules

"Steven W. Orr" <[email protected]> Mon, 30 Jun 2008 22:03:50 -0400 (EDT)
Newsgroups gmane.mail.majordomo.majordomo2.devel
Organization SysLang
Message-ID <[email protected]>
On Monday, Jun 30th 2008 at 14:42 -0000, quoth Michael Yount:

=>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

The help section says that both the allow and the default actions are 
terminal, i.e., that all succeeding rules will be ignored. It also says 
that allow should be used with caution for post because of shortcircuiting 
of checks for loops and size.

Is this a bug or am I doing something wrong?


=>
=>> 
=>> 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
=>> 
=>> 
=>

-- 
steveo at syslang dot net TMMP1 http://frambors.syslang.net/
Do you have neighbors who are not frambors? Steven W. Orr