From owner-freebsd-chat@FreeBSD.ORG Thu Feb 16 18:45:43 2006 Return-Path: X-Original-To: freebsd-chat@freebsd.org Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3AF816A420 for ; Thu, 16 Feb 2006 18:45:43 +0000 (GMT) (envelope-from gldisater@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E30A43D60 for ; Thu, 16 Feb 2006 18:45:39 +0000 (GMT) (envelope-from gldisater@gmail.com) Received: by wproxy.gmail.com with SMTP id i28so221423wra for ; Thu, 16 Feb 2006 10:45:38 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pAedsZ2LktQrIkwG8aL3/Wz9wTGsyjwX7iksRsA9hx9qHu/7TgBrGWuxQze9f5/C9I4Nk/mQeb0svjdBqfZyh/Ge7XiJX7okzvMFXkE6uZ0j93JlXYOoHVbv1B1V/CkDG/naD3DZJdkUbtH1WLLytMVGnOTuLmPUKdOz5dUTEQ0= Received: by 10.65.97.2 with SMTP id z2mr55957qbl; Thu, 16 Feb 2006 10:45:38 -0800 (PST) Received: by 10.65.93.2 with HTTP; Thu, 16 Feb 2006 10:45:38 -0800 (PST) Message-ID: Date: Thu, 16 Feb 2006 13:45:38 -0500 From: Jeremy Faulkner To: freebsd-chat@freebsd.org In-Reply-To: <20060215172956.GA23848@flame.pc> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <5ceb5d550602150520t6f73d714wb9cbf2de85d56449@mail.gmail.com> <20060215172956.GA23848@flame.pc> Cc: "Daniel A." Subject: Re: How to filter the emails from this list X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Feb 2006 18:45:43 -0000 Lots of procmail recipes, unfortunately the OP is looking for help with his gmail filters. I use the "Has the words" field with text like "freebsd-questions.freebsd.org" trying to match the List-Id contents. Unfortunately this does not yeild ideal results for me as the '-' and '.' are not taken literally and the search matches a lot of items within the message. This results in a lot of cross-mailing list Labels. I really hope Google improves their filtering system. I miss procmail. On 2/15/06, Giorgos Keramidas wrote: > On 2006-02-15 14:20, "Daniel A." wrote: > > Every once in a while, some guy sends an email to the > > FreeBSD-questions mailing list using BCC, which makes the email pass > > my filters, and head straight to my inbox. > > I have set up a filter which checks the email address(es) the email was= sent to. > > So far, it looks like this: > > ____ > > Matches: to:(freebsd-questions@freebsd.org OR questions@freebsd.org OR > > freebsd-questions@www.freebsd.org) > > Do this: Skip Inbox, Apply label "FreeBSD-Questions" > > ____ > > Yes, FYI, some people actually write "freebsd-questions@www.freebsd.org= " > > > > But how do I make sure that _every_ email to the gets filtered? > > Use a better match rule. You are filtering on the wrong criteria, > namely the "to" headers. Using the standard "Sender:" header that the > mailing list software adds, you can write something similar to the > following procmail filter: > > :0 H > * ^Sender: owner[^@]*@freebsd.org > { > :0 H > * ^Sender: owner-doc-committers@freebsd.org > freebsd.cvs.doc/ > > + :0 H > + * ^Sender: owner-cvs-\/[^@]* > + freebsd.cvs.$MATCH/ > > :0 H > * ^Sender: owner-freebsd-\/[^@]* > freebsd.$MATCH/ > > :0 H > freebsd.misc/ > } > > The most important lines are marked with '+'. These match any message > sent by the mailing list software of FreeBSD.org, regardless of what the > user has put in their recipient list. > > > I've noticed that all emails sent to the FreeBSD mailing lists get > > suffixed with some text. Can I trust that this text wont change every > > few weeks or so? > > No. But you can trust the "Sender:" header. > > _______________________________________________ > freebsd-chat@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-chat > To unsubscribe, send any mail to "freebsd-chat-unsubscribe@freebsd.org" > -- Jeremy Faulkner