From owner-freebsd-questions@FreeBSD.ORG Sat Jan 14 15:17:46 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1595B1065673 for ; Sat, 14 Jan 2012 15:17:46 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id B2A778FC1E for ; Sat, 14 Jan 2012 15:17:45 +0000 (UTC) Received: by ggki1 with SMTP id i1so2731010ggk.13 for ; Sat, 14 Jan 2012 07:17:45 -0800 (PST) Received: by 10.236.91.84 with SMTP id g60mr8217850yhf.90.1326554263717; Sat, 14 Jan 2012 07:17:43 -0800 (PST) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPS id e66sm20512024yhk.6.2012.01.14.07.17.42 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 14 Jan 2012 07:17:42 -0800 (PST) Received: from scorpio (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3TQPZs0yxgz2CG4h for ; Sat, 14 Jan 2012 10:17:41 -0500 (EST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.97.3 at scorpio.seibercom.net Date: Sat, 14 Jan 2012 10:17:40 -0500 From: Jerry To: FreeBSD Message-ID: <20120114101740.43a449b2@scorpio> In-Reply-To: <20120114130851.0d8802ce@gumby.homeunix.com> References: <4F10F880.4000001@facility5.org> <4F11015F.6030104@herveybayaustralia.com.au> <4F111069.5000606@herveybayaustralia.com.au> <4F1111C9.2040908@facility5.org> <4F1144B5.7000004@infracaninophile.co.uk> <4F114E64.1040204@herveybayaustralia.com.au> <20120114130851.0d8802ce@gumby.homeunix.com> Organization: seibercom.net X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: FreeBSD Mailling list and Slieve filter X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jan 2012 15:17:46 -0000 On Sat, 14 Jan 2012 13:08:51 +0000 RW articulated: > On Sat, 14 Jan 2012 19:44:04 +1000 > Da Rock wrote: > > > On 01/14/12 19:02, Matthew Seaman wrote: > > > On 14/01/2012 05:25, Tobi wrote: > > >> Thanks!!! > > >> It works fine with this: > > >> > > >> if header :contains ["List-ID"] "freebsd-questions@freebsd.org" { > > >> fileinto "INBOX.Mailinglisten.FreeBSD.freebsd-questions"; > > >> stop; > > >> } > > > You'll find that whenever someone replies to one of your messages > > > on the list you'll often tend to get the response directly rather > > > than via the mailing list, so it won't be filed by this rule. > > Actually, my experience shows that it will still *usually* result in > > a success- the various headers generally remain intact with replies, > > but it is one of the other header fields that changes. The above > > will work 98% of the time. > > The problem occurs when you don't get the in-list copy, either because > the list doesn't send copies to addresses in Cc/To, or because some > mail systems (gmail) treat the delayed in-list copy as a duplicate. In > this case you can't use list-id reliably. > > I think it's unusual for lists to suppress in-list copies, except as > an option, so this is mostly a gmail problem. I had to rewrite my > sieve rules when I switched to gmail, before that list-id worked just > fine. I have yet to experience a problem using the List-ID with sieve whether the document was relayed via Google (GMail) or otherwise. Yes, you don't get a copy of the message that you sent to the list, but that is because Google (GMail) sucks. I have never experienced any other failure problem using List-ID. Now, if you are specifically attempting to receive mail from a list that has been specifically CC'd or BCC'd to you, than that is another matter entirely. It just requires you to more carefully construct your sieve rules. I use a slightly differently constructed rule then the one shown above although functionally equivalent: if anyof (header :contains "List-Id" "freebsd-questions.freebsd.org") {fileinto "FreeBSD"; stop;} I have a rule prior to this one that basically files any document CC'd to me into a special folder which, if I ever get ambitious, I occasionally peruse. -- Jerry ♔ Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________