[Kde-pim] spambayes check results in dup messages (kmail 1.10.0)

Neal Becker ndbecker2 at gmail.com
Wed Jul 30 19:13:33 BST 2008


I have spamassassin running on my server, and my client is using dimap.

On client kmail has rules:

Check if spamassassin marked as ham, mark as ham if so:
[Filter #1]
Applicability=0
AutomaticName=false
ConfigureShortcut=false
ConfigureToolbar=false
Icon=
StopProcessingHere=false
ToolbarName=<X-Spam-Level>
accounts-set=
action-args-0=H
action-name-0=set status
actions=1
apply-on=check-mail,manual-filtering
contentsA=*
fieldA=X-Spam-Level
funcA=contains-not
name=<X-Spam-Level>
operator=and
rules=1

Check if SA marked as spam:
[Filter #2]
Applicability=1
AutomaticName=true
ConfigureShortcut=false
ConfigureToolbar=false
Icon=
StopProcessingHere=true
ToolbarName=<X-Spam-Flag>: YES
accounts-set=
action-args-0=P
action-args-1=trash
action-name-0=set status
action-name-1=transfer
actions=2
apply-on=check-mail,manual-filtering
contentsA=YES
fieldA=X-Spam-Flag
funcA=equals
name=<X-Spam-Flag>: YES
operator=and
rules=1

Check with bogofilter:
[Filter #3]
Applicability=0
AutomaticName=false
ConfigureShortcut=false
ConfigureToolbar=false
Icon=
StopProcessingHere=false
ToolbarName=Bogofilter Check
accounts-set=
action-args-0=bogofilter -p -e
action-name-0=filter app
actions=1
apply-on=check-mail,manual-filtering
contentsA=256000
fieldA=<size>
funcA=less-or-equal
name=Bogofilter Check
operator=and
rules=1

This all used to work with earlier kdepim, but not with kdepim4.  Now I get dup messages - 1 with and 1 without the bogofilter header.  It seems kmail is not respecting any order to applying these filters - they seem to be applied in parallel.  More precisely, we seem to have a message delivery both before and after piping through bogofilter.

Any thoughts?

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list