{"id":206,"date":"2011-08-15T10:14:21","date_gmt":"2011-08-15T08:14:21","guid":{"rendered":"http:\/\/diablo.craem.net\/wordpress\/?p=206"},"modified":"2011-08-15T10:14:21","modified_gmt":"2011-08-15T08:14:21","slug":"migrando-exchange-2010-a-zarafa-7-x-parte-3","status":"publish","type":"post","link":"https:\/\/diablo.craem.net\/?p=206","title":{"rendered":"Migrando Exchange 2010 a Zarafa, parte 3"},"content":{"rendered":"<p>Una vez finalizada la instalaci\u00f3n, paramos el servicio zarafa-server.<br \/>\n<strong>root@zeus#\/etc\/init.d\/zarafa-server stop<\/strong><br \/>\nPrimero de todo, configuramos el apache2 para que nos muestre correctamente los acentos, e\u00f1es y dem\u00e1s c\u00f3digos ascii de la manera correcta en nuestro explorador. Nos vamos al fichero \/etc\/apache2\/envvars y cambiamos:<br \/>\n<strong><br \/>\n## The locale used by some modules like mod_dav<br \/>\nexport LANG=C<br \/>\n## Uncomment the following line to use the system default locale instead:<br \/>\n#. \/etc\/default\/locale<br \/>\n<\/strong><br \/>\npor esto otro:<br \/>\n<strong><br \/>\n## The locale used by some modules like mod_dav<br \/>\n#export LANG=C<br \/>\nexport LANG=\u00bbes_ES.utf8&#8243;<br \/>\n## Uncomment the following line to use the system default locale instead:<br \/>\n#. \/etc\/default\/locale<br \/>\n<\/strong><br \/>\nReinciamos el apache2<br \/>\n<strong>root@zeus#\/etc\/init.d\/apache2 force-reload<\/strong><br \/>\nImportante, sin\u00f3 veremos como en el webaccess (que es muy bueno), los acentos se traducen a &#8216;?&#8217; y resulta bastante frustante.<br \/>\nAhora editamos el fichero de configuraci\u00f3n de zarafa, <strong>server.cfg<\/strong>, en la carpeta \/etc\/zarafa y, en mi caso, hago los siguientes cambios:<br \/>\n<strong><br \/>\n# e-mail address of the Zarafa System user<br \/>\nsystem_email_address    = craem@craem.net<br \/>\n##############################################################<br \/>\n# MYSQL SETTINGS (for database_engine = mysql)<br \/>\n# MySQL hostname to connect to for database access<br \/>\nmysql_host              = localhost<br \/>\n# MySQL port to connect with (usually 3306)<br \/>\nmysql_port              = 3306<br \/>\n# The user under which we connect with MySQL<br \/>\nmysql_user              = root<br \/>\n# The password for the user (leave empty for no password)<br \/>\nmysql_password          = miPasswordMySQL<br \/>\n# Override the default MySQL socket to access mysql locally<br \/>\n# Works only if the mysql_host value is empty or &#8216;localhost&#8217;<br \/>\nmysql_socket            =<br \/>\n# Database to connect to<br \/>\nmysql_database          = zarafa<br \/>\n##############################################################<br \/>\n#  USER PLUGIN SETTINGS<br \/>\n# Name of the plugin that handles users<br \/>\n# Required, default = ldap<br \/>\n# Values: ldap, unix, db, ldapms (available in enterprise license)<br \/>\nuser_plugin             = ldap<br \/>\n# configuration file of the user plugin, examples can be found in \/usr\/share\/zarafa\/example-config<br \/>\nuser_plugin_config      = \/etc\/zarafa\/ldap.cfg<br \/>\n# location of the zarafa plugins<br \/>\n# if you have a 64bit distribution, this probably should be changed to \/usr\/lib64\/zarafa<br \/>\nplugin_path             = \/usr\/lib\/zarafa<br \/>\n<\/strong><br \/>\nEn mi caso, la auth de los usuarios es sobre ldap&#8230; me gusta la idea de unificar todos los <em>logins<\/em> contra una \u00fanica BBDD, siendo para m\u00ed\u00ad:<br \/>\n&#8211; Wifi 802.1x \/ radius<br \/>\n&#8211; Openfire<br \/>\n&#8211; Zarafa<br \/>\n&#8211; Acceso VPN \/ radius<br \/>\nEn vez de tener usuarios locales para cada programa \/ aplicaci\u00f3n, configuro una \u00fanica vez y cuando lo cambio, lo hago para todos.<br \/>\nSeguimos configurando zarafa, ahora le toca al <em>dagent<\/em>, que es el <em>daemon<\/em> encargado de entregar el correo localmente al zarafa. Nos vamos al directorio <em>\/etc\/default<\/em> y editamos el fichero <em>zarafa<\/em><br \/>\nCambiamos:<br \/>\n<strong><br \/>\n# Common defaults for all daemons<br \/>\nZARAFA_LOCALE=\u00bbes_ES.utf8&#8243;<br \/>\n# Set this to &#8216;yes&#8217; to enable the zarafa-dagent to start in LMTP mode<br \/>\nDAGENT_ENABLED=yes<br \/>\n<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Una vez finalizada la instalaci\u00f3n, paramos el servicio zarafa-server. root@zeus#\/etc\/init.d\/zarafa-server stop Primero de todo, configuramos el apache2 para que nos muestre correctamente los acentos, e\u00f1es y dem\u00e1s c\u00f3digos ascii de la manera correcta en nuestro explorador. Nos vamos al fichero \/etc\/apache2\/envvars y cambiamos: ## The locale used by some modules like mod_dav export LANG=C ## [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[58,70,102,106,134,201],"class_list":["post-206","post","type-post","status-publish","format-standard","hentry","category-linux","tag-debian","tag-exchange","tag-linux-2","tag-migrar-exchange-a-zarafa","tag-openldap","tag-zarafa"],"_links":{"self":[{"href":"https:\/\/diablo.craem.net\/index.php?rest_route=\/wp\/v2\/posts\/206","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/diablo.craem.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/diablo.craem.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/diablo.craem.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/diablo.craem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=206"}],"version-history":[{"count":0,"href":"https:\/\/diablo.craem.net\/index.php?rest_route=\/wp\/v2\/posts\/206\/revisions"}],"wp:attachment":[{"href":"https:\/\/diablo.craem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/diablo.craem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/diablo.craem.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}