Hi :)
Thanks for that Oscar. I commented out the lines you had found and
recompiled and everything seems to be running perfectly :) My S60
Nokia is set to check the mailbox every 30 mins between 8am and 11pm
and, because it has successfully identified the server as Idle
capable, it uses Idle to achieve push email. If the connection drops
(signal loss etc.) it reconnects at the 30 min interval and re-
initiates a new Idle connection.
Having run this setup for a few hours now, it looks like everything is
behaving as expected and battery usage on the phone has plummeted :)
If this does turn out to be the case I may set the phone for a 15 min
check interval so it reconnects faster after a lost signal.
Thanks for all the help!
Can I recommend that disabling / enabling the NAT timeout code for
Idle be controllable from a simple variable like all the other settings?
Robert
On 14 Jul 2008, at 20:47, Oscar del Rio wrote:
Robert Goldsmith wrote:
Is there a way to tune or configure this behaviour at compile time
in uw-imap?
grep "Timeout in " src/imapd/*
found this in imapd.c
if (!(i % 2)) { /* prevent NAT timeouts */
sprintf (tmp,"* OK Timeout in %lu minutes\015\012",
(i * IDLETIMER) / 60);
PSOUT (tmp);
}
_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw
---
GnuPG public key:
http://www.Far-Blue.co.uk
_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw