FreeBSD Mailling list and Slieve filter

Tobi tp at facility5.org
Sat Jan 14 05:25:28 UTC 2012


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 at freebsd.org" {
>>>>      fileinto "INBOX/Mailinglisten/FreeBSD/freebsd-bugs";
>>>> }
>>>>
>>>> elsif address :is ["from", "to"]
>>>> "owner-freebsd-questions at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"

Thanks!!!
It works fine with this:

if header :contains ["List-ID"] "freebsd-questions at freebsd.org" {
    fileinto "INBOX.Mailinglisten.FreeBSD.freebsd-questions";
    stop;
}



More information about the freebsd-questions mailing list