2 Replies Latest reply on Oct 4, 2004 4:47 AM by innovate

    Mail-Module Problem

    innovate Newbie

      Hi,

      I have a problem with the mail module. I have set the Gateway in the JMX-Console to our SMTP-Proxy which delivers and receives all our emails. In the log I can see, that the mail module connects to the outside smtp's instead of using the gateway. Is that correct or have I misunderstand the word Gatway?

      2004-09-30 07:36:39,546 INFO [org.jboss.nukes.core.modules.mail.MailModule] DEBUG: setDebug: JavaMail version 1.3
      2004-09-30 07:36:39,547 INFO [org.jboss.nukes.core.modules.mail.MailModule] DEBUG: getProvider() returning javax.mail.Provid
      er[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
      2004-09-30 07:36:39,547 INFO [org.jboss.nukes.core.modules.mail.MailModule] DEBUG SMTP: useEhlo true, useAuth false
      2004-09-30 07:36:39,547 INFO [org.jboss.nukes.core.modules.mail.MailModule]
      DEBUG: SMTPTransport trying to connect to host "mxzhh.bluewin.ch.", port 25
      2004-09-30 07:36:39,566 INFO [org.jboss.nukes.core.modules.mail.MailModule] DEBUG SMTP RCVD: 220 mx4.bluewin.ch ESMTP Servic
      e (Bluewin AG 7.0.030.2) ready
      2004-09-30 07:36:39,566 INFO [org.jboss.nukes.core.modules.mail.MailModule] DEBUG: SMTPTransport connected to host "mxzhh.bl
      uewin.ch.", port: 25
      2004-09-30 07:36:39,566 INFO [org.jboss.nukes.core.modules.mail.MailModule] DEBUG SMTP SENT: EHLO linux-serv1.innovate-it.ch
      2004-09-30 07:36:39,571 INFO [org.jboss.nukes.core.modules.mail.MailModule] DEBUG SMTP RCVD: 250-mx4.bluewin.ch
      250-8BITMIME
      250-PIPELINING
      250-HELP
      250-AUTH DIGEST-MD5
      250 SIZE 26214400
      2004-09-30 07:36:39,571 INFO [org.jboss.nukes.core.modules.mail.MailModule] DEBUG SMTP Found extension "8BITMIME", arg ""
      2004-09-30 07:36:39,572 INFO [org.jboss.nukes.core.modules.mail.MailModule] DEBUG SMTP Found extension "PIPELINING", arg ""
      2004-09-30 07:36:39,572 INFO [org.jboss.nukes.core.modules.mail.MailModule] DEBUG SMTP Found extension "HELP", arg ""
      2004-09-30 07:36:39,572 INFO [org.jboss.nukes.core.modules.mail.MailModule] DEBUG SMTP Found extension "AUTH", arg "DIGEST-M
      D5"
      2004-09-30 07:36:39,572 INFO [org.jboss.nukes.core.modules.mail.MailModule] DEBUG SMTP Found extension "SIZE", arg "26214400
      "
      2004-09-30 07:36:39,573 INFO [org.jboss.nukes.core.modules.mail.MailModule] DEBUG SMTP: use8bit false
      2004-09-30 07:36:39,573 INFO [org.jboss.nukes.core.modules.mail.MailModule] DEBUG SMTP SENT: MAIL FROM:<support@e-fon.ch>
      2004-09-30 07:36:49,583 INFO [org.jboss.nukes.core.modules.mail.MailModule] DEBUG SMTP RCVD:
      2004-09-30 07:36:49,584 INFO [org.jboss.nukes.core.modules.mail.MailModule] DEBUG SMTP SENT: QUIT
      2004-09-30 07:36:49,584 ERROR [org.jboss.nukes.component.Component.mail] Problem while delivering serialId=132
      javax.mail.MessagingException:
       at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:923)
       at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:643)
       at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:322)
       at org.jboss.nukes.core.modules.mail.MailModule.deliver(MailModule.java:517)
       at org.jboss.nukes.core.modules.mail.MailModule.deliver(MailModule.java:464)
       at org.jboss.nukes.core.modules.mail.MailModule$MyMessage.run(MailModule.java:591)
       at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExecutor.java:88)
       at java.lang.Thread.run(Thread.java:534)



      I assume, that the missing dns reverse lookup of the host linux-serv1.innovate-it.ch causes the problem with delivery the mail. Is there a way to tell JavaMail to use another hostname instead of linux-serv1?

      Regards,

      Cyrill