3 Replies Latest reply: Apr 3, 2012 6:18 AM by guinotphil RSS

    Mail subsystem, pop3 login causes "Failed: Mail Session" in console ?

    guinotphil Apprentice

      Hello,

       

      Using this configuration in standalone.xml

       

              <subsystem xmlns="urn:jboss:domain:mail:1.0">

                  <mail-session jndi-name="java:jboss/mail/Default">

                      <smtp-server outbound-socket-binding-ref="mail-smtp">

                          <login name="xxxx" password="yyyy"/>

                      </smtp-server>

                      <pop3-server outbound-socket-binding-ref="mail-pop">

                          <login name="xxxx" password="yyyy"/>

                      </pop3-server>

                      <imap-server outbound-socket-binding-ref="mail-imap">

                          <login name="xxxx" password="yyyy"/>

                      </imap-server>

                  </mail-session>

              </subsystem>

       

      Gives to me an error accessing ot the mail session in the administration console:

       

      mail.png

       

      However, this configuration works:

       

              <subsystem xmlns="urn:jboss:domain:mail:1.0">

                  <mail-session jndi-name="java:jboss/mail/Default">

                      <smtp-server outbound-socket-binding-ref="mail-smtp">

                          <login name="xxxx" password="yyyy"/>

                      </smtp-server>

                      <pop3-server outbound-socket-binding-ref="mail-pop"/>

                      <imap-server outbound-socket-binding-ref="mail-imap">

                          <login name="xxxx" password="yyyy"/>

                      </imap-server>

                  </mail-session>

              </subsystem>

       

      Is there something wrong defining a login for the pop3 protocol ? My configuration seems to respect the schema and I don't get any error at start-up.

       

      Thanks for your help