Re: [Dovecot] IMAP IDLE - iPhone?

2012-08-10 Thread Sergey S. Kovalev

10.08.2012 16:57, Reindl Harald пишет:

surely IT IS an argument

on a non-iPhone you can chosse what is important
your agrumentation is even one argument more against iPhone
If we now talking about android vs iPhone now... Imagine Android default 
email client. It have no many features, that iPhone's default have 
(Note: i do not use iPhone, i'm not fan of Apple).
Then return to thing I wanna tell in previous letter - the situation, 
when you really NEED to follow ALL of hundred of mail dirs.

I think that battery life is the reason, why this feature is not implemented
in iPhone. It will use only one IMAP connection

so it is not "it's IMAP limitation"

As I told - IMAP limitation is to control only one folder

as proven by other devices there is no limitation
Can't you distinguish the protocol itself with limitation to follow only 
one dir and the realization with workaround to create many connections 
to follow all required dirs?
Just imagine that ActiveSync have no that limitation - it use only one 
connection for any count of mail dirs and therefore it's scalability is 
very good!

how does help me "save battery" if i have a folder-structure
maintained by sieve if i do not get my new mails?

If you open 10 connections to IMAP server and will IDLE on them - your phone
will wake up to reply for ping in every of that 10 connections.
Imagine if there will 100 folders?
Therefore IMAP really have limitation to use it on mobile devices

again: how does it help me if I NEED to check them?
Sure! If you NEED to check them - I guess you can find some app in Apple 
Store.

and no, IMAP has no limitations proven by Android-client
my Samsung Galaxy S3 has around 25 push folders

Yes, it has. The workaround is something else, that limitation itself.

no problem with K9 mail to have them in my "common inbox"
including my own sent messages while on the desktop i
use the folder structure and my battery has a average
lifetime of 1.5 days
Android's power consumption is a result of very many factors. Spherical 
1.5 days is something that have no any sense.




Re: [Dovecot] IMAP IDLE - iPhone?

2012-08-10 Thread Sergey S. Kovalev

10.08.2012 16:25, Timo Sirainen пишет:

how does help me "save battery" if i have a folder-structure
maintained by sieve if i do not get my new mails?

If you open 10 connections to IMAP server and will IDLE on them - your phone 
will wake up to reply for ping in every of that 10 connections.
Imagine if there will 100 folders?

Like mentioned previously in this thread, you can disable the "ping"s in 
Dovecot. And even when they happen Dovecot makes them happen at the same time. So I think 
the power usage difference between 1 connection and 100 connections isn't much.

I guess, there is no trick, that will change the linear complexity by 
traffic and by CPU usage.
If you can change settings in dovecot - you can set up ActiveSync there. 
It's more suitable for mobile mailing.




Re: [Dovecot] IMAP IDLE - iPhone?

2012-08-10 Thread Sergey S. Kovalev

10.08.2012 15:59, Reindl Harald пишет:

Am 10.08.2012 10:46, schrieb Sergey S. Kovalev:

10.08.2012 15:16, Reindl Harald пишет:

i have a Android with K9, a lot of folders where messages are stored
by sieve-scirpts and on my phone i can actively select which folders
should be used for push


Sure, it can do it in two ways: open several connections to imap server
(one per folder) or periodically change current directory and get changes.

typically the client opens a connecton for each folder to check

Sure, it's better.



But any of this solution will eat battery very fast, proportionally
to count of folders to check.

and that is why K9 on android let you select which folders
are relevant for you on the mobile and which should be
completly ignored and display the selected in "common inbox"
This is not an argument. You can have hundred of folders sorted by sieve 
and really need to know if there new mail in any of it.

I think that battery life is the reason, why this feature is not implemented
in iPhone. It will use only one IMAP connection

so it is not "it's IMAP limitation"

As I told - IMAP limitation is to control only one folder.

how does help me "save battery" if i have a folder-structure
maintained by sieve if i do not get my new mails?
If you open 10 connections to IMAP server and will IDLE on them - your 
phone will wake up to reply for ping in every of that 10 connections.

Imagine if there will 100 folders?
Therefore IMAP really have limitation to use it on mobile devices.

it's a limitation from Apple because they have not the
knowledge to implement relieable mail-clients see below
the removed posting on apple-support (first paragraphs
german but posting and answer from Apple below in english)
http://www.rhsoft.net/

I'm not fan of apple anyway, so do not interested in this discussion at all.

Sergey S. Kovalev.



Re: [Dovecot] IMAP IDLE - iPhone?

2012-08-10 Thread Sergey S. Kovalev

10.08.2012 15:16, Reindl Harald пишет:


Am 10.08.2012 09:08, schrieb Sergey S. Kovalev:

iPhone will not notify for new mail in any folder, except INBOX - it's IMAP 
limitation.
IMAP IDLE monitor only one selected folder.
If you need notifying of new mail in copule of mail folders you shold look for 
ActiveSync realization.
On small mailboxes it's z-push and tine20 for example - they can use IMAP 
server as backend.

this may be a IPHONE limitation as all the apple
clients are buggy like hell since years

i have a Android with K9, a lot of folders where messages are stored
by sieve-scirpts and on my phone i can actively select which folders
should be used for push

Sure, it can do it in two ways: open several connections to imap server 
(one per folder) or periodically change current directory and get 
changes. But any of this solution will eat battery very fast, 
proportionally to count of folders to check.
I think that battery life is the reason, why this feature is not 
implemented in iPhone. It will use only one IMAP connection.


Sergey S. Kovalev



Re: [Dovecot] IMAP IDLE - iPhone?

2012-08-10 Thread Sergey S. Kovalev

10.08.2012 09:44, dove...@noboost.org пишет:

Hi All,

Probably a very common question now days.
I'd like to configure our iPhones at work to go directly to my dovecot
server (currently dovecot-2.0.9-2.el6_1.1.x86_64). Using the IMAP IDLE
(push email) protocol.

Has anyone successfully deployed this? If yes, did you have to use an
app from the Apple store? For me the IMAP process works, however it's
clearly not notifying the client when new email is detected on the
server.

cya

Craig


iPhone will not notify for new mail in any folder, except INBOX - it's 
IMAP limitation.

IMAP IDLE monitor only one selected folder.
If you need notifying of new mail in copule of mail folders you shold 
look for ActiveSync realization.
On small mailboxes it's z-push and tine20 for example - they can use 
IMAP server as backend.


Sergey S. Kovalev