Release Support => Pending Issues => Topic started by: reynan on August 20, 2009, 07:39:01 AM
Title: check mail on imap server every minute.
Post by: reynan on August 20, 2009, 07:39:01 AM
Hello,
I'm just new to roundcube webmail, and i found out that it checks mail (via ajax) to our imap server every minute. Is there a way to modify this? I mean, i want to change it, lets say x minutes. Are there any config file for this?
regards,
--reynan
Title: check mail on imap server every minute.
Post by: rosali on August 20, 2009, 08:53:35 AM
Settings -> Mailbox View -> Check for new messages on
(Refers to v0.3RC1, but I think this was also present in v0.2.2)
Title: check mail on imap server every minute.
Post by: reynan on August 24, 2009, 01:36:24 AM
Thanks.
Another thing, about the default settings? What if i want to change the default settings. What I mean, upon installation of roundcube, the default should not be 1 minute, it should be 5 or 10 minutes? Is this possible? any config or settings that should be change?
regards,
--reynan
Title: check mail on imap server every minute.
Post by: rosali on August 24, 2009, 04:10:45 AM
Check ./config/main.inc for things regarding "keep_alive".
Title: check mail on imap server every minute.
Post by: reynan on August 24, 2009, 06:57:20 AM
Quote from: rosali;20739Check ./config/main.inc for things regarding "keep_alive".
hello,
Is keep_alive is the same as check_recent? as I check the logs, my real problem is the http request of check_recent request.. the default is 1 minute.
Is there a way to change it by default?
regards,
Title: check mail on imap server every minute.
Post by: rosali on August 24, 2009, 07:10:19 AM
Yes, keep_alive triggers the check_recent.
Title: check mail on imap server every minute.
Post by: reynan on August 24, 2009, 07:22:05 AM
Hello,
Sorry for my ignorance, but I just don't get it. I update one of the users personal settings to 5 minutes.
I just update the setting->mailbox view->check for new messages on "5 minutes".
Now, all i see in the logs is the keep-alive request, requesting every minute. But i just update it to 5 minutes.. hmmmnn weird. Now i dont even see the request check-recent for checking the mailbox for new mails.
Can you please enlightened me on this?
Another thing, Are there any link/site where i can see all the available config for roundcube main.inc?
thanks for the helpl
regards,
Title: check mail on imap server every minute.
Post by: rosali on August 24, 2009, 07:35:33 AM
Clear your browser cache. The check_recent/keep_alive is triggered by app.js.
The keep_alive setting is definitely responsible for the check_recent intervall. You can cross check it by looking on the html code: