Announcement

Collapse
No announcement yet.

e-mail send failed smtp

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • e-mail send failed smtp

    Hello!

    I have the following problem:

    After an update from 6.12 to 6.14 i got this error, when i try to send an email. My settings are, that i user the smtp settings from the db und that is an other host than the localhost.

    i have access to the smtp server and it is possibel to send an email from the host with running ox.

    i tried some settings (global for com.openexchange.mail.transportServerSource=user), but no settings have an affect

    the workaround is tho active on the ox-host the postfix and deliver the mails from the ox-host to the mailserver.


    Code:
    Jan 3, 2010 3:45:30 PM com.openexchange.mail.json.parser.AbstractAttachmentHandler <init>
    SEVERE: CFG-0005 Category=10 Message=Property "MAX_UPLOAD_SIZE" is not defined. exceptionID=386240334-67
    CFG-0005 Category=10 Message=Property "MAX_UPLOAD_SIZE" is not defined. exceptionID=386240334-67
    	at com.openexchange.configuration.ServerConfig.getInt(ServerConfig.java:283)
    	at com.openexchange.mail.json.parser.AbstractAttachmentHandler.<init>(AbstractAttachmentHandler.java:105)
    	at com.openexchange.mail.json.parser.AbortAttachmentHandler.<init>(AbortAttachmentHandler.java:80)
    	at com.openexchange.mail.json.parser.MessageParser.parse(MessageParser.java:204)
    	at com.openexchange.mail.json.parser.MessageParser.parse4Transport(MessageParser.java:174)
    	at com.openexchange.ajax.Mail.action(Mail.java:4012)
    	at com.openexchange.ajax.AJAXServlet.fireUploadEvent(AJAXServlet.java:690)
    	at com.openexchange.ajax.Mail.doPost(Mail.java:3886)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
    	at com.openexchange.ajax.AJAXServlet.service(AJAXServlet.java:373)
    	at com.openexchange.ajax.SessionServlet.service(SessionServlet.java:164)
    	at com.openexchange.ajax.PermissionServlet.service(PermissionServlet.java:66)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    	at com.openexchange.ajp13.najp.AJPv13RequestHandlerImpl.doServletService(AJPv13RequestHandlerImpl.java:459)
    	at com.openexchange.ajp13.AJPv13Request.response(AJPv13Request.java:128)
    	at com.openexchange.ajp13.najp.AJPv13RequestHandlerImpl.createResponse(AJPv13RequestHandlerImpl.java:302)
    	at com.openexchange.ajp13.najp.AJPv13ConnectionImpl.createResponse(AJPv13ConnectionImpl.java:189)
    	at com.openexchange.ajp13.najp.AJPv13Task.call(AJPv13Task.java:346)
    	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:123)
    	at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$Worker.runTask(CustomThreadPoolExecutor.java:735)
    	at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$Worker.run(CustomThreadPoolExecutor.java:761)
    	at java.lang.Thread.run(Thread.java:595)
    Jan 3, 2010 3:45:30 PM com.openexchange.ajax.Mail action
    SEVERE: MSG-1016 Category=5 Message=Connection was refused or timed out while attempting to connect to remote server  for user . exceptionID=386240334-68
    MSG-1016 Category=5 Message=Connection was refused or timed out while attempting to connect to remote server  for user . exceptionID=386240334-68
    	at com.openexchange.mail.mime.MIMEMailException.handleMessagingException(MIMEMailException.java:531)
    	at com.openexchange.mail.mime.MIMEMailException.handleMessagingException(MIMEMailException.java:364)
    	at com.openexchange.mail.mime.MIMEMailException.handleMessagingException(MIMEMailException.java:353)
    	at com.openexchange.smtp.SMTPTransport.sendMailMessage(SMTPTransport.java:546)
    	at com.openexchange.mail.transport.MailTransport.sendMailMessage(MailTransport.java:155)
    	at com.openexchange.mail.MailServletInterfaceImpl.sendMessage(MailServletInterfaceImpl.java:1596)
    	at com.openexchange.ajax.Mail.action(Mail.java:4016)
    	at com.openexchange.ajax.AJAXServlet.fireUploadEvent(AJAXServlet.java:690)
    	at com.openexchange.ajax.Mail.doPost(Mail.java:3886)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
    	at com.openexchange.ajax.AJAXServlet.service(AJAXServlet.java:373)
    	at com.openexchange.ajax.SessionServlet.service(SessionServlet.java:164)
    	at com.openexchange.ajax.PermissionServlet.service(PermissionServlet.java:66)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    	at com.openexchange.ajp13.najp.AJPv13RequestHandlerImpl.doServletService(AJPv13RequestHandlerImpl.java:459)
    	at com.openexchange.ajp13.AJPv13Request.response(AJPv13Request.java:128)
    	at com.openexchange.ajp13.najp.AJPv13RequestHandlerImpl.createResponse(AJPv13RequestHandlerImpl.java:302)
    	at com.openexchange.ajp13.najp.AJPv13ConnectionImpl.createResponse(AJPv13ConnectionImpl.java:189)
    	at com.openexchange.ajp13.najp.AJPv13Task.call(AJPv13Task.java:346)
    	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:123)
    	at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$Worker.runTask(CustomThreadPoolExecutor.java:735)
    	at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$Worker.run(CustomThreadPoolExecutor.java:761)
    	at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25;
      nested exception is:
    	java.net.ConnectException: Connection refused
    	at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1545)
    	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:453)
    	at javax.mail.Service.connect(Service.java:291)
    	at javax.mail.Service.connect(Service.java:172)
    	at javax.mail.Service.connect(Service.java:121)
    	at com.openexchange.smtp.SMTPTransport.sendMailMessage(SMTPTransport.java:529)
    	... 20 more
    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(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:367)
    	at java.net.Socket.connect(Socket.java:524)
    	at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:265)
    	at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:227)
    	at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1511)
    	... 25 more
    my be someone has the same problem and have a solution.

    best regards
    Christian
    Last edited by cvallant; 01-04-2010, 12:13 PM.
Working...
X