Menu

Authentication fails

Help
2005-06-30
2013-04-22
  • Simon Sonter

    Simon Sonter - 2005-06-30

    Hi;

    I've successfully installed webmail on JBoss 4.0.0 under Fedora Core 2.6, but can't successfully authenticate user logins.

    The webapp starts cleanly with no apparent warning or error level exceptions.

    After initial failure to get successful user logins, I have deployed webmail.war to an expanded directory structure to ensure that the simple persistence mechanism can write to xml files outside of default/deploy/tmp. I'm happy to reverse this, because it seems to make no difference.

    The Admin console function for "User Administration" seems to do nothing at all after I select the virtual domain I set up, so I tried adding users to the /lib/xml/userdata.xml manually. no effect.

    I have set the default domain to point to localhost, 127.0.0.1 and the actual server IP address without success. The system authentication has been set to default to POP3, but I have not disabled any of the other mechanisms.

    A typical server trace for a failed login looks like:
    2005-06-30 18:52:15,884 INFO  [org.jboss.web.localhost.Engine] StandardContext[/webmail]INFO     - Parameter vdom
    2005-06-30 18:52:15,885 INFO  [org.jboss.web.localhost.Engine] StandardContext[/webmail]INFO     - Parameter login
    2005-06-30 18:52:15,885 INFO  [org.jboss.web.localhost.Engine] StandardContext[/webmail]INFO     - Parameter password
    2005-06-30 18:52:15,886 INFO  [org.jboss.web.localhost.Engine] StandardContext[/webmail]INFO     - WebMail: New Session (F6CA1B6C28BE96FF179F3B06231A530F)
    2005-06-30 18:52:19,216 INFO  [org.jboss.web.localhost.Engine] StandardContext[/webmail]WARNING  - POPAuthentication: user sgsonter authentication failed (pop host: 127.0.0.1).
    2005-06-30 18:52:19,217 INFO  [org.jboss.web.localhost.Engine] StandardContext[/webmail]ERROR    - Connection to /xxx.xxx.xxx.xxx: Authentication failed!

    Configuration is;
    webmail 0.7.10
    JBoss 4.0.0
    JDK 1.5.0_01-b08
    Fedora Core 2.6.9-1.667
    POP3 server
    SMTP server

    any help greatly appreciated!

    Simon

     
    • Fuaad Lone

      Fuaad Lone - 2005-06-30

      check the webmain config file for POP3 and smtp server names. it should not be 127.0.0.1 as with this IP address it is looking for the pop3 on the machine where you are residing webmail. Unless you have pop3 on the same machine, then u have to use Localhost or the IP address of your machine in your webmail.

       
      • Simon Sonter

        Simon Sonter - 2005-06-30

        Thanks Fuaad.
                        The POP and SMTP servers are on the same machine as JBoss and webmail...

        Simon

         
    • Fuaad Lone

      Fuaad Lone - 2005-06-30

      As they are on the same machine, in webmail config file, use the ip address of the domain address for pop3 and smtp servers .e.g mail.domainname.com

       

Log in to post a comment.