cyrus sieve bug?
From: FEHER Janos (aries_at_mindworks.hu)
Date: 04/16/04
- Previous message: Listar: "Listar command results: -- Binary/unsupported file stripped by Listar --"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 16 Apr 2004 11:12:21 +0200 To: freebsd-isp@freebsd.org
Hello,
I've got a problem under 4.9-RELEASE-p1 and cyrus-imapd-2.1.15_2.
I'm using the following sieve script to filter the mails, but some of the rules
are not working. I've tried to ask other mailing lists, irc, etc. but I've got no
answers. The sieve tester page (http://sastools.com/SieveTest/sievetest.php)
The script:
require "fileinto";
if header :is "X-Spam-Flag" ["YES"] { fileinto "INBOX.SPAM"; stop;}
if header :contains ["X-BeenThere"] ["vlug@"] { fileinto "INBOX.VLUG"; stop;}
if header :contains "Reply-To" "metalhu@" { fileinto "INBOX.METALHU"; stop;}
if header :contains "From" "ajanlatot.kapok.hu" { fileinto "INBOX.AJANLATOTKAPOK"; stop;}
if address :contains :all ["to"] "scene@" { fileinto "INBOX.SCENE"; stop;}
if header :contains "X-BeenThere" "informatika-l@" { fileinto "INBOX.INFORMATIKA-L"; stop;}
if header :contains "Sender" "psion-admin.mxdn.dunanet.hu" { fileinto "INBOX.PSION"; stop;}
if header :contains "X-BeenThere" "egyesulet@bsd.hu" { fileinto "INBOX.BSD-EGYESULET"; stop;}
if address :contains :all ["from"] "info@apronet.com" { fileinto "INBOX.APRONET"; stop;}
if address :contains :all ["from"] "ajanlatot.kapok.hu" { fileinto "INBOX.AJANLATOTKAPOK"; stop;}
if address :contains :all ["subject"] "[BSD]" { fileinto "INBOX.BSD-HU"; stop;}
if header :contains "X-BeenThere" ["security-l"] { fileinto "INBOX.SECURITY"; stop;}
if header :contains "X-BeenThere" "wl-levlista" { fileinto "INBOX.WL-LEVLISTA"; stop;}
if header :contains ["Return-Path"] ["wl-phplista-bounces@weblabor.hu"] { fileinto "INBOX.WL-PHPLEVLISTA"; stop;}
if header :contains "List-ID" "freebsd-announce.FreeBSD.ORG" { fileinto "INBOX.FREEBSD-ANNOUNCE"; stop;}
if header :contains "List-ID" "freebsd-isp.FreeBSD.ORG" { fileinto "INBOX.FREEBSD-ISP"; stop;}
if header :contains "List-ID" "freebsd-stable.FreeBSD.ORG" { fileinto "INBOX.FREEBSD-STABLE"; stop;}
if header :contains "Sender" "antenna-admin.antenna.radiolan.hu" { fileinto "INBOX.RADIO-ANTENNA"; stop;}
if header :contains "Sender" "labor-admin.antenna.radiolan.hu" { fileinto "INBOX.RADIOLAN"; stop;}
if header :contains ["Subject"] ["Cron"] { fileinto "INBOX.CRON"; stop;}
fileinto "INBOX";
The "wrong" emails has attached.
Thanks,
-- _____ _ ____ ___ _____ ___ ___ _____ . | | | :|_|| | || :| | | || || || || __: | Fehér János | | | || || || || | | |: :| --:|---':__ | | ----------------- | ___ ||_||_|__|:___|:_____:|___|| || ||_____| | ` vezető programozó info@mindworks.hu - www.mindworks.hu - networking : ` ügyvezető
_______________________________________________
freebsd-isp@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
- text/plain attachment: wrongmail
- Previous message: Listar: "Listar command results: -- Binary/unsupported file stripped by Listar --"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|