Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    bilal_jan Guest

    Default cant login to Dovecot to send mail from OX

    hello everyone i got a virtual machine (virtual appliance) that has OX installed on it. In addition to Open-Xchange, also installed is Dovecot.
    the problem i am facing is when i try to send an email i am getting following error
    Error: wrong or Missing login data to access server: Error Message from server: Failed to connect (MSG-101 15127-379)
    i am sure the problem is due to fact that logged in user wasnt not able to log onto Dovecot.
    i do created system user for loggin onto Dovecot and added that user to OX as well but the problem is still present.
    Can anyonene please tell me how can i fix it. I have all this setup on local machine.

  2. #2
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    Hi,

    please provide OX log files, maybe dovecot logs something, too.

    Greetings

  3. #3
    bilal_jan Guest

    Default

    following is from /var/log/open-xchange/open-xchange.log.0
    (MIMEMailException.java:394)
    at com.openexchange.mail.mime.MIMEMailException.handl eMessagingException(MIMEMailException.java:346)
    at com.openexchange.mail.mime.MIMEMailException.handl eMessagingException(MIMEMailException.java:335)
    at com.openexchange.smtp.SMTPTransport.sendMailMessag e(SMTPTransport.java:549)
    at com.openexchange.mail.transport.MailTransport.send MailMessage(MailTransport.java:155)
    at com.openexchange.mail.MailServletInterfaceImpl.sen dMessage(MailServletInterfaceImpl.java:1830)
    at com.openexchange.ajax.Mail.action(Mail.java:4176)
    at com.openexchange.ajax.AJAXServlet.fireUploadEvent( AJAXServlet.java:795)
    at com.openexchange.ajax.Mail.doPost(Mail.java:4045)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:616)
    at com.openexchange.ajax.AJAXServlet.service(AJAXServ let.java:386)
    at com.openexchange.ajax.SessionServlet.service(Sessi onServlet.java:165)
    at com.openexchange.ajax.PermissionServlet.service(Pe rmissionServlet.java:66)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:689)
    at com.openexchange.ajp13.najp.AJPv13RequestHandlerIm pl.doServletService(AJPv13RequestHandlerImpl.java: 504)
    at com.openexchange.ajp13.AJPv13Request.response(AJPv 13Request.java:129)
    at com.openexchange.ajp13.najp.AJPv13RequestHandlerIm pl.createResponse(AJPv13RequestHandlerImpl.java:31 6)
    at com.openexchange.ajp13.najp.AJPv13ConnectionImpl.c reateResponse(AJPv13ConnectionImpl.java:207)
    at com.openexchange.ajp13.najp.AJPv13Task.call(AJPv13 Task.java:346)
    at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:269)
    at java.util.concurrent.FutureTask.run(FutureTask.jav a:123)
    at com.openexchange.threadpool.internal.CustomThreadP oolExecutor$Worker.runTask(CustomThreadPoolExecuto r.java:737)
    at com.openexchange.threadpool.internal.CustomThreadP oolExecutor$Worker.run(CustomThreadPoolExecutor.ja va:763)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.mail.AuthenticationFailedException: failed to connect
    at javax.mail.Service.connect(Service.java:322)
    at com.openexchange.smtp.SMTPTransport.sendMailMessag e(SMTPTransport.java:530)
    ... 20 more

  4. #4
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    Hi,

    thats not the complete stack trace. But from what i can see, OX is unable to connect to the SMTP server. Dovecot handles IMAP but SMTP needs to be handled by mail servers like Postfix or Qmail. Please post the complete stack trace for more information.

    Greetings

  5. #5
    bilal_jan Guest

    Default

    thanks Martin for your replies
    Following link list the details of Open-Xchange Virtual Appliance which i have
    http://www.emailserviceguide.com/dow...ual-appliance/
    Full trace of /var/log/open-xchange/open-xchange.log.0 is
    please have a look onto them and tell me
    May 17, 2010 7:48:41 PM com.openexchange.mailfilter.ajax.AJAXServlet doGet
    SEVERE: MAIL_FILTER-0014 Category=8 Message=Error in low level connection to sieve server exceptionID=1324284083-39
    MAIL_FILTER-0014 Category=8 Message=Error in low level connection to sieve server exceptionID=1324284083-39
    at com.openexchange.mailfilter.ajax.actions.Mailfilte rAction.actionConfig(MailfilterAction.java:171)
    at com.openexchange.mailfilter.ajax.actions.Mailfilte rAction.actionConfig(MailfilterAction.java:101)
    at com.openexchange.mailfilter.ajax.actions.AbstractA ction.action(AbstractAction.java:79)
    at com.openexchange.mailfilter.ajax.AJAXServlet.doGet (AJAXServlet.java:132)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:596)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:689)
    at com.openexchange.ajp13.najp.AJPv13RequestHandlerIm pl.doServletService(AJPv13RequestHandlerImpl.java: 504)
    at com.openexchange.ajp13.AJPv13Request.response(AJPv 13Request.java:129)
    at com.openexchange.ajp13.najp.AJPv13RequestHandlerIm pl.createResponse(AJPv13RequestHandlerImpl.java:31 6)
    at com.openexchange.ajp13.najp.AJPv13ConnectionImpl.c reateResponse(AJPv13ConnectionImpl.java:207)
    at com.openexchange.ajp13.najp.AJPv13Task.call(AJPv13 Task.java:346)
    at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:269)
    at java.util.concurrent.FutureTask.run(FutureTask.jav a:123)
    at com.openexchange.threadpool.internal.CustomThreadP oolExecutor$Worker.runTask(CustomThreadPoolExecuto r.java:737)
    at com.openexchange.threadpool.internal.CustomThreadP oolExecutor$Worker.run(CustomThreadPoolExecutor.ja va:763)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.net.ConnectException: Connection refused
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl .java:333)
    at java.net.PlainSocketImpl.connectToAddress(PlainSoc ketImpl.java:195)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.j ava:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.j ava:366)
    at java.net.Socket.connect(Socket.java:520)
    at com.openexchange.jsieve.SieveHandler.initializeCon nection(SieveHandler.java:217)
    at com.openexchange.mailfilter.ajax.actions.Mailfilte rAction.actionConfig(MailfilterAction.java:164)
    ... 15 more
    May 17, 2010 7:49:02 PM com.openexchange.login.internal.LoginPerformer logLogout
    INFO: Logout Context:1(1,defaultcontext) User:2(oxadmin) Session:3d66216c9f854b80bd85b3c5d52343d8
    May 17, 2010 7:49:23 PM com.openexchange.login.internal.LoginPerformer logLoginRequest
    INFO: Loginxuser IP:192.168.10.228 AuthID:99700186-0f5a-40f3-9511-1ed1632e8924 Agent:Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 Client:com.openexchange.ox6.gui.dhtml(6.16.1 Rev3) Interface:HTTP_JSON Context:1(1,defaultcontext) User:3(oxuser) Session:bdfd054aab864d82a0a9a162323319a6
    May 17, 2010 7:49:23 PM com.openexchange.dataretention.csv.tasks.CSVFileCr eationCallable call
    INFO: Successfully created CSV file "/var/log/open-xchange/OX_mail_01_20100518024923_00001.mail" and added starting header line
    May 17, 2010 7:49:27 PM com.openexchange.imap.acl.ACLExtensionAutoDetector $ACLExtensionCallable call
    INFO:
    IMAP server [/127.0.0.1:143] CAPABILITY response indicates no support of ACL extension.
    May 17, 2010 7:49:28 PM com.openexchange.mailfilter.ajax.AJAXServlet doGet
    SEVERE: MAIL_FILTER-0014 Category=8 Message=Error in low level connection to sieve server exceptionID=1324284083-46
    MAIL_FILTER-0014 Category=8 Message=Error in low level connection to sieve server exceptionID=1324284083-46
    at com.openexchange.mailfilter.ajax.actions.Mailfilte rAction.actionConfig(MailfilterAction.java:171)
    at com.openexchange.mailfilter.ajax.actions.Mailfilte rAction.actionConfig(MailfilterAction.java:101)
    at com.openexchange.mailfilter.ajax.actions.AbstractA ction.action(AbstractAction.java:79)
    at com.openexchange.mailfilter.ajax.AJAXServlet.doGet (AJAXServlet.java:132)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:596)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:689)
    at com.openexchange.ajp13.najp.AJPv13RequestHandlerIm pl.doServletService(AJPv13RequestHandlerImpl.java: 504)
    at com.openexchange.ajp13.AJPv13Request.response(AJPv 13Request.java:129)
    at com.openexchange.ajp13.najp.AJPv13RequestHandlerIm pl.createResponse(AJPv13RequestHandlerImpl.java:31 6)
    at com.openexchange.ajp13.najp.AJPv13ConnectionImpl.c reateResponse(AJPv13ConnectionImpl.java:207)
    at com.openexchange.ajp13.najp.AJPv13Task.call(AJPv13 Task.java:346)
    at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:269)
    at java.util.concurrent.FutureTask.run(FutureTask.jav a:123)
    at com.openexchange.threadpool.internal.CustomThreadP oolExecutor$Worker.runTask(CustomThreadPoolExecuto r.java:737)
    at com.openexchange.threadpool.internal.CustomThreadP oolExecutor$Worker.run(CustomThreadPoolExecutor.ja va:763)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.net.ConnectException: Connection refused
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl .java:333)
    at java.net.PlainSocketImpl.connectToAddress(PlainSoc ketImpl.java:195)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.j ava:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.j ava:366)
    at java.net.Socket.connect(Socket.java:520)
    at com.openexchange.jsieve.SieveHandler.initializeCon nection(SieveHandler.java:217)
    at com.openexchange.mailfilter.ajax.actions.Mailfilte rAction.actionConfig(MailfilterAction.java:164)
    ... 15 more
    May 17, 2010 7:49:58 PM com.openexchange.ajax.Mail action
    SEVERE: MSG-1001 Category=3 Message=Wrong or missing login data to access server . Error message from server: failed to connect exceptionID=1324284083-50
    MSG-1001 Category=3 Message=Wrong or missing login data to access server . Error message from server: failed to connect exceptionID=1324284083-50
    at com.openexchange.mail.mime.MIMEMailException.handl eMessagingException(MIMEMailException.java:394)
    at com.openexchange.mail.mime.MIMEMailException.handl eMessagingException(MIMEMailException.java:346)
    at com.openexchange.mail.mime.MIMEMailException.handl eMessagingException(MIMEMailException.java:335)
    at com.openexchange.smtp.SMTPTransport.sendMailMessag e(SMTPTransport.java:549)
    at com.openexchange.mail.transport.MailTransport.send MailMessage(MailTransport.java:155)
    at com.openexchange.mail.MailServletInterfaceImpl.sen dMessage(MailServletInterfaceImpl.java:1830)
    at com.openexchange.ajax.Mail.action(Mail.java:4176)
    at com.openexchange.ajax.AJAXServlet.fireUploadEvent( AJAXServlet.java:795)
    at com.openexchange.ajax.Mail.doPost(Mail.java:4045)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:616)
    at com.openexchange.ajax.AJAXServlet.service(AJAXServ let.java:386)
    at com.openexchange.ajax.SessionServlet.service(Sessi onServlet.java:165)
    at com.openexchange.ajax.PermissionServlet.service(Pe rmissionServlet.java:66)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:689)
    at com.openexchange.ajp13.najp.AJPv13RequestHandlerIm pl.doServletService(AJPv13RequestHandlerImpl.java: 504)
    at com.openexchange.ajp13.AJPv13Request.response(AJPv 13Request.java:129)
    at com.openexchange.ajp13.najp.AJPv13RequestHandlerIm pl.createResponse(AJPv13RequestHandlerImpl.java:31 6)
    at com.openexchange.ajp13.najp.AJPv13ConnectionImpl.c reateResponse(AJPv13ConnectionImpl.java:207)
    at com.openexchange.ajp13.najp.AJPv13Task.call(AJPv13 Task.java:346)
    at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:269)
    at java.util.concurrent.FutureTask.run(FutureTask.jav a:123)
    at com.openexchange.threadpool.internal.CustomThreadP oolExecutor$Worker.runTask(CustomThreadPoolExecuto r.java:737)
    at com.openexchange.threadpool.internal.CustomThreadP oolExecutor$Worker.run(CustomThreadPoolExecutor.ja va:763)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.mail.AuthenticationFailedException: failed to connect
    at javax.mail.Service.connect(Service.java:322)
    at com.openexchange.smtp.SMTPTransport.sendMailMessag e(SMTPTransport.java:530)
    ... 20 more
    May 17, 2010 7:55:35 PM com.openexchange.mail.mime.MIMEType2ExtMap init
    INFO: Loading MIME type file "/opt/open-xchange/etc/groupware/mime.types"
    May 17, 2010 7:55:35 PM com.openexchange.mail.mime.MIMEType2ExtMap init
    INFO: MIMEType2ExtMap successfully initialized

  6. #6
    bilal_jan Guest

    Default

    hay Martin Braun can you please suggest any solution. i am in very need of it. thanks

  7. #7
    bilal_jan Guest

    Default

    hay Martin Braun can you please suggest any solution. i really in need of it

  8. #8
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    Hi,

    what --smtpserver parameter have you given when creating the user? Is a SMTP server listening on that host? From the stacktrace (last third) you can see that OX is unable to connect to the SMTP server.

    Greetings

  9. #9
    bilal_jan Guest

    Default

    thnx Martin for your reply.
    i removed sendmail from my system and installed postfix with following credentials in /etc/postfix/main.cf
    inet_interfaces = localhost
    mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
    home_mailbox = Maildir/
    mail_spool_directory = /var/mail
    i am now not getting the error which i was getting previously while sending mail but now when i send an email ,i got the message that email was sent but it wasnt transferred to the concerned user inbox
    i added a system user with following credentials
    Create a local user (required for Dovecot):
    $ adduser -m -s /bin/false new-user
    $ passwd new-user
    and Created the Open-Xchange user:
    $ /opt/open-xchange/sbin/createuser -c 1 -A oxadmin -P oxpassword -u new-user -d "Test User" -g Test -s User -p oxpassword -e testuser@example.com --imaplogin new-user --imapserver 127.0.0.1 --smtpserver 127.0.0.1
    i have dovecot as IMAP and postfix as SMTP

  10. #10
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    Hi,

    there is plenty of information on the web how to configure Postfix to deliver mails to Dovecot (just an example: http://wiki.dovecot.org/LDA/Postfix). As far as i can see you've managed to configure the user correctly, additional stuff is not related to OX.

    Greetings

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
  •