Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 2010 11:14:05 +0200
From:      Jonathan McKeown <j.mckeown@ru.ac.za>
To:        freebsd-questions@freebsd.org
Subject:   Re: Freebsd, postfix and push email
Message-ID:  <201003301114.05272.j.mckeown@ru.ac.za>
In-Reply-To: <4BB1A8B4.6080506@infracaninophile.co.uk>
References:  <4BAED536.2060205@rzweb.com> <ade45ae91003291901w7e20fe27ye2ba31ffd0474a5f@mail.gmail.com> <4BB1A8B4.6080506@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 30 March 2010 09:31:00 Matthew Seaman wrote:
> On 30/03/2010 03:01:27, Tim Judd wrote:
> > I've never heard of either, but when I configure my IMAP server and
> > put any mail client to it, as soon as a mail is delivered, the mail
> > client is notified.
>
> That's the IDLE extension to IMAPv4 -- it's not a push protocol as
> such: the client still has to log into the server rather than vice
> versa, but once the client has read all the available e-mail, it can
> put itself into an idle state, and the server will wake it up as soon
> as any new e-mail comes in.

Yes. In fact, one of the nice things about IMAPrev4 as a protocol is that the 
server is allowed (in fact, required by rfc3501) to notify the client if the 
mailbox size increases while executing any command, by sending an EXISTS 
response which the client is required to handle. IDLE is just a command that 
takes a long time to execute (specifically, until the client ends it or the 
server's time limit is reached) so that the server has to send EXISTS 
responses whenever mail comes in.

Jonathan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003301114.05272.j.mckeown>