So it's been 7 hours, no mysql errors shown on my updated server.
Still, I get some sporadic delayed POP/IMAP mail. I'm quite sorry that the mysql stuff didn't resolve all the issues, but it's still better.
When POP/IMAP delays happens, I sometimes get the following error, perhaps this is related:
sept. 02 22:17:52 email gromox-midb[1505]: > sqlite3_exec(UPDATE folders SET sort_field=0 WHERE folder_id=13) inside a readonly TXN
sept. 02 22:17:52 email gromox-midb[1505]: > sqlite3_exec(DELETE FROM messages WHERE message_id=218710) inside a readonly TXN
sept. 02 22:17:47 email postfix/qmgr[1866]: A951E2F4A8: removed
sept. 02 22:17:47 email postfix/qmgr[1866]: A65212F4A7: removed
It looks like the first message always is delivered instantly, and later messages get delayed for POP/IMAP clients.
Anyway I still need the midb_reload_interval=3minutes
setting in hope to see my mails appear at least every 3 minutes.
As a quick side question, does gromox trigger midb when a mail is received ?
Is there a way to debug log this ? I've tried to set midb_log_level=6
in /etc/gromox/midb.cfg
but it doesn't add any more info to the logs.