I've set up a hmailserver (5.0 release version on W2k3 server) with some accounts for a small office. The emails are downloaded through external accounts and outgoing mail is sent through the mail server of the mail provider. Everything worked fine so far.
Several weeks ago I received a complaint from some users that mails didn't show up in Thunderbird. One of the more tech-savy users, who has access to the webmail system of the mail server provider found out that the missing mails were there in the webmail but didn't show up in Thunderbird. After a restart of Thunderbird all mails showed up.
At the time it happened of course all logs were disabled (enabling POP3 logging alone produces at least 200MB of logfile per day

). When I tried to reproduce the problem I couldn't find a thing (what would you expect?).
Several weeks later when I was testing a new fax-to-mail system I encountered exactly the same problem (except the fax-to-mail delivers directly to hmailserver per SMTP). The new mails didn't show up in the users Thunderbird (and of course, no logging again). After forcing Thunderbird to check for new mails the mails showed up.
Today I tried to recreate the issue with logging enabled. Thunderbird set only to check for new mails at startup (because I'd like to use IMAP IDLE). Everything worked until I didn't send a mail to the test account for more than 30 minutes.
After 30 minutes of no new mail in account (and the IDLE command had been received) the IMAP log shows:
"SENT: *BYE You will be disconnected because of timeout (30 minutes)."
Where can I set this timeout higher? I couldn't find it either in Thunderbird nor in hmailserver administrator.
