Results 1 to 9 of 9

Thread: Mail problems,

  1. #1
    freshpotato is offline Member
    Join Date
    Oct 2006
    Posts
    11
    Rep Power
    8

    Default Mail problems,

    I got the follwing error when trying to send mail or add resources to the calendar. This should be a server for a intranet so no mail out is required. How can this be done?

    msg - system failure: MessagingException
    com.zimbra.cs.service.ServiceException: system failure: MessagingException
    at com.zimbra.cs.service.ServiceException.FAILURE(Ser viceException.java:174)
    at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(M ailSender.java:282)
    at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(M ailSender.java:119)
    at com.zimbra.cs.operation.SendMsgOperation.callback( SendMsgOperation.java:73)
    at com.zimbra.cs.operation.Operation.schedule(Operati on.java:190)
    at com.zimbra.cs.service.mail.SendMsg.handle(SendMsg. java:109)
    at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:261)
    at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:162)
    at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:84)
    at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:223)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:709)
    at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:173)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:107)
    at org.apache.catalina.valves.AccessLogValve.invoke(A ccessLogValve.java:541)
    at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:869)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:667)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.mail.MessagingException: Could not connect to SMTP host: daxserver.daxlab.no, port: 25;
    nested exception is:
    java.net.ConnectException: Connection refused
    at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTra nsport.java:1227)
    at com.sun.mail.smtp.SMTPTransport.protocolConnect(SM TPTransport.java:322)
    at javax.mail.Service.connect(Service.java:236)
    at javax.mail.Service.connect(Service.java:137)
    at javax.mail.Service.connect(Service.java:86)
    at javax.mail.Transport.send0(Transport.java:150)
    at javax.mail.Transport.send(Transport.java:80)
    at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(M ailSender.java:192)
    ... 26 more

    code - service.FAILURE
    method - ZmCsfeCommand.prototype.invoke
    detail - soap:Receiver

  2. #2
    freshpotato is offline Member
    Join Date
    Oct 2006
    Posts
    11
    Rep Power
    8

    Default

    [zimbra@daxserver ~]$ zmcontrol status
    Host daxserver.daxlab.no
    antispam Running
    antivirus Running
    ldap Running
    logger Running
    mailbox Running
    mta Stopped
    postfix is not running
    snmp Running
    spell Stopped
    zmapachectl is not running

  3. #3
    freshpotato is offline Member
    Join Date
    Oct 2006
    Posts
    11
    Rep Power
    8

    Default

    Oct 23 10:52:29 daxlab sendmail[7796]: k9N8qIEi007640: to=, ctladdr= (501/50
    1), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30921, dsn=2.0.0, stat=Sent
    Oct 23 10:52:29 daxlab sendmail[7640]: k9N8qIEk007640: from=, size=711, class=0, nrcpts=1, msgid=<200610
    201620.k9KGK2bg013279@localhost.localdomain>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
    Oct 23 10:52:29 daxlab sm-msp-queue[7528]: k9KGK2bg013279: to=zimbra, ctladdr=zimbra (501/501), delay=2+16:32:27, xdelay=00:00:00, m
    ailer=relay, pri=120434, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k9N8qIEk007640 Message accepted for delivery)
    Oct 23 10:52:29 daxlab sendmail[7798]: k9N8qIEk007640: to=, ctladdr= (501/50
    1), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30921, dsn=2.0.0, stat=Sent
    Oct 23 10:52:29 daxlab sendmail[7640]: k9N8qIEm007640: from=, size=711, class=0, nrcpts=1, msgid=<200610
    210900.k9L901pv010046@localhost.localdomain>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
    Oct 23 10:52:29 daxlab sm-msp-queue[7528]: k9L901pv010046: to=zimbra, ctladdr=zimbra (501/501), delay=1+23:52:28, xdelay=00:00:00, m
    ailer=relay, pri=120434, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k9N8qIEm007640 Message accepted for delivery)
    Oct 23 10:52:29 daxlab sendmail[7800]: k9N8qIEm007640: to=, ctladdr= (501/50
    1), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30921, dsn=2.0.0, stat=Sent
    Oct 23 10:52:29 daxlab sendmail[7640]: k9N8qIEo007640: from=, size=711, class=0, nrcpts=1, msgid=<200610
    202000.k9KK026W000604@localhost.localdomain>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
    Oct 23 10:52:29 daxlab sm-msp-queue[7528]: k9KK026W000604: to=zimbra, ctladdr=zimbra (501/501), delay=2+12:52:27, xdelay=00:00:00, m
    ailer=relay, pri=120434, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k9N8qIEo007640 Message accepted for delivery)
    [zimbra@daxserver /]$ tail /var/log/zimbra.log
    Oct 23 11:36:07 daxlab zmtomcatmgr[951]: status OK
    Oct 23 09:36:07 daxlab postfix/postqueue[961]: fatal: Queue report unavailable - mail system is down
    Oct 23 11:36:08 daxlab zimbramon[813]: 813:info: 2006-10-23 11:36:01, STATUS: daxserver.daxlab.no: antispam: Running
    Oct 23 11:36:08 daxlab zimbramon[813]: 813:info: 2006-10-23 11:36:01, STATUS: daxserver.daxlab.no: antivirus: Running
    Oct 23 11:36:08 daxlab zimbramon[813]: 813:info: 2006-10-23 11:36:01, STATUS: daxserver.daxlab.no: ldap: Running
    Oct 23 11:36:08 daxlab zimbramon[813]: 813:info: 2006-10-23 11:36:01, STATUS: daxserver.daxlab.no: logger: Running
    Oct 23 11:36:08 daxlab zimbramon[813]: 813:info: 2006-10-23 11:36:01, STATUS: daxserver.daxlab.no: mailbox: Running
    Oct 23 11:36:08 daxlab zimbramon[813]: 813:info: 2006-10-23 11:36:01, STATUS: daxserver.daxlab.no: mta: Stopped
    Oct 23 11:36:08 daxlab zimbramon[813]: 813:info: 2006-10-23 11:36:01, STATUS: daxserver.daxlab.no: snmp: Running
    Oct 23 11:36:08 daxlab zimbramon[813]: 813:info: 2006-10-23 11:36:01, STATUS: daxserver.daxlab.no: spell: Stopped
    [zimbra@daxserver /]$ mysql.server start
    [zimbra@daxserver /]$ A mysqld process already exists

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    From your first post:
    Code:
    Caused by: javax.mail.MessagingException: Could not connect to SMTP host: daxserver.daxlab.no, port: 25;
    nested exception is:
    java.net.ConnectException: Connection refused
    Is there a firewall or SElinux on your system? Disable them if there is. Is your DNS set-up correctly?

    Is this a new install? Did the install go OK? Were there any errrors?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    freshpotato is offline Member
    Join Date
    Oct 2006
    Posts
    11
    Rep Power
    8

    Default

    Iptables services are stopped.. my dns looks ok:

    [zimbra@daxserver ~]$ nslookup
    > daxserver
    Server: 127.0.0.1
    Address: 127.0.0.1#53

    Name: daxserver.daxlab.no
    Address: 10.215.4.16
    > 10.215.4.16
    Server: 127.0.0.1
    Address: 127.0.0.1#53

    16.4.215.10.in-addr.arpa name = daxserver.

    > set query=MX
    > daxserver
    Server: 127.0.0.1
    Address: 127.0.0.1#53

    daxserver.daxlab.no mail exchanger = 1 daxserver.daxlab.no.
    >

    Starting spell...FAILED
    Syntax error on line 232 of /opt/zimbra/conf/httpd.conf:
    Cannot load /opt/zimbra/httpd-2.0.54/modules/libphp5.so into server: /opt/zimbra/httpd-2.0.54/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied

  6. #6
    freshpotato is offline Member
    Join Date
    Oct 2006
    Posts
    11
    Rep Power
    8

    Default

    As mentioned before, this should just be for internal use, so no need to send mail world wide

  7. #7
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    You need a private IP address on the LAN not the loopback.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    freshpotato is offline Member
    Join Date
    Oct 2006
    Posts
    11
    Rep Power
    8

    Default

    OK, I have changed my resolv.conf to use my LAN ip instead of 127.0.0.1. The following noe happends:


    [zimbra@daxserver ~]$ zmcontrol stop
    Host daxserver.daxlab.no
    Stopping mta...Done
    Stopping spell...Done
    Stopping snmp...Done
    Stopping antivirus...Done
    Stopping antispam...Done
    Stopping imapproxy...Done
    Stopping mailbox...Done
    Stopping logger...Done
    Stopping ldap...Done
    [zimbra@daxserver ~]$ zmcontrol start
    Host daxserver.daxlab.no
    Starting ldap...Done.
    Starting logger...Done.
    Starting mailbox...Done.
    Starting antispam...Done.
    Starting antivirus...Done.
    Starting snmp...Done.
    Starting spell...FAILED
    Syntax error on line 232 of /opt/zimbra/conf/httpd.conf:
    Cannot load /opt/zimbra/httpd-2.0.54/modules/libphp5.so into server: /opt/zimbra/httpd-2.0.54/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied

    [zimbra@daxserver ~]$ zmcontrol status
    Host daxserver.daxlab.no
    antispam Running
    antivirus Running
    ldap Running
    logger Running
    mailbox Running
    mta Stopped
    postfix is not running
    snmp Running
    spell Stopped
    zmapachectl is not running

  9. #9
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Which operating system is this? Are you really sure SElinux is disabled? It should be disabled and not in warn mode.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  2. fresh install down may be due to tomcat
    By gon in forum Installation
    Replies: 10
    Last Post: 07-25-2007, 08:09 AM
  3. DynDNS and Zimbra
    By afterwego in forum Installation
    Replies: 30
    Last Post: 04-01-2007, 03:34 PM
  4. Tomcat broken after upgrade to 4
    By dotslashroot in forum Migration
    Replies: 13
    Last Post: 01-31-2007, 06:05 PM
  5. Mail not getting to mail boxes
    By ehults in forum Installation
    Replies: 5
    Last Post: 10-31-2005, 09:24 AM

Posting Permissions

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