changes to work out of the box with zentyal-sogo

(patch by Jorge Salamero)