[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cyrus sieve bug?
- Subject: cyrus sieve bug?
- From: aries at mindworks.hu (FEHER Janos)
- Date: Fri Apr 16 02:12:43 2004
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_(_at_)_bsd_(_dot_)_hu" { fileinto "INBOX.BSD-EGYESULET"; stop;}
if address :contains :all ["from"] "info_(_at_)_apronet_(_dot_)_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_(_at_)_weblabor_(_dot_)_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_(_at_)_mindworks_(_dot_)_hu - www.mindworks.hu - networking : ` ?gyvezet?
-------------- next part --------------
Visit your host, monkey.org