KMail filters in Kontact Version 5.24.5 (23.08.5) on Leap 15.6

I’ve created a bunch of filters in KMail, but I can’t figure out how to get them to run automatically, when email comes in. I’m using a pop3 server.

In the advanced tab of each rule, I have the check box for “Apply this filter to all incoming messages:”, with the “From all accounts” radio button selected.

The “Apply this filter on manual filtering” is also checked. This part seems to work fine.

Any suggestions?

TIA,

–Bruce

I have mixed experiences with the feature.

Some rules do function, others never (most of them are for forwarding to another address).

Sometimes on starting Kmail all mail ends in the default “inbox” and the rules are not applied. I then use the “apply …” (like you) and then they go to the correct sub-directories.

Frustrating.

This is for example a filter to move some emails to my trash folder.

My situation:
6 IMAP accounts, one is my @opensuse.org email, total #messages is ~200K
12 subscriptions to openSUSE mailing lists
12 filers that put those messages in their own “folder” based on their list-id
Using postgresql instead of mysql, which makes the whole handling much faster

All this works fine and actually survived KDE4 → Plasma5 → Plasma6. As long as there are no changes on the mail server side that is.

1 Like

I’m new to both KDE and OpenSUSE. I set it up in Leap 15.6. Overall I like the Kontact experience.

I could try using imap instead of pop3. I host my own email, so I have to do some setup. Maybe it’s just the KMail pop3 account type that has the issue. It will be a suitable work-around if it works.

I am using pop3 and some work, some don’t.

All is working with some mailing lists, and 6 email accounts on different server

It may depend on the type of filter? I get the impression from my own situation that moving to a folder works, but that forwarding to an e-mail address fails.

Works for me, but with an “unknown” email recipient in the email in my send directory, but is forwarded to my sister…

All my rules are move to folder rules. None of them work automatically for new mail. I always have to run them manually. If I have the rules configured incorrectly, I was consistent about it.

So a question about the filter advanced settings. When I check the box for “Apply this filter to incoming messages:” with a pop3 account and Local Folders, then use the “From selected accounts” radio button, do I select the pop3 account, or Local Folders?

I have there “from all accounts” checked.
I assume that are the accounts you have on the server(s) either POP3 or IMAP.

In my case, it’s a POP3 server. I was trying to keep things simple on the server side. I’m using popa3d, fronted by OpenBSD relayd. I don’t use multiple devices for email.

I exported my filters to see what they look like. Here’s one of them:

[Filter #0]
Applicability=0
AutomaticName=true
ConfigureShortcut=false
ConfigureToolbar=false
Enabled=true
Icon=system-run
StopProcessingHere=true
ToolbarName=: noreply@news.paypal.com
action-args-0=Local Folders/SE
action-name-0=transfer
actions=1
apply-on=check-mail,manual-filtering
contentsA=noreply@news.paypal.com
fieldA=From
funcA=contains
identifier=XFBKRs3be8UGnkjM
name=: noreply@news.paypal.com
operator=and
rules=1

Just curious if anyone might spot what looks terribly wrong. At first glance, not being familiar, I didn’t see anything that stood out. I also turned on the filter logging to see if there were errors when new email comes in. No filters appeared to run… Once I manually ran filters, then I saw filter run output.