Re: Freebsd, postfix and push email
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Freebsd, postfix and push email
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 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. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuxqLQACgkQ8Mjk52CukIx6IgCfSDPdb2LrxBDJZ+csTQfn73lB +mMAniO4pq4K9gFEZ1SU53OrJOie9kaQ =oVgM -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Freebsd, postfix and push email
On Mon, Mar 29, 2010 at 8:01 PM, 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. > > I don't use biff or comsat or anything similar. mine is a simple IMAP > server pushing it. > > > > I'm anxious to really hear what this is... I don't have any POP3/IMAP > enabled smartphones to test with. > Most pop3/imap clients have check for new mail option, eg the gmail app for the blackberry and every gui client I can think of. -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Freebsd, postfix and push email
On 3/27/10, per...@pluto.rain.com wrote: > Tim Judd wrote: >> On 3/27/10, Ron (Lists) wrote: >> > Is there a way to get my freebsd/postfix setup to send push >> > notifications to an iPhone ... I know it can be done with >> > Exchange and ActiveSync, but I don't want to run any kind of >> > exchange server. >> >> Wouldn't push email be a function of your POP3 or IMAP server? >> FreeBSD and Postfix are neither of those. > > Er, no. POP3 and IMAP are "pull" services, wherein the client > polls the server periodically for any newly-arrived messages. > A client-level "push" service would need to operate similarly > to biff(1)/comsat(8). > 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. I don't use biff or comsat or anything similar. mine is a simple IMAP server pushing it. I'm anxious to really hear what this is... I don't have any POP3/IMAP enabled smartphones to test with. --Tim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Freebsd, postfix and push email
Dan Nelson wrote: > 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. Sigh. It's hardly the first time a major software company insisted on "improving" a standard protocol instead of maintaining compatibility/interoperability with the rest of the world. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Freebsd, postfix and push email
On Mar 28, 2010, at 3:49 PM, krad wrote: > On 28 March 2010 21:38, Dan Nelson wrote: > In the last episode (Mar 28), Ron said: > > Jeffrey Goldberg wrote: > > > IMAP, but not POP3, can be used to push, but the iPhone mail client > > > doesn't support that [...] > > So how is Mobil Me and Exchange Servers (MS, Zimbra, etc) doing it? > 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. My understanding is that Apple wants all persistent connections to the iPhone to go through them, so that there is only one connection. This is, putatively, for battery life issues. Every pushable client on the iPhone doesn't maintain its own TCP connection but works through an API and has to have their service approved by Apple. Apple made an exception for Exchange so that I could sell iPhones to businesses. For better information than my possibly misremembered speculation, you would do well to check iPhone developer communities. -j -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Freebsd, postfix and push email
On 28 March 2010 21:38, Dan Nelson wrote: > In the last episode (Mar 28), Ron said: > > Jeffrey Goldberg wrote: > > > On Mar 28, 2010, at 1:36 AM, per...@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 >dnel...@allantgroup.com > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscr...@freebsd.org" > To totally confuse thin most modern mtas can easily be configured to pipe mails to an external program or pipe. This can then to whatever, include pushing stuff to a mobile phone I would imagine. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Freebsd, postfix and push email
In the last episode (Mar 28), Ron said: > Jeffrey Goldberg wrote: > > On Mar 28, 2010, at 1:36 AM, per...@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 dnel...@allantgroup.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Freebsd, postfix and push email
Jeffrey Goldberg wrote: On Mar 28, 2010, at 1:36 AM, per...@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). -- R ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Freebsd, postfix and push email
On Mar 28, 2010, at 1:36 AM, per...@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. -j -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Freebsd, postfix and push email
On Sun, Mar 28, 2010 at 6:04 AM, Ron (Lists) wrote: > Is there a way to get my freebsd/postfix setup to send push notifications to > an iPhone (I assume other smart phones work the same way). I've searched > the web and I can't find any information about how to make this work. I > know it can be done with Exchange and ActiveSync, but I don't want to run > any kind of exchange server. > > Thanks for any help, or even a point in the right direction. FreeBSD is an OS Postfix is an SMTP server. What you want is a email push daemon. What I would use (and indeed do use) is Funambol, its and open source push media server. And there are software clients for most smart phone OSs. -- "Opportunity is most often missed by people because it is dressed in overalls and looks like work." Thomas Alva Edison Inventor of 1093 patents, including: The light bulb, phonogram and motion pictures. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Freebsd, postfix and push email
On Sun, Mar 28, 2010 at 12:04 AM, Ron (Lists) wrote: > Is there a way to get my freebsd/postfix setup to send push notifications to > an iPhone (I assume other smart phones work the same way). I've searched > the web and I can't find any information about how to make this work. I > know it can be done with Exchange and ActiveSync, but I don't want to run > any kind of exchange server. > Hmm, something similar recently came up here in the thread "Exchange ActiveSync account", and in both cases there seems to be confusion in the roles of the MTA, the MDA and the MUA. The MTA is only responsible to relay mail to it's destination, the MDA to store it somewhere and the MUA to retrieve it. The mail is delivered in a mailbox and once it reaches that mailbox it is not the MTA's nor the MDA's problem anymore. It just sits there until you can reach your mailbox and read it. Many people think that IMAP, POP3 and alike are part of the mail (MTA) system but they are not. They are completely separate systems designed for you to be able to access/fetch your mailbox(es) from a remote location. Remember that email was invented on multi-user systems so when you log-in to a machine via telnet, ssh or sitting on a terminal, you access your email directly from the mailbox, you don't need to fetch it to a remote location to read it. Anyway, if you want to take mail from one mailbox and send it to another location, you need to pop-it (regardless if it's pop, imap or what have you) and then re-send it to the new destination. This is usually not the work on an MTA AFAIK and you need to use other tools such as Fetchmail. Hope this helps, Alejandro Imass > Thanks for any help, or even a point in the right direction. > > Ron > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Freebsd, postfix and push email
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28/03/2010 05:04:06, Ron (Lists) wrote: > Is there a way to get my freebsd/postfix setup to send push > notifications to an iPhone (I assume other smart phones work the same > way). I've searched the web and I can't find any information about how > to make this work. I know it can be done with Exchange and ActiveSync, > but I don't want to run any kind of exchange server. > > Thanks for any help, or even a point in the right direction. Sounds like what you want is an e-mail to SMS gateway. There are several scripts in the ports for generating SMSes from the command line, which you should be able to make use of. You'll need to choose something appropriate for your area. Otherwise you're looking at proprietary software as used by the likes of Blackberry. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuvLaEACgkQ8Mjk52CukIzWsgCfcAoObsvsXslpdPdoSxeP5MSS jeMAn3MrC0WlaeKxjDwBQax+VGww9ZSg =gy88 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Freebsd, postfix and push email
Tim Judd wrote: > On 3/27/10, Ron (Lists) wrote: > > Is there a way to get my freebsd/postfix setup to send push > > notifications to an iPhone ... I know it can be done with > > Exchange and ActiveSync, but I don't want to run any kind of > > exchange server. > > Wouldn't push email be a function of your POP3 or IMAP server? > FreeBSD and Postfix are neither of those. Er, no. POP3 and IMAP are "pull" services, wherein the client polls the server periodically for any newly-arrived messages. A client-level "push" service would need to operate similarly to biff(1)/comsat(8). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Freebsd, postfix and push email
On 3/27/10, Ron (Lists) wrote: > Is there a way to get my freebsd/postfix setup to send push notifications to > an iPhone (I assume other smart phones work the same way). I've searched > the web and I can't find any information about how to make this work. I > know it can be done with Exchange and ActiveSync, but I don't want to run > any kind of exchange server. > > Thanks for any help, or even a point in the right direction. > > Ron Wouldn't push email be a function of your POP3 or IMAP server? FreeBSD and Postfix are neither of those. Check your incoming mail services, such as what serves your POP3 or IMAP. Good luck. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"