• Problemas con envío de Email

  • OpenKM tiene muchas características interesantes, pero es necesario un proceso de configuración para mostrar todo su potencial.
OpenKM tiene muchas características interesantes, pero es necesario un proceso de configuración para mostrar todo su potencial.
Forum rules: Por favor, antes de preguntar algo consulta el wiki de documentación o utiliza la función de búsqueda del foro. Recuerda que no tenemos una bola de cristal ni poderes mentales, o sea que que para informar sobre un error es necesario que nos indiques tanto la versión de OpenKM que usas como la del navegador y sistema operativo. Para más información consulta Cómo informar de fallos de forma efectiva.
 #3083  by Jimmydc
 
Hola,
tengo problemsa al enviar correos de notificación. Ya que cuando envío uno en el correo de hotmail donde lo mando, no aparece nada.
Ya tengo configurado el postfix y el mensaje de la consola cuando trato de enviar un mensaje es:
Code: Select all
14:20:44,955 INFO  [STDOUT] DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
14:20:44,958 INFO  [STDOUT] DEBUG SMTP: useEhlo true, useAuth true
14:20:44,958 INFO  [STDOUT] DEBUG SMTP: useEhlo true, useAuth true
14:20:44,958 INFO  [STDOUT] DEBUG SMTP: trying to connect to host \"alex-desktop\", port 25, isSSL false
14:20:44,959 INFO  [STDOUT] 220 alex-desktop ESMTP Postfix (Ubuntu)
14:20:44,959 INFO  [STDOUT] DEBUG SMTP: connected to host \"alex-desktop\", port: 25
14:20:44,959 INFO  [STDOUT] EHLO alex-desktop
14:20:44,959 INFO  [STDOUT] 250-alex-desktop
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
14:20:44,960 INFO  [STDOUT] DEBUG SMTP: Found extension \"PIPELINING\", arg \"\"
14:20:44,964 INFO  [STDOUT] DEBUG SMTP: Found extension \"SIZE\", arg \"10240000\"
14:20:44,964 INFO  [STDOUT] DEBUG SMTP: Found extension \"VRFY\", arg \"\"
14:20:44,965 INFO  [STDOUT] DEBUG SMTP: Found extension \"ETRN\", arg \"\"
14:20:44,965 INFO  [STDOUT] DEBUG SMTP: Found extension \"STARTTLS\", arg \"\"
14:20:44,965 INFO  [STDOUT] DEBUG SMTP: Found extension \"ENHANCEDSTATUSCODES\", arg \"\"
14:20:44,965 INFO  [STDOUT] DEBUG SMTP: Found extension \"8BITMIME\", arg \"\"
14:20:44,965 INFO  [STDOUT] DEBUG SMTP: Found extension \"DSN\", arg \"\"
14:20:44,965 INFO  [STDOUT] DEBUG SMTP: use8bit false
14:20:44,965 INFO  [STDOUT] MAIL FROM:<alejandro_erdozain@hotmail.com>
14:20:44,965 INFO  [STDOUT] 250 2.1.0 Ok
14:20:44,965 INFO  [STDOUT] RCPT TO:<alejandro_erdozain@hotmail.com>
14:20:44,971 INFO  [STDOUT] 250 2.1.5 Ok
14:20:44,981 INFO  [STDOUT] DEBUG SMTP: Verified Addresses
14:20:44,981 INFO  [STDOUT] DEBUG SMTP:   alejandro_erdozain@hotmail.com
14:20:44,981 INFO  [STDOUT] DATA
14:20:44,981 INFO  [STDOUT] 354 End data with <CR><LF>.<CR><LF>
14:20:44,981 INFO  [STDOUT] Date: Mon, 7 Sep 2009 14:20:44 +0100 (GMT+01:00)
From: alejandro_erdozain@hotmail.com
To: alejandro_erdozain@hotmail.com
Message-ID: <10889280.21252329644955.JavaMail.alex@alexCorreo.es>
Subject: OpenKM - NOTIFICATION - /okm:root/pepe/Copper Cable Certification
 wiki.pdf
MIME-Version: 1.0
Content-Type: text/html ; charset=UTF-8
Content-Transfer-Encoding: 7bit
charset: UTF-8

<html><body><b>Document: </b><a href=\"http://172.27.250.131:8080/OpenKM/es.git.openkm.frontend.Main/index.jsp ?docPath=%2Fokm%3Aroot%2Fpepe%2FCopper+Cable+Certification+wiki.pdf\">/okm:root/pepe/Copper Cable Certification wiki.pdf</a><br/><b>User: </b>admin<br/><b>Message: </b>sdadasdasdasd<br/></body></html>
.
14:20:45,022 INFO  [STDOUT] 250 2.0.0 Ok: queued as EBE38A00B8
14:20:45,022 INFO  [STDOUT] QUIT
14:20:45,023 INFO  [STDOUT] 221 2.0.0 Bye
Mi config en el mail-service.xml es:
Code: Select all
<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<!-- $Id: mail-service.xml 62349 2007-04-15 16:48:15Z dimitris@jboss.org $ -->
<server>

  <!-- ==================================================================== -->
  <!-- Mail Connection Factory                                              -->
  <!-- ==================================================================== -->

  <mbean code=\"org.jboss.mail.MailService\"
         name=\"jboss:service=OpenKM\">
    <attribute name=\"JNDIName\">java:/mail/OpenKM</attribute>
    <attribute name=\"User\">user</attribute>
    <attribute name=\"Password\">pasword</attribute>
    <attribute name=\"Configuration\">
      <!-- A test configuration -->
      <configuration>
        <!-- Change to your mail server prototocol -->       
	 <property name=\"mail.store.protocol\" value=\"pop3\"/>
        <property name=\"mail.transport.protocol\" value=\"smtp\"/>
	<property name=\"mail.smtp.auth\" value=\"true\"/>

        <!-- Change to the user who will receive mail  -->
        <property name=\"mail.user\" value=\"alex\"/>

        <!-- Change to the mail server  -->
        <property name=\"mail.pop3.host\" value=\"pop3.nosuchhost.nosuchdomain.com\"/>

        <!-- Change to the SMTP gateway server -->
        <property name=\"mail.smtp.host\" value=\"alex-desktop\"/>
        
        <!-- The mail server port -->
        <property name=\"mail.smtp.port\" value=\"25\"/>
        
        <!-- Change to the address mail will be from  -->
        <property name=\"mail.from\" value=\"alex@alexCorreo.es\"/>

        <!-- Enable debugging output from the javamail classes -->
        <property name=\"mail.debug\" value=\"true\"/>
      </configuration>
    </attribute>
    <depends>jboss:service=Naming</depends>
  </mbean>

</server>
Muchas gracias!!
 #3084  by Jimmydc
 
Bueno, parece ser que ya está arreglado el problema.
Cambiando:
<attribute name=\"User\">usuario</attribute>
<attribute name=\"Password\">clave</attribute>
Poniendo un usuario y password del so.
El problema que tuve en las pruebas, es que no miraba el correo no deseado en hotmail.
 #3087  by jllort
 
OK, nos alegramos que lo hayas solucionado. Los ficheros de configuración xml siempre son tediosos y mas estos que muchas veces es un tema de prueba error. Pero una vez configurado y entendido el mismo, el tema es bastante sencillo.
 #6375  by frank11
 
jllort wrote:OK, nos alegramos que lo hayas solucionado. Los ficheros de configuración xml siempre son tediosos y mas estos que muchas veces es un tema de prueba error. Pero una vez configurado y entendido el mismo, el tema es bastante sencillo.
Alquien puede echarme una mano con los paso a seguir para configurar esto?.Estoy un poco desesperado.Muchas gracias de antemano
 #6382  by jllort
 
El tema esta muy claro:

Configurar el fichero mail-service.xml dentro del directorio deploy con lo datos de tu cuenta de mail ( que es la que OpenKM utilizara para enviar mails )
http://wiki.openkm.com/index.php/JBoss_ ... figuration

Cuando esto te funcione, puedes modificar el texto que aparece por defecto en los mensaje, para eso leete:
http://wiki.openkm.com/index.php/Notifi ... n_messages

no hay mas misterio

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.