Re: [Dovecot] v2.0.alpha1 released

2009-10-16 Thread Timo Sirainen
On Fri, 2009-10-16 at 16:52 +0100, Ed W wrote: > > What I meant is what happens in most places where I plug in ethernet > > cable while a wireless connection is already there: I get a new IP for > > the wired connection. Then I have two IPs. Only one of the interfaces > > is the default gateway.

Re: [Dovecot] v2.0.alpha1 released

2009-10-16 Thread Charles Marcus
On 10/16/2009, Ed W (li...@wildgooses.com) wrote: > Well, I'm not going to over-argue the point, but right now I > personally have both a desktop AND a mobile device (and expect this > to be a common situation for most users with a mobile device), so in > my case I prefer to have the mobile device

Re: [Dovecot] v2.0.alpha1 released

2009-10-16 Thread Ed W
Hi - Wifi and Wired on Windows XP and earlier (possibly vista also?) - now XP does something clever, it appears to have connection tracking in place and once a connection is started on a given interface then that connection continues via the same interface even if the default gateway is chang

Re: [Dovecot] v2.0.alpha1 released

2009-10-16 Thread Timo Sirainen
On Oct 16, 2009, at 7:54 AM, Ed W wrote: Not necessarily. Laptops don't kill existing WiFi connections when RJ45 is plugged into them. - Wifi and Wired on Windows XP and earlier (possibly vista also?) - now XP does something clever, it appears to have connection tracking in place and onc

Re: [Dovecot] v2.0.alpha1 released

2009-10-16 Thread Ed W
Timo Sirainen wrote: On Thu, 2009-10-15 at 23:56 +0100, Ed W wrote: I'm currently having problems with my vpn when using a UK "Three" SIM. I haven't fully investigated, but I *think* it's because the IP changes regularly even while the connection is up and in progress? I think this setup

Re: [Dovecot] v2.0.alpha1 released

2009-10-15 Thread Timo Sirainen
On Thu, 2009-10-15 at 23:56 +0100, Ed W wrote: > I'm currently having problems with my vpn when using a UK "Three" SIM. > I haven't fully investigated, but I *think* it's because the IP changes > regularly even while the connection is up and in progress? I think this > setup is rare, but exist

Re: [Dovecot] v2.0.alpha1 released

2009-10-15 Thread Ed W
Timo Sirainen wrote: On Wed, 2009-10-14 at 00:14 +0100, Ed W wrote: next_still_here_sending_timestamp = imap_idle_notify_interval - (time(NULL) + crc32(username)) % imap_idle_notify_interval; The username CRC32 is there to avoid network/load spikes when all the processes try to send the "

Re: [Dovecot] v2.0.alpha1 released

2009-10-15 Thread Timo Sirainen
On Wed, 2009-10-14 at 00:14 +0100, Ed W wrote: > > next_still_here_sending_timestamp = imap_idle_notify_interval - > > (time(NULL) + crc32(username)) % imap_idle_notify_interval; > > > > The username CRC32 is there to avoid network/load spikes when all the > > processes try to send the "Still he

Re: [Dovecot] v2.0.alpha1 released

2009-10-15 Thread Pascal Volk
On 10/13/2009 05:00 PM Odhiambo Washington wrote: > > On my FreeBSD 7.2-STABLE: > > … > mbox-from.c:240: error: wrong type argument to unary minus > … Timo has provided a few patches and fixed some issues. Since the changeset http://hg.dovecot.org/dovecot-2.0/rev/5147503f4123 Dovecot v2.0.alpha1

Re: [Dovecot] v2.0.alpha1 released

2009-10-14 Thread Ed W
Nikolay Shopik wrote: On 14.10.2009 2:30, Ed W wrote: Actually, here's the original Nokia paper - just reading it now, seems quite interesting: http://research.nokia.com/files/NRCTR2008002.pdf I wonder whats difference between WM phones which connects to Exchange servers using same TCP socket

Re: [Dovecot] v2.0.alpha1 released

2009-10-14 Thread Nikolay Shopik
On 14.10.2009 2:30, Ed W wrote: Actually, here's the original Nokia paper - just reading it now, seems quite interesting: http://research.nokia.com/files/NRCTR2008002.pdf I wonder whats difference between WM phones which connects to Exchange servers using same TCP socket via HTTP(S) and push m

Re: [Dovecot] v2.0.alpha1 released

2009-10-13 Thread Ed W
Ed W wrote: Actually, here's the original Nokia paper - just reading it now, seems quite interesting: http://research.nokia.com/files/NRCTR2008002.pdf Contrary to the results in the nokia paper I find a few "low quality" results from users who used the nokia battery monitor app to show that

Re: [Dovecot] v2.0.alpha1 released

2009-10-13 Thread Ed W
Timo Sirainen wrote: I can imagine that in the case of a typical cell phone with say 3 email accounts, there will be likely three idle connections (or more) to dovecot and each will end up sending keepalive packets at slightly different intervals for each connection. By synchronising this n

Re: [Dovecot] v2.0.alpha1 released

2009-10-13 Thread Timo Sirainen
On Oct 13, 2009, at 6:28 PM, Ed W wrote: Perhaps I misunderstand, but doesn't dovecot send a "keepalive" on connections which are idling? Yes, it's configurable nowadays: # How many seconds to wait between "OK Still here" notifications when # client is IDLEing. #imap_idle_notify_interv

Re: [Dovecot] v2.0.alpha1 released

2009-10-13 Thread Ed W
Actually, here's the original Nokia paper - just reading it now, seems quite interesting: http://research.nokia.com/files/NRCTR2008002.pdf

Re: [Dovecot] v2.0.alpha1 released

2009-10-13 Thread Ed W
Timo Sirainen wrote: On Tue, 2009-10-13 at 21:38 +0100, Ed W wrote: Something I had been pondering recently (I started using a cell phone with imap idle support), was a previous poster mentioning the huge increase in battery life from turning off the radio for as long as possible. It appear

Re: [Dovecot] v2.0.alpha1 released

2009-10-13 Thread Patrick Ben Koetter
* Timo Sirainen : > On Tue, 2009-10-13 at 21:38 +0100, Ed W wrote: > > Something I had been pondering recently (I started using a cell phone > > with imap idle support), was a previous poster mentioning the huge > > increase in battery life from turning off the radio for as long as > > possible.

Re: [Dovecot] v2.0.alpha1 released

2009-10-13 Thread Timo Sirainen
On Tue, 2009-10-13 at 18:00 +0300, Odhiambo Washington wrote: > On my FreeBSD 7.2-STABLE: > > mbox-from.c: In function 'mbox_from_parse': > mbox-from.c:240: error: wrong type argument to unary minus Yeah, BSDs have a timezone() function instead of a timezone variable. I don't think the code is co

Re: [Dovecot] v2.0.alpha1 released

2009-10-13 Thread Timo Sirainen
On Tue, 2009-10-13 at 21:38 +0100, Ed W wrote: > Something I had been pondering recently (I started using a cell phone > with imap idle support), was a previous poster mentioning the huge > increase in battery life from turning off the radio for as long as > possible. It appears that just turnin

Re: [Dovecot] v2.0.alpha1 released

2009-10-13 Thread Ed W
Timo Sirainen wrote: + Redesigned master process. It's now more modular and there is less code running as root Hi, some really interesting stuff coming out of this. Looks cool! Something I had been pondering recently (I started using a cell phone with imap idle support), wa

Re: [Dovecot] v2.0.alpha1 released

2009-10-13 Thread Odhiambo Washington
On Tue, Oct 13, 2009 at 1:45 AM, Timo Sirainen wrote: > http://dovecot.org/releases/2.0/alpha/dovecot-2.0.alpha1.tar.gz > http://dovecot.org/releases/2.0/alpha/dovecot-2.0.alpha1.tar.gz.sig > > So here's the first alpha version of Dovecot v2.0. There are still a > couple of things left to do, but

[Dovecot] v2.0.alpha1 released

2009-10-12 Thread Timo Sirainen
http://dovecot.org/releases/2.0/alpha/dovecot-2.0.alpha1.tar.gz http://dovecot.org/releases/2.0/alpha/dovecot-2.0.alpha1.tar.gz.sig So here's the first alpha version of Dovecot v2.0. There are still a couple of things left to do, but in general it should work for most people. I started using it fo