[prev in list] [next in list] [prev in thread] [next in thread]
List: kmail-devel
Subject: Re: Bug#25757: kmail filter with two filter doesn't work properly in
From: Marc Mutz <Marc.Mutz () uni-bielefeld ! de>
Date: 2001-05-16 20:25:21
[Download RAW message or body]
Hi Eike!
eike.frost@gmx.de wrote:
>
<snip>
> Another oddity with the filters :
>
> I created a filter that matched a certain <to or cc>
> (example@blub.com) and was to carry out two actions ...
> The first being a pipe-through
> sed 's/Subject:\(.*\)\[mlist\]\(.*\)/Subject: \1\2/',
> the second being move to folder mlist.
>
> When fetching new mail matching this criterium,
> the mail gets moved to the folder, but it seems the
> pipe-through doesn't get executed ... When I tag
> the message manually and hit "apply filters", the
> message gets sorted in at the end of the folder and
> the pipe-through is applied properly.
<snip>
I can't reproduce this with my KMail, but I have to admit that it's not
quite the CVS version. I tested the following:
Match all of the following:
"List-Id" equals "<linux-usb-users.lists.sourceforge.net>"
actions {
pipe through "sed 's/Subject:\(.*\)\[Linux-usb-users\]\(.*\)/Subject:
\1\2/'"
move to folder "Mailing Lists/Linux/USB"
}
It removes the [...] and sorts the mails into the folde, just as
expected.
As to the differences between my code and the one in CVS: I have
rudimentary filter sets support, meaning I can tell KMail whether to
apply a filter only on incoming/outgoung/both mails or never, meaning
"only on CTRL-J". but that seems totally unrelated.
How old is your CVS?
Can you test with List-Id, or any non-pseudo-header?
Maybe it's constrained to pseudo headers?
Marc
PS: I've also tested with the rule substituted by:
"<To or Cc>" contains "linux-usb-users@lists.sourceforge.net"
and still it does what it's supposed to do...
--
Marc Mutz <Marc@Mutz.com> http://EncryptionHOWTO.sourceforge.net/
University of Bielefeld, Dep. of Mathematics / Dep. of Physics
PGP-keyID's: 0xd46ce9ab (RSA), 0x7ae55b9e (DSS/DH)
_______________________________________________
Kmail Developers mailing list
Kmail@master.kde.org
http://master.kde.org/mailman/listinfo/kmail
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic