2 Replies Latest reply on Aug 18, 2006 4:44 PM by cvasilak

    Problem sending/receiving

    cvasilak

      Hello there,
      i have just installed M5-pre server. I have followed the wiki pages for installing and configuring. Unfortunately when trying to send or receive i get the following in the console:
      12:46:28,230 INFO [ConnectionHandler] connected: /212.251.99.190 to: /212.251.99.190 until: 1155894508228
      12:46:28,333 ERROR [STDERR] javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
      12:46:28,334 ERROR [STDERR] at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:352)
      1

      I have enabled TLS as described in the WIKI, I have accepted the certificate that thunderbird pops up but....

      Any ideas?

      Thanks in advance.

        • 1. Re: Problem sending/receiving
          acoliver

          This is ususally just a warning saying that the client doesn't also have a cert.

          • 2. Re: Problem sending/receiving
            cvasilak

            Andrew thanks for your reply,

            what i forgot to mention in my previous post is that:

            when doing Get Mail thunderbird pops up a dialog saying "Sending of password did not suceed. Mail server localhost responded: Mailbox locked"

            and i get this in the console
            ----Beginning dump---
            23:25:42,362 INFO [Server] waiting for request
            23:25:42,452 INFO [ConnectionHandler] connected: /127.0.0.1 to: /127.0.0.1 until: 1155932862359
            23:25:42,947 ERROR [STDERR] javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
            23:25:42,948 ERROR [STDERR] at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:352)
            23:25:42,949 ERROR [STDERR] at org.jboss.mail.pop3.handlers.CmdSTLS$1.handshakeCompleted(CmdSTLS.java:110)
            23:25:42,949 ERROR [STDERR] at com.sun.net.ssl.internal.ssl.SSLSocketImpl$NotifyHandshakeThread$1.run(SSLSocketImpl.java:2064)
            23:25:42,949 ERROR [STDERR] at java.security.AccessController.doPrivileged(Native Method)
            23:25:42,950 ERROR [STDERR] at com.sun.net.ssl.internal.ssl.SSLSocketImpl$NotifyHandshakeThread.run(SSLSocketImpl.java:2062)
            23:25:48,544 WARN [CmdUSER] pop username set to cvasilak
            23:25:48,715 ERROR [STDERR] java.lang.NullPointerException
            23:25:48,716 ERROR [STDERR] at org.jboss.mail.pop3.POP3ProtocolInstance.lock(POP3ProtocolInstance.java:377)
            23:25:48,716 ERROR [STDERR] at org.jboss.mail.pop3.handlers.CmdPASS.handleRequest(CmdPASS.java:102)
            23:25:48,717 ERROR [STDERR] at org.jboss.mail.pop3.POP3ProtocolInstance.handleRequest(POP3ProtocolInstance.java:211)
            23:25:48,717 ERROR [STDERR] at org.jboss.mail.ConnectionHandler.runSocket(ConnectionHandler.java:205)
            23:25:48,718 ERROR [STDERR] at org.jboss.mail.ConnectionHandler.run(ConnectionHandler.java:97)
            23:25:48,718 ERROR [STDERR] at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
            23:25:48,718 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)
            23:25:48,854 INFO [ConnectionHandler] ConnectionHandler finished

            ---End of Dump---

            Further, when trying to send a message thunderbird succeeds on sending but...on the server i get the following in the console: (Don't know if the mail is on the store cause i can't get mail as said earlier.)

            ----Beginning dump---
            23:35:39,427 INFO [ConnectionHandler] connected: /127.0.0.1 to: /127.0.0.1 until: 1155933459426
            23:35:39,829 ERROR [STDERR] javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
            23:35:39,830 ERROR [STDERR] at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:352)
            23:35:39,830 ERROR [STDERR] at org.jboss.mail.smtp.handlers.CmdSTARTTLS$1.handshakeCompleted(CmdSTARTTLS.java:104)
            23:35:39,831 ERROR [STDERR] at com.sun.net.ssl.internal.ssl.SSLSocketImpl$NotifyHandshakeThread$1.run(SSLSocketImpl.java:2064)
            23:35:39,831 ERROR [STDERR] at java.security.AccessController.doPrivileged(Native Method)
            23:35:39,831 ERROR [STDERR] at com.sun.net.ssl.internal.ssl.SSLSocketImpl$NotifyHandshakeThread.run(SSLSocketImpl.java:2062)
            23:35:40,094 INFO [Mail] all headers after loading: Return-Path: <cvasilak@gmail.com>
            Received: from null (localhost 127.0.0.1) by localhost/JBossMail 1.0M5-pre1 (127.0.0.1)
            with SMTP id 1155933340093922.8840450927628; Fri, 18 Aug 2006 23:35:40 +0300 (EEST)
            Message-ID: <44E6249B.6090009@gmail.com>
            Date: Fri, 18 Aug 2006 23:35:39 +0300
            From: Christos Vasilakis <cvasilak@gmail.com>
            User-Agent: Thunderbird 1.5.0.5 (X11/20060728)
            MIME-Version: 1.0
            To: Christos Vasilakis <cvasilak@localhost>
            Subject: Test
            Content-Type: text/plain; charset=ISO-8859-1; format=flowed
            Content-Transfer-Encoding: 7bit

            23:35:40,104 INFO [AbstractStore] Creating store item
            ---End of Dump---

            I followed the WIKI and configure the mailbox in the JMX console.
            FYI I am using postgres as the backend.

            What does it mean mailbox is locked?

            Thanks in advance
            Christos