Date: Sat, 14 Jan 2012 10:17:40 -0500 From: Jerry <jerry@seibercom.net> To: FreeBSD <freebsd-questions@freebsd.org> Subject: Re: FreeBSD Mailling list and Slieve filter Message-ID: <20120114101740.43a449b2@scorpio> In-Reply-To: <20120114130851.0d8802ce@gumby.homeunix.com> References: <4F10F880.4000001@facility5.org> <4F11015F.6030104@herveybayaustralia.com.au> <alpine.BSF.2.00.1201132213120.72279@wonkity.com> <4F111069.5000606@herveybayaustralia.com.au> <4F1111C9.2040908@facility5.org> <4F1144B5.7000004@infracaninophile.co.uk> <4F114E64.1040204@herveybayaustralia.com.au> <20120114130851.0d8802ce@gumby.homeunix.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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. __________________________________________________________________
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120114101740.43a449b2>