The problem with the empty mailbox seams to be solved by commenting this line 602 out. :-)
But it is still that the search seams to be not working properly with that big amount of messages in the INBOX. Sometimes it works, sometimes it displays "no results" even if there should be some.
How can I switch on the database-caching now, if i haven't activated this during the installation? Can this maybe raise the performance?