On Wed, 18 Feb 2009, Dave Halsema wrote:
I can give a thumbs up to Mark's hack to allow burping when BlackBerry
devices are involved. It is working for us and we will be making
it available here soon. Thank you for your advice and help Mark,
it is much appreciated.
Contributions are always appreciated... ;-)
To mitigate any unknown side effects, we simply have another version
of the IMAP server (imapd-bis) which runs on an alternate port, and
is only provided to BlackBerry devices through port redirection from
RIM source IP addresses.
The main side effect seems to be the loss of useful \Recent flag
functionality for BlackBerry users. Readonly mode does not impact the
handling of \Recent, but the hack removes readonly mode from imapd.
With what you have, it only happens to BlackBerry users and not to users
of other applications that may depend upon readonly mode. Also, a solely
BlackBerry user probably won't care; but users who use both BlackBerry and
other clients (e.g., me with Alpine!) are more likely to care.
From a purely technical perspective, I would be curious to know if
you did something similar in your setup Mark, or if you identify
BlackBerry clients in a different manner.
Basically, I did what you do by port redirection via code in imapd itself.
Any client coming from a *.blackberry.com source gets a blackberry flag
switched on internally in imapd which then activates the hack.
I'm not sure if trying to enumerate all RIM source IP addresses, or
assuming that a *.blackberry.com will catch them all (I don't know what is
done for BIS outside of North America...), is better. Maybe a combination
of both.
The correct thing is completely different and far more complex. It
involves a redesign of what readonly mode means, and how it is
implemented in the drivers. I probably will only do it for mix format,
and only in Panda IMAP.
-- Mark --
http://panda.com/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.
_______________________________________________
Imap-uw mailing list
[email protected]
http://mailman2.u.washington.edu/mailman/listinfo/imap-uw