Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Mar 2010 15:38:49 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Ron <rg.lists@rzweb.com>
Cc:        Tim Judd <tajudd@gmail.com>, perryh@pluto.rain.com, freebsd-questions@freebsd.org, Jeffrey Goldberg <jeffrey@goldmark.org>
Subject:   Re: Freebsd, postfix and push email
Message-ID:  <20100328203849.GD4806@dan.emsphone.com>
In-Reply-To: <4BAFB9AC.7040406@rzweb.com>
References:  <4BAED536.2060205@rzweb.com> <ade45ae91003272212j297b1ca2o57fbf682b1832951@mail.gmail.com> <4baef8de.00G1oLWhtZbJ8Rwl%perryh@pluto.rain.com> <E3865D82-E65A-4440-A663-6B3C3C259F6B@goldmark.org> <4BAFB9AC.7040406@rzweb.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Mar 28), Ron said:
> Jeffrey Goldberg wrote:
> > On Mar 28, 2010, at 1:36 AM, perryh@pluto.rain.com wrote:
> >> Er, no.  POP3 and IMAP are "pull" services, wherein the client polls
> >> the server periodically for any newly-arrived messages.
> > 
> > IMAP, but not POP3, can be used to push, but the iPhone mail client
> > doesn't support that as far as I know.  It does support being pushed to
> > over Mobile Me, but not on regular IMAP.
> 
> So how is Mobil Me and Exchange Servers (MS, Zimbra, etc) doing it? 
> That's what I'd like to replicate on my FreeBsd server.  This seems to be
> a well guarded secret I'd like to crack.
> 
> On the iPhone, at least, the phone is not polling the servers, some kind
> of message (SMS?) is being sent to the phone that makes it put a little
> red badge on the corner of the mail app icon telling it how many messages
> are waiting.  The messages don't seem to be download during the push, it's
> just a count (I could be wrong about this).

For ActiveSync at least, the phone has to keep a TCP connection to the
server open 24/7, and the server sends a notification when a new mail
arrives.  MobileMe probably works the same way.  The IMAP protocol supports
a similar "notify on new mail" option, but for some reason Apple doesn't use
it in their client.

-- 
	Dan Nelson
	dnelson@allantgroup.com



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