Date: Sat, 14 Jan 2012 06:25:29 +0100 From: Tobi <tp@facility5.org> To: freebsd-questions@freebsd.org Subject: Re: FreeBSD Mailling list and Slieve filter Message-ID: <4F1111C9.2040908@facility5.org> In-Reply-To: <4F111069.5000606@herveybayaustralia.com.au> References: <4F10F880.4000001@facility5.org> <4F11015F.6030104@herveybayaustralia.com.au> <alpine.BSF.2.00.1201132213120.72279@wonkity.com> <4F111069.5000606@herveybayaustralia.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 14.01.2012 06:19, schrieb Da Rock: > On 01/14/12 15:13, Warren Block wrote: >> On Sat, 14 Jan 2012, Da Rock wrote: >> >>> On 01/14/12 13:37, Tobi wrote: >>>> Hi, >>>> I try to filter my maillist emails with slieve... but it dosen't >>>> work ;( >>>> >>>> here are my config: >>>> >>>> require "fileinto"; >>>> >>>> if address :is ["from", "to"] "owner-freebsd-bugs@freebsd.org" { >>>> fileinto "INBOX/Mailinglisten/FreeBSD/freebsd-bugs"; >>>> } >>>> >>>> elsif address :is ["from", "to"] >>>> "owner-freebsd-questions@freebsd.org" { >>>> fileinto "INBOX/Mailinglisten/FreeBSD/freebsd-questions"; >>>> } >>>> >>>> else { >>>> keep; >>>> } >>> You probably want to change the "owner" to just the list in question. >> >> Or use the List-ID header. > Ahh yes! That was the one I used to use... :) > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Thanks!!! It works fine with this: if header :contains ["List-ID"] "freebsd-questions@freebsd.org" { fileinto "INBOX.Mailinglisten.FreeBSD.freebsd-questions"; stop; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F1111C9.2040908>