This forum has been archived. All content is frozen. Please use KDE Discuss instead.

K Mail 1.9.10 filter problems

Tags: None
(comma "," separated)
carr
Registered Member
Posts
7
Karma
0

K Mail 1.9.10 filter problems

Tue Apr 14, 2009 11:20 pm
I am new to this excellent forum but not new to KDE. I ve been running various iterations of the KDE desktop for a number of years under various versions of SUSe Linux. I run SUSe on 4 desktops and the laptop, all with KDE.

I have within the last week loaded SUSe 11.1 on this machine, the one that does the utility work here-- mail, chat, some browsing and the other utilitarian stuff we all do every day on the internet. All others are KDE with 10.3.

IN this iteration Im running KDE 3.5.10 release 21.9 under Open SUSE with the default kernel. K Mail is 1.9.10. The machine is an Intel 945 motherboard with a P4 and 2 GB of ram. Graphics is an NVidia 7800 running dual 22" Samsumg LCD monitors.

I elected to use KMail because I like the option of being able to scan incoming mail with the Klam/Clam suite.

The problem I have with KMail is that although I create filters for all incoming spam, I receive mail from the same address every few days. I create filters by right clicking on the offending message, selecting create filter/filter on from and when the detailed filter window pops up I select "Classify as spam from available filters, then apply and ok. Does not seem to have any effect.

I did search the forum here for an answer to this and browsed the KMail Man pages but what Im doing seems not to work.

Any suggestions or comments would be deeply appreciated. Please note that on the advanced tab of the filter rules popup window, I have selected Apply to incoming messages from all accounts. I do not have add this filter to the apply filter menu.

THanks in advance for any interest or suggestions and thanks very much for the excellent forum. This is the first problem I have with KDE that I ve been unable to solve in a number of years....keep up the great work!!!


Carr
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: K Mail 1.9.10 filter problems

Tue Apr 14, 2009 11:54 pm
In the list of filter rules, try moving the new filter rule to the top of the list, and ensure that "Apply this filter to all accounts" is ticked under advanced for that particular rule.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
carr
Registered Member
Posts
7
Karma
0

RE: K Mail 1.9.10 filter problems

Wed Apr 15, 2009 12:15 am
Thanks very much. I have also gone back and checked the Add this filter to the Apply Filter Menu tick box on all of the filters I ve created in the last few days.

I used Thunderbird in 10.3 but like the idea of e mail scanning. Hopefully this will solve the problem.


Again thanks for the suggestion.

Carr
bcooksley wrote:In the list of filter rules, try moving the new filter rule to the top of the list, and ensure that "Apply this filter to all accounts" is ticked under advanced for that particular rule.
carr
Registered Member
Posts
7
Karma
0

RE: K Mail 1.9.10 filter problems

Wed Apr 15, 2009 4:58 pm
Another day, more spam......when I use the pull down menu message/apply filter/apply all filters, the pointer shows busy for a few seconds and I can see the CPU being used by what I assume is spam removal on GKrellm, but then nothing happens, the same spam is in the inbox and in spite of the spam rule for move to trash and mark as read, that does not get done. Should this not happen without my intervention??? then when I actually manually activate the filters, still nothing? What could be disabled? So Im stuck again with having to manually delete spam. What is up with this?? Twice today I ve had to manually delete mail for which spam rules i.e. filters that I ve created exist. Should this not automatically be done upon reciept??

Suggestions please.

carr wrote:Thanks very much. I have also gone back and checked the Add this filter to the Apply Filter Menu tick box on all of the filters I ve created in the last few days.

I used Thunderbird in 10.3 but like the idea of e mail scanning. Hopefully this will solve the problem.


Again thanks for the suggestion.

Carr
bcooksley wrote:In the list of filter rules, try moving the new filter rule to the top of the list, and ensure that "Apply this filter to all accounts" is ticked under advanced for that particular rule.

User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: K Mail 1.9.10 filter problems

Wed Apr 15, 2009 8:34 pm
Which protocol do you use to access your email? KMail filters don't work too well with IMAP I think. They might work better with disconnected IMAP though, but POP is the protocol that is the most likely to work.

Last edited by bcooksley on Wed Apr 15, 2009 8:35 pm, edited 1 time in total.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
carr
Registered Member
Posts
7
Karma
0

RE: K Mail 1.9.10 filter problems

Thu Apr 16, 2009 1:55 am
bcooksley

Thanks very much for the interest. Both of the accounts are POP.

Regards
Carr

bcooksley wrote:Which protocol do you use to access your email? KMail filters don't work too well with IMAP I think. They might work better with disconnected IMAP though, but POP is the protocol that is the most likely to work.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: K Mail 1.9.10 filter problems

Thu Apr 16, 2009 4:19 am
What is the precise order of your filters? Maybe removing all of them, and creating them from scratch might help.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
carr
Registered Member
Posts
7
Karma
0

RE: K Mail 1.9.10 filter problems

Thu Apr 16, 2009 5:22 pm
bcooksley wrote:What is the precise order of your filters? Maybe removing all of them, and creating them from scratch might help.


There are currently over 100 filters I ve created on the filter list. Deleting them and recreating every one would be a pretty good piece of work. If I cant determine whats not working rather than go through that exercise I may load Thunderbird and run that.

What I cant figure out is why, when told to run the filters manually, none of the spam is removed from the inbox. Additionally interesting is why its not done automatically when the mail is downloaded.

I like K Mail but since this is the machine that does the mail service, Im going to have to find something that will work or be configurable without constant bother.

Also I can not figure out where in KMail, the settings are to enable this. It would stand to reason that with a list i.e. filters of what one considers spam, that it should happen unless somewhere in the program, it still thinks its in learning mode or something is switched off..... when I create filters it goes into one list-- settings/configure filters. THIS list was created by right clicking on each piece of spam and creating a filter as I described in the first part of the post. Whats disturbing is there is also a settings/configure POP filters which has no entries in it at all and since the accounts are all POP this might be the problem but I can find no way to create filters in this list on a message by message basis.....so....we have K Mail keeping two different filter lists. Additionally, under tools we have the anti spam wizard which uses Spamassassin 3.x which insists on being checked. Clicking next informs the user that Spamassassin will replace the classify as spam filter........ and it seems there is no way to disable this from happening because if one deselects Spamassassin then one is not permitted to go to the next page...... it seems awfully complicated to manage spam here......and obviously Im doing something wrong...... additionally when one inadvertently runs the Spamassassin wizard, all of the filters in the K Mail filter rules list have the classification of spam removed so are useless........

Ideas??
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: K Mail 1.9.10 filter problems

Thu Apr 16, 2009 9:27 pm
KMail does not have an integrated spam filter, hence why the Anti Spam wizard configures the filters to use Spam Assassin, etc. Try seeing if they work when you remove "Mark as Spam" from the list of actions. I wouldn't be surprised if it fails and stops there.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
carr
Registered Member
Posts
7
Karma
0

RE: K Mail 1.9.10 filter problems

Thu Apr 16, 2009 9:55 pm
bcooksley wrote:KMail does not have an integrated spam filter, hence why the Anti Spam wizard configures the filters to use Spam Assassin, etc. Try seeing if they work when you remove "Mark as Spam" from the list of actions. I wouldn't be surprised if it fails and stops there.


Understood. So removing the Mark as Spam entry, there are a couple of others....beingSpamAssassin check and Spam handling. Which of these would I use to achieve the desired results?

Thanks by the way for your continued interest and assistance with this

Warmest Regards
Carr
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: K Mail 1.9.10 filter problems

Thu Apr 16, 2009 10:30 pm
Oops, I made a mistake above, that is incorrect information.

Spam Handling should be at the very bottom, or at least below all the filters that mark the spammers email as spam.
It is the filter that marks as read email and moves it to the nominated spam folder.

All other filters that handle the spammers email need to have "Mark As" "Spam" in their list of actions otherwise they won't work.

Ensure that none of the filters that mark messages as spam have "If this filter matches stop processing here" ticked on their Advanced tab. Spam Handling should have this ticked.

The "SpamAssassin check" should only have "Pipe through" in its list of actions.

Both "Mark as Spam" and "Mark as Ham" should be below "Spam Handling"

Last edited by bcooksley on Thu Apr 16, 2009 10:32 pm, edited 1 time in total.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
carr
Registered Member
Posts
7
Karma
0

RE: K Mail 1.9.10 filter problems

Sat Apr 18, 2009 9:51 pm
bcooksley wrote:Oops, I made a mistake above, that is incorrect information.

Spam Handling should be at the very bottom, or at least below all the filters that mark the spammers email as spam.
It is the filter that marks as read email and moves it to the nominated spam folder.

All other filters that handle the spammers email need to have "Mark As" "Spam" in their list of actions otherwise they won't work.

Ensure that none of the filters that mark messages as spam have "If this filter matches stop processing here" ticked on their Advanced tab. Spam Handling should have this ticked.

The "SpamAssassin check" should only have "Pipe through" in its list of actions.

Both "Mark as Spam" and "Mark as Ham" should be below "Spam Handling"



Many thanks for the information and interest. After having tried a number of things over the last few days, I ve switched to Mozilla Thunderbird. Things that are marked as Spam once stay marked and are easily handled. I dont like spending the time on something as simple as a mail client trying to make it work as it ostensibly should. I like very much the rest of the desktop (Im running 3.5) and really would have liked to use KMail primarily for the seamless integration with the Clam/Klam suite. Its disappointing that someone in the KDE organization wont streamline KMail where spam can be effectively and easily handled without all of the dead ends, spending time building spam lists that never get used and filters that (with my experience) dont work. Hopefully someone with Mozilla will figure out a way to have Clam scan incoming mail as per KMail. Incidentally I have gone back and reviewed (again) the K Mail man files and I still cant filter spam.


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]