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.
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.
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.
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.
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.
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?
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.
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.