{"id":217,"date":"2011-08-15T11:13:55","date_gmt":"2011-08-15T09:13:55","guid":{"rendered":"http:\/\/diablo.craem.net\/wordpress\/?p=217"},"modified":"2011-08-15T11:13:55","modified_gmt":"2011-08-15T09:13:55","slug":"migrando-exchange-2010-a-zarafa-parte-5","status":"publish","type":"post","link":"https:\/\/diablo.craem.net\/?p=217","title":{"rendered":"Migrando Exchange 2010 a Zarafa, parte 5"},"content":{"rendered":"<p>Ahora configuraremos de manera correcta postfix, que ser\u00e1 el encargado de recoger el correo del antispam y entregarlo al <em>lmtp<\/em> local.<br \/>\n<strong><br \/>\nroot@zeus#apt-get remove exim4 exim4-doc<br \/>\nroot@zeus#apt-get install postfix postfix-ldap postfix-doc<br \/>\n<\/strong><br \/>\nAhora configuramos postfix, en <em>\/etc\/postfix<\/em><br \/>\nEditamos el fichero main.cf y lo dejamos tal que:<br \/>\n<strong><br \/>\nmyhostname      = zeus.craem.net<br \/>\nmydomain        = craem.net<br \/>\ninet_interfaces = all<br \/>\nmydestination   = $hostname, localhost.$mydomain, localhost<br \/>\nmynetworks      = 192.168.0.0\/16, 127.0.0.0\/8<br \/>\nrelayhost       = 192.168.2.2<br \/>\nzarafa_destination_recipient_limit = 1<br \/>\nvirtual_transport = zarafa:<br \/>\n#<br \/>\nvirtual_mailbox_domains = craem.net, misdominiosSeparadosPorComas<br \/>\nzarafa_destination_recipient_limit = 1<br \/>\nvirtual_mailbox_maps    = ldap:\/etc\/postfix\/ldap-users.cf<br \/>\nvirtual_alias_maps      = ldap:\/etc\/postfix\/ldap-aliases.cf<br \/>\nvirtual_transport       = lmtp:127.0.0.1:2003<br \/>\n# mail size an some generic settings<br \/>\nmessage_size_limit              = 15360000<br \/>\ndelay_notice_recipient          = craem@craem.net<br \/>\nbounce_notice_recipient         = craem@craem.net<br \/>\n2bounce_notice_recipient        = craem@craem.net<br \/>\nerror_notice_recipient          = craem@craem.net<br \/>\n<\/strong><br \/>\nAhora el fichero <em>ldap-aliases<\/em><br \/>\n<strong><br \/>\nserver_host     = 192.168.2.5<br \/>\nsearch_base     = dc=craem,dc=net<br \/>\nversion         = 3<br \/>\nbind            = yes<br \/>\nbind_dn         = uid=admin,dc=craem,dc=net<br \/>\nbind_pw         = passwordUsuario<br \/>\nscope           = sub<br \/>\nquery_filter    = (zarafaAliases=%s)<br \/>\nresult_attribute        = mail<br \/>\n<\/strong><br \/>\nY ahora el fichero ldap-users.cfg<br \/>\n<strong><br \/>\nserver_host = 192.168.2.5<br \/>\nsearch_base = dc=craem,dc=net<br \/>\nversion = 3<br \/>\nscope = sub<br \/>\nquery_filter = (mail=%s)<br \/>\nresult_attribute = mail<br \/>\nbind = yes<br \/>\nbind_dn = cn=admin,dc=craem,dc=net<br \/>\nbind_pw = passwordUsuarioLdap<br \/>\n<\/strong><br \/>\nEditamos el fichero master.cf y a\u00f1adimos al final:<br \/>\n<strong><br \/>\nzarafa unix &#8211; n n &#8211; 10 pipe<br \/>\n  flags= user=vmail argv=\/usr\/bin\/zarafa-dagent ${user}<br \/>\n<\/strong><br \/>\nReiniciamos <em>Postfix<\/em>, con <em>\/etc\/init.d\/postfix restart<\/em>.<br \/>\nEn principio, tenemos zarafa de la siguiente manera:<br \/>\n&#8211; Buzones creados con ldap<br \/>\n&#8211; WebAccess funcionando<br \/>\n&#8211; El idioma configurado correctamente<br \/>\n&#8211; Entrega y recibe correo local y externamente<br \/>\nNos queda por configurar:<br \/>\n&#8211; Webaccess por SSL<br \/>\n&#8211; ActiveSync<br \/>\n&#8211; Copias de seguridad.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ahora configuraremos de manera correcta postfix, que ser\u00e1 el encargado de recoger el correo del antispam y entregarlo al lmtp local. root@zeus#apt-get remove exim4 exim4-doc root@zeus#apt-get install postfix postfix-ldap postfix-doc Ahora configuramos postfix, en \/etc\/postfix Editamos el fichero main.cf y lo dejamos tal que: myhostname = zeus.craem.net mydomain = craem.net inet_interfaces = all mydestination = [&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-217","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\/217","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=217"}],"version-history":[{"count":0,"href":"https:\/\/diablo.craem.net\/index.php?rest_route=\/wp\/v2\/posts\/217\/revisions"}],"wp:attachment":[{"href":"https:\/\/diablo.craem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=217"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/diablo.craem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=217"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/diablo.craem.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}