6 Replies Latest reply on Sep 15, 2006 1:19 AM by gohip

    Help, can not send email to hotmail.com?

    wrwttkl22

      I install a JBossMailServer1.0M4 by default.(see http://wiki.jboss.org/wiki/Wiki.jsp?page=HowToInstallJBossMailServer1.0M4) Certainly, I set a DNS for sending Email out.
      When I send emails from test@localhost to wrwttkl22@163.com, wrwttkl22@sohu.com or wrwttkl22@126.com, I can receive all with them. But
      I send an email from test@localhost to wrwttkl22@hotmail.com , I can not receive the email with wrwttkl22@hotmail.com.
      why?
      hlep! thank you!

        • 1. Re: Help, can not send email to hotmail.com?
          gohip

          is it going in the hotmail junk email folder?

          hotmails feisty about what it deems as junk mail

          good luck

          oh, look in your server logs, and see if it is at least connecting to the server (hotmail), you might see an error code?

          • 2. Re: Help, can not send email to hotmail.com?
            wrwttkl22

            Thank you!
            When I send email to Hotmail.com from test@localhost ,there are some wrong info in server:
            11:54:57,234 INFO [AbstractStore] Creating store item
            11:54:57,265 INFO [JMSMailListener] PUT MESSAGE ON QUEUE:org.jboss.mail.message
            .Mail@78b973
            11:54:57,375 INFO [ConnectionHandler] ConnectionHandler finished
            11:55:18,250 INFO [STDOUT] java.net.ConnectException: Connection timed out: con
            nect
            11:55:18,250 INFO [STDOUT] at java.net.PlainSocketImpl.socketConnect(Native
            Method)
            11:55:18,250 INFO [STDOUT] at java.net.PlainSocketImpl.doConnect(PlainSocke
            tImpl.java:333)
            11:55:18,250 INFO [STDOUT] at java.net.PlainSocketImpl.connectToAddress(Pla
            inSocketImpl.java:195)
            11:55:18,250 INFO [STDOUT] at java.net.PlainSocketImpl.connect(PlainSocketI
            mpl.java:182)
            11:55:18,250 INFO [STDOUT] at java.net.SocksSocketImpl.connect(SocksSocketI
            mpl.java:364)
            11:55:18,250 INFO [STDOUT] at java.net.Socket.connect(Socket.java:507)
            11:55:18,250 INFO [STDOUT] at java.net.Socket.connect(Socket.java:457)
            11:55:18,250 INFO [STDOUT] at java.net.Socket.(Socket.java:365)
            11:55:18,250 INFO [STDOUT] at java.net.Socket.(Socket.java:178)
            11:55:18,250 INFO [STDOUT] at org.columba.ristretto.smtp.SMTPProtocol.openP
            ort(SMTPProtocol.java:154)
            11:55:18,250 INFO [STDOUT] at org.jboss.mail.smtp.sender.SMTPSender.sendFor
            Domain(SMTPSender.java:443)
            11:55:18,250 INFO [STDOUT] at org.jboss.mail.smtp.sender.SMTPSender.send(SM
            TPSender.java:364)
            11:55:18,250 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(
            Native Method)
            11:55:18,250 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(N
            ativeMethodAccessorImpl.java:39)
            11:55:18,250 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invo
            ke(DelegatingMethodAccessorImpl.java:25)
            11:55:18,250 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:5
            85)
            11:55:18,250 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.
            invoke(ReflectedDispatcher.java:141)
            11:55:18,250 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invoc
            ation.java:80)
            11:55:18,250 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocat
            ion.java:72)
            11:55:18,250 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invo
            ke(AbstractMBeanInvoker.java:245)
            11:55:18,250 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
            eanServerImpl.java:644)
            11:55:18,250 INFO [STDOUT] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanP
            roxyExt.java:176)
            11:55:18,250 INFO [STDOUT] at $Proxy62.send(Unknown Source)
            11:55:18,250 INFO [STDOUT] at org.jboss.mail.mailhandler.remote.RemoteDeliv
            ery.deliver(RemoteDelivery.java:107)
            11:55:18,250 INFO [STDOUT] at org.jboss.mail.mailhandler.remote.RemoteDeliv
            ery.send(RemoteDelivery.java:54)
            11:55:18,250 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(
            Native Method)
            11:55:18,250 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(N
            ativeMethodAccessorImpl.java:39)
            11:55:18,250 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invo
            ke(DelegatingMethodAccessorImpl.java:25)
            11:55:18,250 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:5
            85)
            11:55:18,250 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.
            invoke(ReflectedDispatcher.java:141)
            11:55:18,250 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invoc
            ation.java:80)
            11:55:18,250 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocat
            ion.java:72)
            11:55:18,250 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invo
            ke(AbstractMBeanInvoker.java:245)
            11:55:18,250 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
            eanServerImpl.java:644)
            11:55:18,250 INFO [STDOUT] at javax.management.MBeanServerInvocationHandler
            .invoke(MBeanServerInvocationHandler.java:201)
            11:55:18,250 INFO [STDOUT] at $Proxy57.send(Unknown Source)
            11:55:18,250 INFO [STDOUT] at org.jboss.mail.MailListenerChainService.proce
            ssMail(MailListenerChainService.java:166)
            11:55:18,250 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(
            Native Method)
            11:55:18,250 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(N
            ativeMethodAccessorImpl.java:39)
            11:55:18,250 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invo
            ke(DelegatingMethodAccessorImpl.java:25)
            11:55:18,250 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:5
            85)
            11:55:18,250 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.
            invoke(ReflectedDispatcher.java:141)
            11:55:18,250 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invoc
            ation.java:80)
            11:55:18,250 INFO [STDOUT] at org.jboss.mx.interceptor.AbstractInterceptor.
            invoke(AbstractInterceptor.java:118)
            11:55:18,250 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocat
            ion.java:74)
            11:55:18,250 INFO [STDOUT] at org.jboss.mx.interceptor.ModelMBeanOperationI
            nterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
            11:55:18,250 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocat
            ion.java:74)
            11:55:18,250 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invo
            ke(AbstractMBeanInvoker.java:245)
            11:55:18,250 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
            eanServerImpl.java:644)
            11:55:18,250 INFO [STDOUT] at javax.management.MBeanServerInvocationHandler
            .invoke(MBeanServerInvocationHandler.java:201)
            11:55:18,250 INFO [STDOUT] at $Proxy95.processMail(Unknown Source)
            11:55:18,250 INFO [STDOUT] at org.jboss.mail.delivery.DeliveryMDB.onMessage
            (DeliveryMDB.java:72)
            11:55:18,250 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(
            Native Method)
            11:55:18,250 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(N
            ativeMethodAccessorImpl.java:39)
            11:55:18,250 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invo
            ke(DelegatingMethodAccessorImpl.java:25)
            11:55:18,250 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:5
            85)
            11:55:18,250 INFO [STDOUT] at org.jboss.invocation.Invocation.performCall(I
            nvocation.java:345)
            11:55:18,250 INFO [STDOUT] at org.jboss.ejb.MessageDrivenContainer$Containe
            rInterceptor.invoke(MessageDrivenContainer.java:475)
            11:55:18,250 INFO [STDOUT] at org.jboss.resource.connectionmanager.CachedCo
            nnectionInterceptor.invoke(CachedConnectionInterceptor.java:149)
            11:55:18,250 INFO [STDOUT] at org.jboss.ejb.plugins.MessageDrivenInstanceIn
            terceptor.invoke(MessageDrivenInstanceInterceptor.java:101)
            11:55:18,250 INFO [STDOUT] at org.jboss.ejb.plugins.CallValidationIntercept
            or.invoke(CallValidationInterceptor.java:48)
            11:55:18,250 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractTxInterceptor.i
            nvokeNext(AbstractTxInterceptor.java:106)
            11:55:18,250 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.runWit
            hTransactions(TxInterceptorCMT.java:335)
            11:55:18,250 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke
            (TxInterceptorCMT.java:166)
            11:55:18,250 INFO [STDOUT] at org.jboss.ejb.plugins.RunAsSecurityIntercepto
            r.invoke(RunAsSecurityInterceptor.java:94)
            11:55:18,250 INFO [STDOUT] at org.jboss.ejb.plugins.LogInterceptor.invoke(L
            ogInterceptor.java:192)
            11:55:18,250 INFO [STDOUT] at org.jboss.ejb.plugins.ProxyFactoryFinderInter
            ceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
            11:55:18,250 INFO [STDOUT] at org.jboss.ejb.MessageDrivenContainer.internal
            Invoke(MessageDrivenContainer.java:389)
            11:55:18,250 INFO [STDOUT] at org.jboss.ejb.Container.invoke(Container.java
            :873)
            11:55:18,250 INFO [STDOUT] at org.jboss.ejb.plugins.jms.JMSContainerInvoker
            .invoke(JMSContainerInvoker.java:1077)
            11:55:18,250 INFO [STDOUT] at org.jboss.ejb.plugins.jms.JMSContainerInvoker
            $MessageListenerImpl.onMessage(JMSContainerInvoker.java:1379)
            11:55:18,250 INFO [STDOUT] at org.jboss.jms.asf.StdServerSession.onMessage(
            StdServerSession.java:256)
            11:55:18,250 INFO [STDOUT] at org.jboss.mq.SpyMessageConsumer.sessionConsum
            erProcessMessage(SpyMessageConsumer.java:904)
            11:55:18,250 INFO [STDOUT] at org.jboss.mq.SpyMessageConsumer.addMessage(Sp
            yMessageConsumer.java:160)
            11:55:18,250 INFO [STDOUT] at org.jboss.mq.SpySession.run(SpySession.java:3
            33)
            11:55:18,250 INFO [STDOUT] at org.jboss.jms.asf.StdServerSession.run(StdSer
            verSession.java:180)
            11:55:18,250 INFO [STDOUT] at EDU.oswego.cs.dl.util.concurrent.PooledExecut
            or$Worker.run(PooledExecutor.java:748)
            11:55:18,250 INFO [STDOUT] at java.lang.Thread.run(Thread.java:595)
            11:55:18,250 ERROR [SMTPSender] Unble to send email.
            org.columba.ristretto.smtp.SMTPException: Wrong state!
            at org.columba.ristretto.smtp.SMTPProtocol.ensureState(SMTPProtocol.java
            :768)
            at org.columba.ristretto.smtp.SMTPProtocol.helo(SMTPProtocol.java:321)
            at org.jboss.mail.smtp.sender.SMTPSender.sendForDomain(SMTPSender.java:4
            49)
            at org.jboss.mail.smtp.sender.SMTPSender.send(SMTPSender.java:364)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
            java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
            sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
            er.java:141)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
            java:245)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
            at $Proxy62.send(Unknown Source)
            at org.jboss.mail.mailhandler.remote.RemoteDelivery.deliver(RemoteDelive
            ry.java:107)
            at org.jboss.mail.mailhandler.remote.RemoteDelivery.send(RemoteDelivery.
            java:54)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
            java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
            sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
            er.java:141)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
            java:245)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
            at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvoc
            ationHandler.java:201)
            at $Proxy57.send(Unknown Source)
            at org.jboss.mail.MailListenerChainService.processMail(MailListenerChain
            Service.java:166)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
            java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
            sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
            er.java:141)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
            or.java:118)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
            BeanOperationInterceptor.java:127)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
            java:245)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
            at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvoc
            ationHandler.java:201)
            at $Proxy95.processMail(Unknown Source)
            at org.jboss.mail.delivery.DeliveryMDB.onMessage(DeliveryMDB.java:72)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
            java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
            sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
            at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(Mess
            ageDrivenContainer.java:475)
            at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invo
            ke(CachedConnectionInterceptor.java:149)
            at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(Message
            DrivenInstanceInterceptor.java:101)
            at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidation
            Interceptor.java:48)
            at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte
            rceptor.java:106)
            at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep
            torCMT.java:335)
            at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:1
            66)
            at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityIn
            terceptor.java:94)
            at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
            at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFacto
            ryFinderInterceptor.java:122)
            at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenCont
            ainer.java:389)
            at org.jboss.ejb.Container.invoke(Container.java:873)
            at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvo
            ker.java:1077)
            at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onM
            essage(JMSContainerInvoker.java:1379)
            at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:25
            6)
            at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMess
            ageConsumer.java:904)
            at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:16
            0)
            at org.jboss.mq.SpySession.run(SpySession.java:333)
            at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)
            at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExec
            utor.java:748)
            at java.lang.Thread.run(Thread.java:595)
            11:55:18,250 INFO [JMSMailListener] PUT MESSAGE ON QUEUE:org.jboss.mail.message
            .MailRetryWrapper@195ba08

            • 3. Re: Help, can not send email to hotmail.com?
              gohip

              it sounds like your DNS is screwed up, or your network connection, it doesnt look like your even connecting to it at all

              you should see, as you did with the other test emails you sent, a section of output, where the two servers are communicating the data. hot mails bad, it's feisty when it comes to junk mail, but not that feisty, you might try capturing your network packets, and see whats going on

              are those two other .com's within your org, or outside it, i.e. are you just having trouble connecting to mail servers outside the organization?

              • 4. Re: Help, can not send email to hotmail.com?
                gohip

                oh, and at least put in a real domain, or an ip address, as your mail servers domain, or you might possibly get completely rejected by the mailserver your attempting to connect to...you never know!

                • 5. Re: Help, can not send email to hotmail.com?
                  wrwttkl22

                  Thank you!
                  That is the problem. I put a real domain ,that is ok.

                  • 6. Re: Help, can not send email to hotmail.com?
                    gohip

                    what...it worked? Nice, I didnt think they were that strict...Now if you can just avoid there spam folder!