Planet OBM

February 13, 2010

Thomas Cataldo

Jabber in minig

After a first experiment, we are now committed to complete chat support in minig.

Here is a screenshot showing what already works.

by noreply@blogger.com (Thomas Cataldo) at February 13, 2010 01:47 PM

February 09, 2010

Thomas Cataldo

Filters in MiniG for 2.3.2

After 6 month with filters code disabled in MiniG, I finally took the last steps to enable them : vacation & forward handling using OBM infos.

The finishing touch was pretty boring :
  • adding APIs to OBM sync for updating forward and vacation infos in the UserObm table.
  • Completing the vacation ui in MiniG
  • Adding an interface to set email forwarding


Well it's done and will be available with all 2.3.2+ obm installs.

Everything is not perfect : obm vacation & forward modules must be disabled as they have no knowledge of the filters stored in minig private database. A quick fix is possible as making an HTTP POST to minig-backend/regenerateSieve.do (login/password required) will generate a correct sieve script with forward, vacation & filter rules.

by noreply@blogger.com (Thomas Cataldo) at February 09, 2010 08:53 PM

February 04, 2010

Sylvain Garcia

Openjdk or sunjdk for OBM part1

Today i had a bad relation with openjdk. I'm in charge of minig packaging, which is full java webmail in two parts, eclipse product for the backend, gwt for the frontend.

On redhat, i can't build minig with openjdk because the build crash because of openjdk, so i use jpackage (so sun-jdk) to build. To run minig, today there is a "require" on openjdk, but i think, and thomas also that we must use sun-jdk. If the build crash with openjdk, the run can be unstable with this...

Now, on debian. Cool!! there is sun jdk which is available on debian. But by my mistake i had build minig with "javac" from openjdk, and the build don't crash!!!! But on install, with the use of sun-jdk minig crash with strange, and ramdom error on multiple build...
So, I built a minig with sun-jdk and now, works like a charm!!!

SO what is the moral of the story? openjdk is doesnt ready for production for us, and I will review rpm packaging to force to use sun-jdk instead of openjdk in rpm package, this is my next task for rpm packaging.


And now how use sun-jdk on centos or redhat?


"The Sun license concerning distribution of Java (through to Java 6) contains clauses, the terms of which, the CentOS team have concluded they cannot meet. Conversations with Sun's representatives on a modified distribution license were underway in August 2008 but they did not yield fruit. Seemingly Sun was looking forward to the more free, later, Java releases (on the horizon, upstream) in our upstream's Fedora project."

  • Grr isn't a simple a "yum install sun-jdk" like a debian ( i loveeeeee redhat!! ). and it seems that they don't have official yum repository too intall sun-jdk on centos or redhat.
  • use jpackage?
No because i can't propose to user to sign DLJ on rpm before rpm installation.
No because it seems that the last update is very old(and maybe not maintain). The latest version of jpackage is jdk 1.6.0 update 11 (http://mirrors.dotsrc.org/jpackage/1.7/generic/SRPMS.non-free/)
  • use binary of sun-jdk dlj version, like jpackage?
No because i can't propose to user to sign DLJ on rpm before rpm installation.
No because i don't want repackage and become a maintener of a package like a jpackage for obm....

So what???
I think that the best solution is to use rpm version of official sun jdk from SUN. But There are at big constraint, all java component require a manual download and installation on each install.
I will test installation of this package and all JAVA path on obm's java components next weeks.
The result will be in future post.

If anyone has a solution i'm here

by noreply@blogger.com (Sylvain Garcia) at February 04, 2010 08:51 PM

January 29, 2010

Thomas Cataldo

Back in Toulouse

Just spent one month in Paris to meet few customers and give some training to our Paris "obm core team".

Some projects are now on track : Gilles Blanc is working on a BES (Blackberry Enterprise Server) connector for OBM. Nicolas Chauvet is deploying OBM+MiniG servers and should soon work on improving our redhat packages.

While in Paris, Thomas Chemineau gave Sylvain & I a big training session on LemonLDAP. While I hate having all my code proxied by some perl crap, LemonLDAP is pretty cool. At least it is the only SSO solution that works as a proxy and gives you clean single sign out. I did a simple diagram on how we could implement minig sso using lemon.

This week I'll work on finishing MiniG sieve filtering code :
  • handle vacation settings from obm
  • use email forwarding infos from the obm database

by noreply@blogger.com (Thomas Cataldo) at January 29, 2010 08:47 PM