Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2011
    Posts
    5

    Default e-mail module is not available

    I've installed OX on centos with no problem.

    i'm logging in web-interface but when i select mail i've got the following message:

    e-mail module is not available

    Unable to connect to the mail server. Possible reasons: the mail server is (temporarily) down or experiencing connection problems. To prevent further errors, the module has been disabled. Please contact your administrator

    What can i have do wrong ?

    Thanks for your help.

  2. #2
    Carsten Hoeger is offline Open-Xchange Professional Services
    Join Date
    Mar 2007
    Posts
    703

    Default

    You should check whether the mailserver you are using with OX is available. Check /var/log/open-xchange/open-xchange.log.0 for more information.
    OXpedia.org - the answer to almost all questions.

  3. #3
    Join Date
    Jul 2011
    Posts
    5

    Default

    I've check the log file and i see connection refused when i connect my test user.
    Is it a problem with mysql or with ox mail server ? I can't tell.

    should i install postfix in addition to OX ?

    Code:
    Aug 4, 2011 10:01:09 AM com.openexchange.login.internal.LoginPerformer logLogout
    INFO: Logout  Context:1(1,defaultcontext) User:3(testuser) Session:ece6354ce7c941f2b564b3b570a1d325
    Aug 4, 2011 10:01:09 AM com.openexchange.mail.cache.MailAccessCacheEventListener handleEvent
    INFO: Detected a removed session: ece6354ce7c941f2b564b3b570a1d325. Removed all possibly cached mail access instances for user 3 in context 1
    Aug 4, 2011 10:01:19 AM com.openexchange.login.internal.LoginPerformer logLoginRequest
    INFO: Login:testuser IP:192.168.0.215 AuthID:23ac66fb-d626-4e48-9368-94a6257d9024 
    Agent:Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 1.1.4322; .NET4.0C; .NET4.0E) 
    Client:com.openexchange.ox.gui.dhtml(6.20.0 Rev8) Interface:HTTP_JSON Context:1(1,defaultcontext) User:3(testuser) Session:0033b356ac5a4a53a76f4f54773d6a35 
    Random:50040eda36304fe38ac2ef0fef204f52
    Aug 4, 2011 10:01:19 AM com.openexchange.groupware.settings.impl.RdbSettingStorage readSharedValue
    SEVERE: Problem while reading setting value.
    MSG-1016 Category=5 Message=Connection was refused or timed out while attempting to connect to remote server 127.0.0.1 for user testuser. exceptionID=535632642-210
    	at com.openexchange.groupware.settings.tree.modules.mail.folder.Trash$1.getValue(Trash.java:112)
    	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readSharedValue(RdbSettingStorage.java:338)
    	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readValues(RdbSettingStorage.java:280)
    	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readSubValues(RdbSettingStorage.java:389)
    	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readValues(RdbSettingStorage.java:276)
    	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readSubValues(RdbSettingStorage.java:389)
    	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readValues(RdbSettingStorage.java:276)
    	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readSubValues(RdbSettingStorage.java:389)
    	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readValues(RdbSettingStorage.java:276)
    	at com.openexchange.ajax.Login.appendModules(Login.java:757)
    	at com.openexchange.ajax.Login.doLogin(Login.java:633)
    	at com.openexchange.ajax.Login.doJSONAuth(Login.java:214)
    	at com.openexchange.ajax.Login.doGet(Login.java:203)
    	at com.openexchange.ajax.Login.doPost(Login.java:585)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
    	at com.openexchange.ajax.AJAXServlet.service(AJAXServlet.java:413)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    	at com.openexchange.ajp13.najp.AJPv13RequestHandlerImpl.doServletService(AJPv13RequestHandlerImpl.java:523)
    	at com.openexchange.ajp13.AJPv13Request.response(AJPv13Request.java:134)
    	at com.openexchange.ajp13.najp.AJPv13RequestHandlerImpl.createResponse(AJPv13RequestHandlerImpl.java:335)
    	at com.openexchange.ajp13.najp.AJPv13ConnectionImpl.createResponse(AJPv13ConnectionImpl.java:227)
    	at com.openexchange.ajp13.najp.AJPv13Task.call(AJPv13Task.java:352)
    	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    	at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$Worker.runTask(CustomThreadPoolExecutor.java:750)
    	at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$Worker.run(CustomThreadPoolExecutor.java:776)
    	at java.lang.Thread.run(Thread.java:636)
    Caused by: MSG-1016 Category=5 Message=Connection was refused or timed out while attempting to connect to remote server 127.0.0.1 for user testuser. exceptionID=535632642-209
    	at com.openexchange.mail.mime.MIMEMailException.handleMessagingException(MIMEMailException.java:546)
    	at com.openexchange.imap.IMAPAccess.connectInternal(IMAPAccess.java:535)
    	at com.openexchange.mail.api.MailAccess.delegateConnectInternal(MailAccess.java:530)
    	at com.openexchange.mail.api.MailAccess.connect0(MailAccess.java:488)
    	at com.openexchange.mail.api.MailAccess.connect(MailAccess.java:411)
    	at com.openexchange.mail.MailServletInterfaceImpl.initMailAccess(MailServletInterfaceImpl.java:1627)
    	at com.openexchange.mail.MailServletInterfaceImpl.initConnection(MailServletInterfaceImpl.java:1604)
    	at com.openexchange.mail.MailServletInterfaceImpl.getTrashFolder(MailServletInterfaceImpl.java:1571)
    	at com.openexchange.groupware.settings.tree.modules.mail.folder.Trash$1.getValue(Trash.java:106)
    	... 26 more
    Caused by: javax.mail.MessagingException: Connection refused;
      nested exception is:
    	java.net.ConnectException: Connection refused
    	at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:627)
    	at javax.mail.Service.connect(Service.java:291)
    	at com.openexchange.imap.IMAPAccess.connectIMAPStore(IMAPAccess.java:573)
    	at com.openexchange.imap.IMAPAccess.connectInternal(IMAPAccess.java:496)
    	... 33 more
    Caused by: java.net.ConnectException: Connection refused
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327)
    	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193)
    	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
    	at java.net.Socket.connect(Socket.java:546)
    	at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:282)
    	at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:227)
    	at com.sun.mail.iap.Protocol.<init>(Protocol.java:109)
    	at com.sun.mail.imap.protocol.IMAPProtocol.<init>(IMAPProtocol.java:104)
    	at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:594)
    	... 36 more
    Aug 4, 2011 10:01:19 AM com.openexchange.groupware.settings.impl.RdbSettingStorage readSharedValue
    SEVERE: Problem while reading setting value.
    MSG-1016 Category=5 Message=Connection was refused or timed out while attempting to connect to remote server 127.0.0.1 for user testuser. exceptionID=535632642-213
    	at com.openexchange.groupware.settings.tree.modules.mail.folder.Sent$1.getValue(Sent.java:112)
    	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readSharedValue(RdbSettingStorage.java:338)
    	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readValues(RdbSettingStorage.java:280)
    	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readSubValues(RdbSettingStorage.java:389)
    	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readValues(RdbSettingStorage.java:276)
    	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readSubValues(RdbSettingStorage.java:389)
    	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readValues(RdbSettingStorage.java:276)
    	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readSubValues(RdbSettingStorage.java:389)
    	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readValues(RdbSettingStorage.java:276)
    	at com.openexchange.ajax.Login.appendModules(Login.java:757)
    	at com.openexchange.ajax.Login.doLogin(Login.java:633)
    	at com.openexchange.ajax.Login.doJSONAuth(Login.java:214)
    	at com.openexchange.ajax.Login.doGet(Login.java:203)
    	at com.openexchange.ajax.Login.doPost(Login.java:585)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
    	at com.openexchange.ajax.AJAXServlet.service(AJAXServlet.java:413)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    	at com.openexchange.ajp13.najp.AJPv13RequestHandlerImpl.doServletService(AJPv13RequestHandlerImpl.java:523)
    	at com.openexchange.ajp13.AJPv13Request.response(AJPv13Request.java:134)
    	at com.openexchange.ajp13.najp.AJPv13RequestHandlerImpl.createResponse(AJPv13RequestHandlerImpl.java:335)
    	at com.openexchange.ajp13.najp.AJPv13ConnectionImpl.createResponse(AJPv13ConnectionImpl.java:227)
    	at com.openexchange.ajp13.najp.AJPv13Task.call(AJPv13Task.java:352)
    	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    	at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$Worker.runTask(CustomThreadPoolExecutor.java:750)
    	at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$Worker.run(CustomThreadPoolExecutor.java:776)
    	at java.lang.Thread.run(Thread.java:636)
    Caused by: MSG-1016 Category=5 Message=Connection was refused or timed out while attempting to connect to remote server 127.0.0.1 for user testuser. exceptionID=535632642-212
    	at com.openexchange.mail.mime.MIMEMailException.handleMessagingException(MIMEMailException.java:546)
    	at com.openexchange.imap.IMAPAccess.connectInternal(IMAPAccess.java:535)
    	at com.openexchange.mail.api.MailAccess.delegateConnectInternal(MailAccess.java:530)
    	at com.openexchange.mail.api.MailAccess.connect0(MailAccess.java:488)
    	at com.openexchange.mail.api.MailAccess.connect(MailAccess.java:411)
    	at com.openexchange.mail.MailServletInterfaceImpl.initMailAccess(MailServletInterfaceImpl.java:1627)
    	at com.openexchange.mail.MailServletInterfaceImpl.initConnection(MailServletInterfaceImpl.java:1604)
    	at com.openexchange.mail.MailServletInterfaceImpl.getSentFolder(MailServletInterfaceImpl.java:1454)
    	at com.openexchange.groupware.settings.tree.modules.mail.folder.Sent$1.getValue(Sent.java:106)
    	... 26 more
    Caused by: javax.mail.MessagingException: Connection refused;
      nested exception is:
    	java.net.ConnectException: Connection refused
    	at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:627)
    	at javax.mail.Service.connect(Service.java:291)
    	at com.openexchange.imap.IMAPAccess.connectIMAPStore(IMAPAccess.java:573)
    	at com.openexchange.imap.IMAPAccess.connectInternal(IMAPAccess.java:496)
    	... 33 more
    Caused by: java.net.ConnectException: Connection refused
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327)
    	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193)
    	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
    	at java.net.Socket.connect(Socket.java:546)
    	at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:282)
    	at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:227)
    	at com.sun.mail.iap.Protocol.<init>(Protocol.java:109)
    	at com.sun.mail.imap.protocol.IMAPProtocol.<init>(IMAPProtocol.java:104)
    	at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:594)
    	... 36 more
    Last edited by gubule; 08-04-2011 at 10:22 AM.

  4. #4
    Carsten Hoeger is offline Open-Xchange Professional Services
    Join Date
    Mar 2007
    Posts
    703

    Default

    You configured ox to access the mail (imap) server at 127.0.0.1, but there's no imap server:

    Code:
    MSG-1016 Category=5 Message=Connection was refused or timed out while attempting to connect to remote server 127.0.0.1 for user testuser. exceptionID=535632642-210
    You need to install and configure an imap and smtp server in order to use Open-Xchange.
    Open-Xchange is neither an imap nor an smtp server, but it requires both to be set up somewhere.
    OXpedia.org - the answer to almost all questions.

  5. #5
    Join Date
    Jul 2011
    Posts
    5

    Default

    i've already installed dovecot
    maybe it is not running.

    Code:
    [root@nh-ox-srv ~]# yum install dovecot
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: mirrors.ircam.fr
     * extras: mirrors.ircam.fr
     * updates: mirrors.ircam.fr
    ox                                                       | 1.4 kB     00:00     
    ox-centos                                                | 1.3 kB     00:00     
    Setting up Install Process
    Package dovecot-1.0.7-7.el5.i386 already installed and latest version
    Nothing to do
    [root@nh-ox-srv ~]# service dovecot start
    Démarrage de Dovecot Imap :                                [  OK  ]
    [root@nh-ox-srv ~]# chkconfig dovecot on
    I will retry to connect with testuser.
    Last edited by gubule; 08-04-2011 at 10:37 AM.

  6. #6
    Join Date
    Jul 2011
    Posts
    5

    Default

    I've retried to connect with my test user. I have the same message in web interface than before but not the same error in the log.

    Code:
    Aug 4, 2011 10:38:23 AM com.openexchange.login.internal.LoginPerformer logLoginRequest
    INFO: Login:testuser IP:127.0.0.1 AuthID:613d6649-47f0-44b7-96c0-6897344f2657 Agent:Mozilla/5.0 
    (X11; U; Linux i686; fr; rv:1.9.2.18) Gecko/20110622 CentOS/3.6-1.el5.centos Firefox/3.6.18 
    Client:com.openexchange.ox.gui.dhtml(6.20.0 Rev8) Interface:HTTP_JSON Context:1(1,defaultcontext) 
    User:3(testuser) Session:6e5d0405e54644c4aaff27c6e766bb9b Random:2eff2569df2c4559b81f736ed10f2902
    Aug 4, 2011 10:38:31 AM com.openexchange.groupware.settings.impl.RdbSettingStorage readSharedValue
    SEVERE: Problem while reading setting value.
    MSG-1001 Category=3 Message=Wrong or missing login data to access mail server 127.0.0.1 with login testuser 
    (user=3, context=1). Error message from mail server: Authentication failed. exceptionID=535632642-247
    	at com.openexchange.groupware.settings.tree.modules.mail.folder.Trash$1.getValue(Trash.java:112)
    	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readSharedValue(RdbSettingStorage.java:338)
    	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readValues(RdbSettingStorage.java:280)
    	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readSubValues(RdbSettingStorage.java:389)
    	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readValues(RdbSettingStorage.java:276)
    	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readSubValues(RdbSettingStorage.java:389)
    	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readValues(RdbSettingStorage.java:276)
    	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readSubValues(RdbSettingStorage.java:389)
    	at com.openexchange.groupware.settings.impl.RdbSettingStorage.readValues(RdbSettingStorage.java:276)
    	at com.openexchange.ajax.Login.appendModules(Login.java:757)
    	at com.openexchange.ajax.Login.doLogin(Login.java:633)
    	at com.openexchange.ajax.Login.doJSONAuth(Login.java:214)
    	at com.openexchange.ajax.Login.doGet(Login.java:203)
    	at com.openexchange.ajax.Login.doPost(Login.java:585)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
    	at com.openexchange.ajax.AJAXServlet.service(AJAXServlet.java:413)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    	at com.openexchange.ajp13.najp.AJPv13RequestHandlerImpl.doServletService(AJPv13RequestHandlerImpl.java:523)
    	at com.openexchange.ajp13.AJPv13Request.response(AJPv13Request.java:134)
    	at com.openexchange.ajp13.najp.AJPv13RequestHandlerImpl.createResponse(AJPv13RequestHandlerImpl.java:335)
    	at com.openexchange.ajp13.najp.AJPv13ConnectionImpl.createResponse(AJPv13ConnectionImpl.java:227)
    	at com.openexchange.ajp13.najp.AJPv13Task.call(AJPv13Task.java:352)
    	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    	at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$Worker.runTask(CustomThreadPoolExecutor.java:750)
    	at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$Worker.run(CustomThreadPoolExecutor.java:776)
    	at java.lang.Thread.run(Thread.java:636)
    Caused by: MSG-1001 Category=3 Message=Wrong or missing login data to access mail server 127.0.0.1 with login testuser (user=3, context=1). Error message from mail server: Authentication failed. exceptionID=535632642-246
    	at com.openexchange.mail.mime.MIMEMailException.handleMessagingException(MIMEMailException.java:405)
    	at com.openexchange.imap.IMAPAccess.connectInternal(IMAPAccess.java:535)
    	at com.openexchange.mail.api.MailAccess.delegateConnectInternal(MailAccess.java:530)
    	at com.openexchange.mail.api.MailAccess.connect0(MailAccess.java:488)
    	at com.openexchange.mail.api.MailAccess.connect(MailAccess.java:411)
    	at com.openexchange.mail.MailServletInterfaceImpl.initMailAccess(MailServletInterfaceImpl.java:1627)
    	at com.openexchange.mail.MailServletInterfaceImpl.initConnection(MailServletInterfaceImpl.java:1604)
    	at com.openexchange.mail.MailServletInterfaceImpl.getTrashFolder(MailServletInterfaceImpl.java:1571)
    	at com.openexchange.groupware.settings.tree.modules.mail.folder.Trash$1.getValue(Trash.java:106)
    	... 26 more
    Caused by: javax.mail.AuthenticationFailedException: Authentication failed.
    	at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:622)
    	at javax.mail.Service.connect(Service.java:291)
    	at com.openexchange.imap.IMAPAccess.connectIMAPStore(IMAPAccess.java:580)
    	at com.openexchange.imap.IMAPAccess.connectInternal(IMAPAccess.java:496)
    	... 33 more

  7. #7
    Join Date
    Jul 2011
    Posts
    5

    Default

    the test user was only created in OX.

    i created it for unix and it works almost fine.

    I've a new not blocking error after connection:

    Code:
    Error in low level connection to sieve server 127.0.0.1 at port 2000 (MAIL_FILTER-0014,535632642-324)
    I've already read in a post in the forum people having the same error.
    A mail filter must be uninstalled if my memory works well.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •