opensuse leap 15.0 kde app 17.12.3 kmail 5.7.3 in kmail i setup spamassassin filters with the spam assistant. "x-spam-flag:YES" filter does not work. all spam detected mails stay in inbox. condition of "x-spam-flag:YES" is "contient(contains)" "(yes) | (YES)" i changed this to "is equal to" "(yes) | (YES)" then All detected spam mails are put in spambox
i made an error. the good condition is : "matches regula" "(yes) | (YES)"
sorry "matches regular expr." "(yes) | (YES)"
kontact 5.10.2 plasma 5.15.2 kde framework 5.55.0 qt 5.12.1 pb still there
[Spamtool #1] Ident=spamassassin Version=1 Priority=40 VisibleName=SpamAssassin 2.x (Perl) Executable=spamassassin -V | grep "SpamAssassin version 2" URL=http://spamassassin.org PipeFilterName=SpamAssassin Check PipeCmdDetect=spamassassin -L PipeCmdNoSpam=spamassassin -d ExecCmdSpam=sa-learn -L --spam --no-sync --single ExecCmdHam=sa-learn -L --ham --no-sync --single DetectionHeader=X-Spam-Flag DetectionPattern=(yes)|(YES) DetectionPattern2= DetectionOnly=0 UseRegExp=1 SupportsBayes=1 SupportsUnsure=0 ScoreName=Spamassassin ScoreHeader=X-Spam-Status ScoreType=Adjusted ScoreValueRegexp=(?:hits|score)=([\\d\\.-]+)[^\\d\\.] ScoreThresholdRegexp=required=([\\d\\.-]+)[^\\d\\.] it seems it's ok no ?
Created attachment 118617 [details] spam filter opensuse Argon 15.0 kontact 5.10.2 plasma 5.15.2 kde framework 5.55.0 qt 5.12.1 fresh install you can see "contient" (contains) instead of "correspond à l'expression rationnelle" (matches regular expr.)
I reverify here and it generate correct filter... Could you switch to english version to be sure that it's not a translation problem ? Thanks
Created attachment 118624 [details] spam filter english version it is same in english. you can see "contains"
i deleted all filters then recreated with assistant in english. problem still there.
no idea for the moment.
i found ! with assistant if you select "spam daemon" then you get "contains" if you select "spam perl" then you get "matches regular exp"
oh !
Git commit f8343d63af9d546b61b264ca008480a66b406fc1 by Laurent Montel. Committed on 08/03/2019 at 06:13. Pushed by mlaurent into branch 'master'. Fix Bug 398491 - kmail,spamassassin,spam asssistant, bad condition to put spam in spambox FIXED-IN: 5.11 Thanks for Philippe ROUBACH for investigating this bug. I didn't know that we have support for deamon too. M +1 -1 kmail/plugins/common/kmail.antispamrc https://commits.kde.org/kdepim-addons/f8343d63af9d546b61b264ca008480a66b406fc1