No messages on inbox foler

kmail2 5.23.3 (23.04.3)

Kmail is configured with 3 mail accounts, one of which does not display the mails in the ‘inbox’ folder, although ‘Roundcube’ or ‘Thuderbird’ display them correctly.
The mail server is ‘procmail’.
I have tryed without success the following commands:

akonadictl vacuum
akonadictl fsck
mysql --socket=/run/user/1000/akonadi/mysql.socket
use akonadi;
delete from collectiontable where remoteId is NULL;
delete from pimitemtable where remoteid is NULL;

Maybe a misc betwin inbox and INBOX ?

...
Checking inbox
Checking sent-mail
Checking INBOX
...

I successfully received messages from the inbox, unselecting ‘Enable server-side subscriptions’ from the account configuration.
But that is not the expected beavours.

I had a similar problem and found a solution deep down in the hamburger menu in top right corner: Select ‘More’ > ‘Settings’ > ‘Configure Filters’. In ‘Filter Rules’ choose the ‘Advanced’ tab. Here I found an ‘’ filter. I checked ‘Apply this filter to incoming messages’ and chose ‘From all accounts’.
This solved my problem.

Indeed. This default behaviour of KMail has been confusing users for a long time.