Bug 67078 - kmail ignores filters with 'pipe through'
Summary: kmail ignores filters with 'pipe through'
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.5.93
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-02 21:01 UTC by werner
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description werner 2003-11-02 21:01:26 UTC
Version:           1.5.93 (using KDE 3.1.93 (CVS >= 20031028), compiled sources)
Compiler:          gcc version 3.2.2
OS:          Linux (i686) release 2.4.20-xfs_pre6

appearently,
kmail from current cvs doesn't apply filter rules with 'pipe trough' action on incoming
mails directly, but only upon actively using 'apply filters' AFTER mail receipt.
kmail from kde 3.1.4 work well here.
I know a similar bug has been closed recently, but the problem still persists for me
(kmail from latest cvs).
thanks
werner
Comment 1 Dirk Mueller 2003-11-03 19:41:42 UTC
for the record: can't reproduce. I use pop and spamassassin
and both works fine . 

do you have "apply on incoming mail" checkbox checked?

Comment 2 werner 2003-11-03 20:50:31 UTC
Subject: Re:  kmail ignores filters with 'pipe through'

On Montag, 3. November 2003 19:41, the undercover alien spy known as Dirk 
Mueller extruded a tentacle and scratched:
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
> http://bugs.kde.org/show_bug.cgi?id=67078
>
>
>
>
> ------- Additional Comments From mueller@kde.org  2003-11-03 19:41 -------
> for the record: can't reproduce. I use pop and spamassassin
> and both works fine .
>
> do you have "apply on incoming mail" checkbox checked?

yes - of course.
I just copied all my settings for kmail (in fact, the whole ~.kde3.1 directory 
to ~./kde3.2) from 3.1.4, which work well there.
see the attached relevant part of my kmailrc.
best regards
werner

excerpt from kmailrc:

[Filter #0]
ConfigureShortcut=false
Icon=gear
StopProcessingHere=false
action-args-0=spamc
action-name-0=filter app
actions=1
apply-on=check-mail,manual-filtering
contentsA=1
fieldA=<size>
funcA=greater-or-equal
name=SPAM1
operator=and
rules=1

[Filter #1]
ConfigureShortcut=false
Icon=gear
StopProcessingHere=true
action-args-0=O
action-args-1=R
action-args-2=trash
action-name-0=set status
action-name-1=set status
action-name-2=transfer
actions=3
apply-on=check-mail,manual-filtering
contentsA=^[Yy][Ee][Ss]
fieldA=X-Spam-Status
funcA=regexp
name=SPAM2
operator=and
rules=1


Comment 3 Ingo Klöcker 2003-11-04 11:52:18 UTC
Just for your information:
  contentsA=^[Yy][Ee][Ss]
can be simplified to
  contentsA=^Yes
because currently all filter rules are case insensitive.

Anyway, just like Dirk I'm also using spamc without any problems. The only difference between your filters and my filters is that I'm filtering for "X-Spam-Flag" "contains" "YES".

Are you fetching mail from a local mailbox or from a POP account?

Can you still reproduce this with a current build? Maybe you just happened to checkout at the wrong time.
Comment 4 werner 2003-11-04 19:40:43 UTC
Subject: Re:  kmail ignores filters with 'pipe through'

On Tuesday 04 November 2003 11:52, the undercover alien spy known as Ingo 
Kl
Comment 5 Andreas Gungl 2003-12-30 21:41:40 UTC
Werner, can you check the problem again? Another issue with the Pipe Through filter action got fixed in the meantime, so there is a good chance that it's working now.
Comment 6 werner 2003-12-30 22:52:25 UTC
Subject: Re:  kmail ignores filters with 'pipe through'

On Dienstag, 30. Dezember 2003 21:41, the famous Andreas Gungl scribbled on a 
piece of electronic paper:
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
> http://bugs.kde.org/show_bug.cgi?id=67078
>
>
>
>
> ------- Additional Comments From a.gungl@gmx.de  2003-12-30 21:41 -------
> Werner, can you check the problem again? Another issue with the Pipe
> Through filter action got fixed in the meantime, so there is a good chance
> that it's working now.

Andreas,
thanks for attention to this -
unfortunately, I've not been able to build kde from cvs for some reason
since then, so I went back to 3.1.4.
additionally, I changed to IMAP meanwhile, filtering mail with procmail.
so, I think I'll wait for kde 3.2 to come out and then check again.
I propose to close this bug - if it should come up again, I will submit a new 
report.
thanks again
werner

Comment 7 Andreas Gungl 2003-12-30 22:58:16 UTC
Closed as supposed by the reporter. Werner, please reopen when you can reproduce the problem.