X-Original-To: pgsql-www-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 5B28311F7209 for ; Tue, 4 Apr 2006 16:20:07 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 99207-08 for ; Tue, 4 Apr 2006 16:20:05 -0300 (ADT) Received: from hub.org (hub.org [200.46.204.220]) by postgresql.org (Postfix) with ESMTP id D84C311F7081 for ; Tue, 4 Apr 2006 16:20:04 -0300 (ADT) Received: from localhost (av.hub.org [200.46.204.144]) by hub.org (Postfix) with ESMTP id EAE28824504 for ; Tue, 4 Apr 2006 16:19:56 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 23189-03; Tue, 4 Apr 2006 16:20:03 -0300 (ADT) Received: from ganymede.hub.org (blk-222-82-85.eastlink.ca [24.222.82.85]) by hub.org (Postfix) with ESMTP id 5DAB7823BB2; Tue, 4 Apr 2006 16:19:54 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id 3FF533B357; Tue, 4 Apr 2006 16:20:03 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 31E9A3B268; Tue, 4 Apr 2006 16:20:03 -0300 (ADT) Date: Tue, 4 Apr 2006 16:20:03 -0300 (ADT) From: "Marc G. Fournier" X-X-Sender: scrappy@ganymede.hub.org To: Josh Berkus cc: pgsql-www@postgresql.org Subject: Re: Two issues involving unsubscribe In-Reply-To: <200604041142.38176.josh@agliodbs.com> Message-ID: <20060404161816.E947@ganymede.hub.org> References: <200604041142.38176.josh@agliodbs.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at hub.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.603 required=5 tests=[AWL=0.124, DNS_FROM_RFC_ABUSE=0.479] X-Spam-Score: 0.603 X-Spam-Level: X-Archive-Number: 200604/2 X-Sequence-Number: 9778 On Tue, 4 Apr 2006, Josh Berkus wrote: > Marc, all: > > First off, I'd love to see some unsubscribe links available at > www.postgresq.org/community/lists. Currently you have to drill down via > the archives to get to the unsub links; this confuses a lot of users ( I > know I didn't find it on the first try) and as a result I end up fielding > about a dozen "how do I unsubscribe" questions a week. > > Second, (this is for Marc) I'd like to know what's possible in the way of > banning certain addresses from subscribing, either to specific lists or to > all lists. What I want to ban is: > 1) anyone from uol.com.br or other domains which use email-back security; > 2) certain people who cronically put on vacation notices without suspending > their subscriptions; > 3) users like the one today who sent me a profanity-filled request to > unsubscribe. > > It seems like majordomo has tools to do some of the above, but they seem to > be per-list only, and to require some knowledge of the filter syntax. > Marc? Hell no, and fairly easy ... we have a slew of them right now ... for more details, look at the access_rules documentation, but here is what is in place right now across all lists ... I even have one in place for the @uol.com.br like you requested ages back ... if its not working, though, I'll look into the 'why', as its possible I have ordering wrong: configset DEFAULT access_rules < 6 post consult, reply=NONE $taboo_spamassassin post deny, reply=NONE $taboo_virus_subject post deny, reply=NONE $taboo_subject post deny, reason="Not a valid mailing list" $taboo_to_header post deny, reply=NONE $addrcomment =~ /Mail Delivery System/i || $addrcomment =~ /Mail Delivery Subsystem/i || $addrcomment =~ /virus/i post deny, reply=NONE $addrcomment =~ /Policy Filter/i || $addrcomment =~ /Forum Access/i || $addrcomment =~ /DrWeb-DAEMON/i || $addrcomment =~ /Content Filter/i post deny, reply=NONE /mailer-daemon/i OR /virus/i OR /listserv/i OR /postmaster/i OR /mdaemon/i post deny, reply=NONE $host =~ /^svr1.postgresql\.org$/ AND NOT @ post deny, reply=NONE $host =~ /^forum\.postgresql\.org$/ AND NOT @ post deny, reply=NONE $dup post unset=dup_checksum, unset=dup_partial_checksum ALL subscribe deny /@uol.com.br/ ENDAAB ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664