Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 870CF9FA649; Sat, 21 Apr 2007 22:12:39 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 91154-02; Sat, 21 Apr 2007 22:12:36 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from lists.commandprompt.com (host-254.commandprompt.net [207.173.203.254]) by postgresql.org (Postfix) with ESMTP id 1AB339FA240; Sat, 21 Apr 2007 22:12:35 -0300 (ADT) Received: from perhan.alvh.no-ip.org (201-221-221-161.bk12-dsl.surnet.cl [201.221.221.161]) (authenticated bits=0) by lists.commandprompt.com (8.13.7/8.13.6) with ESMTP id l3M1Cctc012378; Sat, 21 Apr 2007 18:12:39 -0700 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 58BF332A0C; Sat, 21 Apr 2007 21:12:27 -0400 (CLT) Date: Sat, 21 Apr 2007 21:12:27 -0400 From: Alvaro Herrera To: "Marc G. Fournier" Cc: Dave Page , pgsql-www@postgresql.org Subject: Re: [Fwd: 58A0-9E5C-CE89 : CONSULT from pgsql-slavestothewww (post)] Message-ID: <20070422011227.GD13641@alvh.no-ip.org> References: <462A3E92.8010702@postgresql.org> <2882F932502695CD7F979A0B@ganymede.hub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2882F932502695CD7F979A0B@ganymede.hub.org> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: ClamAV version 0.88.5, clamav-milter version 0.88.5 on projects.commandprompt.com X-Virus-Status: Clean X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (lists.commandprompt.com [192.168.2.159]); Sat, 21 Apr 2007 18:12:39 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200704/146 X-Sequence-Number: 11896 Marc G. Fournier wrote: > 'k, this is a GLOBAL setting, not a local to the list one ... I can remove the > approve rule, but here is the complete list of them ... I've never modified > these before, either adding or removing, these are teh default ones that get > installed ... as you will note with most of htem, they are anchored to the > right side, so it isn't just *any* approve: In my opinion they are too ambiguous to be used as expressions for rejecting a mail to the list. Maybe mj2 was recently upgraded to a new version that contained an "improved" list of regexes to disallow? > /\bsubscribe\b/i So anyone who sends a mail with the word "subscribe" in it will have it rejected? That seems rather unexpected. Note that it isn't anchored, except by blanks so it seems just using the word in a sentence causes it to fire, unless I'm missing something. > /^\s*approve\b/i > /^\s*passwd\b/i > /^\s*newinfo\b/i > /^\s*config\b/i > /^\s*newconfig\b/i > /^\s*writeconfig\b/i > /^\s*mkdigest\b/i I think these should make an effort to find the arguments just beyond the command and the end of line. Really they should not be there at all. What purpose do they serve, beyond protecting lame list admins who manage to send commands to the list itself instead of the request address? -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.