Results 1 to 9 of 9

Thread: Unable to send mail through webinterface

  1. #1
    MeneM is offline Active Member
    Join Date
    Sep 2005
    Location
    Amsterdam
    Posts
    44
    Rep Power
    9

    Default Unable to send mail through webinterface

    Dear reader,

    I'm currently unable to send email through the web interface. I'm getting the following error message:

    Code:
    msg - system failure: MessagingException
    code - service.FAILURE
    method - ZmCsfeCommand.prototype.invoke
    detail - soap:Receiver
    Everytime I press the "send" button. I CAN however send email using external mail clients like Thunderbird etc.

    We have reinstalled the DNS server, so this is where I checked the settings first.

    The zone file:
    Code:
    $ttl 38400
    maas-martin.nl.	IN	SOA	borg. mark.maas-martin.nl. (
    			1190612755
    			10800
    			3600
    			604800
    			38400 )
    maas-martin.nl.	IN	NS	borg.
    maas-martin.nl.      	A        10.0.0.1
    zimbra.maas-martin.nl.	IN	A	10.0.0.50
    zimbra.		IN	MX	10 zimbra
    mail.			IN	CNAME	zimbra
    I believe I've followed this thread: http://www.zimbra.com/forums/adminis...-nutshell.html

    And also followed the Documentation examples?

    Perhaps though the DNS is not at fault and I need to look elsewhere?

    Thanks!
    MeneM

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,580
    Rep Power
    57

    Default

    Your DNS is incorrect, you haven't followed the example in DNS in a Nutshell. You need the FQDN (Fully Qualified Domain Name) in the MX record not just the hostname
    Code:
    @             IN        MX     10 hostname.mydomain.com.
    and you need the A record in this format:
    Code:
    hostname IN        A       192.168.1.3
    Last edited by phoenix; 09-25-2007 at 04:36 AM.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    MeneM is offline Active Member
    Join Date
    Sep 2005
    Location
    Amsterdam
    Posts
    44
    Rep Power
    9

    Default

    Hello again,

    I'm sorry for that, I arranged it through webmin, without ever touching the zone file itself

    I've changed it, but no go yet :-(

    Code:
    $ttl 38400
    maas-martin.nl.	IN	SOA	borg. mark.maas-martin.nl. (
    			1190721151
    			10800
    			3600
    			604800
    			38400 )
    maas-martin.nl.		IN	NS	borg.
    			   IN	MX	10 thinkpad.maas-martin.nl.
    ;
    thinkpad		IN	A	10.0.0.50
    mail			  IN	CNAME	thinkpad

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

    Default

    Sorry, I forgot to ask if your hosts file is correct. CHeck it by running this command on your Zimbra server:

    Code:
    host `hostname`  <-- type that command exactly using backticks not single quotes.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    MeneM is offline Active Member
    Join Date
    Sep 2005
    Location
    Amsterdam
    Posts
    44
    Rep Power
    9

    Default

    On the Zimbra server I get this on that command:

    Code:
    zimbra@thinkpad:/home/admin$ host `hostname`
    thinkpad.maas-martin.nl has address 10.0.0.50

  6. #6
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,580
    Rep Power
    57

    Default

    OK, that's fine. Next thing to check is the mynetworks setting, follow the steps in this wiki article.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    MeneM is offline Active Member
    Join Date
    Sep 2005
    Location
    Amsterdam
    Posts
    44
    Rep Power
    9

    Default

    Allright, this is what i've got:

    Code:
    zimbra@thinkpad:/home/admin$ postconf mynetworks
    mynetworks = 127.0.0.0/8 10.0.0.0/24
    zimbra@thinkpad:/home/admin$ zmprov getServer thinkpad.maas-martin.nl | grep zimbraMtaMyNetworks
    zimbraMtaMyNetworks: 127.0.0.0/8 10.0.0.0/24
    zimbra@thinkpad:/home/admin$
    If I'm reading the article right: this is correct (?).

    Below is a full session of trying to send an email through the webinterface: Not one error I'm afraid...

    Code:
    zimbra@thinkpad:/home/admin$ tail -f /var/log/zimbra.log
    Sep 25 18:24:07 thinkpad zimbramon[8271]: 8271:info: 2007-09-25 18:24:01, STATUS: thinkpad.maas-martin.nl: antispam: Running
    Sep 25 18:24:07 thinkpad zimbramon[8271]: 8271:info: 2007-09-25 18:24:01, STATUS: thinkpad.maas-martin.nl: antivirus: Running
    Sep 25 18:24:07 thinkpad zimbramon[8271]: 8271:info: 2007-09-25 18:24:01, STATUS: thinkpad.maas-martin.nl: ldap: Running
    Sep 25 18:24:07 thinkpad zimbramon[8271]: 8271:info: 2007-09-25 18:24:01, STATUS: thinkpad.maas-martin.nl: logger: Running
    Sep 25 18:24:07 thinkpad zimbramon[8271]: 8271:info: 2007-09-25 18:24:01, STATUS: thinkpad.maas-martin.nl: mailbox: Running
    Sep 25 18:24:07 thinkpad zimbramon[8271]: 8271:info: 2007-09-25 18:24:01, STATUS: thinkpad.maas-martin.nl: mta: Running
    Sep 25 18:24:07 thinkpad zimbramon[8271]: 8271:info: 2007-09-25 18:24:01, STATUS: thinkpad.maas-martin.nl: snmp: Running
    Sep 25 18:24:07 thinkpad zimbramon[8271]: 8271:info: 2007-09-25 18:24:01, STATUS: thinkpad.maas-martin.nl: spell: Running
    Sep 25 18:24:07 thinkpad zimbramon[8271]: 8271:info: 2007-09-25 18:24:01, STATUS: thinkpad.maas-martin.nl: stats: Stopped
    Sep 25 18:24:07 thinkpad CRON[8270]: (pam_unix) session closed for user zimbra
    Sep 25 18:25:01 thinkpad CRON[8443]: (pam_unix) session opened for user zimbra by (uid=0)
    Sep 25 18:25:01 thinkpad CRON[8443]: (pam_unix) session closed for user zimbra
    Sep 25 18:26:01 thinkpad CRON[8514]: (pam_unix) session opened for user zimbra by (uid=0)
    Sep 25 18:26:06 thinkpad zmtomcatmgr[8620]: status requested
    Sep 25 18:26:06 thinkpad zmtomcatmgr[8620]: status OK
    Sep 25 18:26:08 thinkpad zimbramon[8515]: 8515:info: 2007-09-25 18:26:01, STATUS: thinkpad.maas-martin.nl: antispam: Running
    Sep 25 18:26:08 thinkpad zimbramon[8515]: 8515:info: 2007-09-25 18:26:01, STATUS: thinkpad.maas-martin.nl: antivirus: Running
    Sep 25 18:26:08 thinkpad zimbramon[8515]: 8515:info: 2007-09-25 18:26:01, STATUS: thinkpad.maas-martin.nl: ldap: Running
    Sep 25 18:26:08 thinkpad zimbramon[8515]: 8515:info: 2007-09-25 18:26:01, STATUS: thinkpad.maas-martin.nl: logger: Running
    Sep 25 18:26:08 thinkpad zimbramon[8515]: 8515:info: 2007-09-25 18:26:01, STATUS: thinkpad.maas-martin.nl: mailbox: Running
    Sep 25 18:26:08 thinkpad zimbramon[8515]: 8515:info: 2007-09-25 18:26:01, STATUS: thinkpad.maas-martin.nl: mta: Running
    Sep 25 18:26:08 thinkpad zimbramon[8515]: 8515:info: 2007-09-25 18:26:01, STATUS: thinkpad.maas-martin.nl: snmp: Running
    Sep 25 18:26:08 thinkpad zimbramon[8515]: 8515:info: 2007-09-25 18:26:01, STATUS: thinkpad.maas-martin.nl: spell: Running
    Sep 25 18:26:08 thinkpad zimbramon[8515]: 8515:info: 2007-09-25 18:26:01, STATUS: thinkpad.maas-martin.nl: stats: Stopped
    Sep 25 18:26:08 thinkpad CRON[8514]: (pam_unix) session closed for user zimbra
    Sep 25 18:26:33 thinkpad postfix/smtpd[8668]: connect from unknown[201.66.150.21]
    Sep 25 18:26:35 thinkpad postfix/smtpd[8668]: NOQUEUE: reject: RCPT from unknown[201.66.150.21]: 550 : Recipient address rejected: maas-martin.nl; from= to= proto=SMTP helo=
    Sep 25 18:26:35 thinkpad postfix/smtpd[8668]: lost connection after RCPT from unknown[201.66.150.21]
    Sep 25 18:26:35 thinkpad postfix/smtpd[8668]: disconnect from unknown[201.66.150.21]
    Aside from the obvious spammer there's nothing there that tells us whats wrong.

    However, perhaps the following log excerpt may tell us more...

    Code:
    zimbra@thinkpad:/home/admin$ tail -f /opt/zimbra/log/mailbox.log
            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:366)
            at java.net.Socket.connect(Socket.java:518)
            at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:230)
            at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
            at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1250)
            ... 10 more
    2007-09-25 18:27:50,300 INFO  [Timer-0] [] SessionCache - Removed 1 idle sessions (AdminSession: 1).  5 active sessions remain.
    2007-09-25 18:32:23,652 INFO  [http-443-Processor48] [name=mark@maas-martin.nl;mid=3;ip=10.0.0.56;ua=ZimbraWebClient -  (Linux)/4.5.7_GA_1319.UBUNTU6;] SendMsg -  LC(mbox=6ea4a591-8d03-47f3-9a62-97643d003876, sessions=[20])
    2007-09-25 18:32:23,825 INFO  [http-443-Processor48] [name=mark@maas-martin.nl;mid=3;ip=10.0.0.56;ua=ZimbraWebClient -  (Linux)/4.5.7_GA_1319.UBUNTU6;] mailbox - Added message id=56171 digest=HjcMTCcMMEDIDM2MUKbIIaFokzY= mailbox=3 rcpt=:API:
    2007-09-25 18:32:23,884 WARN  [http-443-Processor48] [name=mark@maas-martin.nl;mid=3;ip=10.0.0.56;ua=ZimbraWebClient -  (Linux)/4.5.7_GA_1319.UBUNTU6;] MailSender - exception occurred during SendMsg
    com.zimbra.cs.mailbox.MailSender$SafeMessagingException: Connection refused; chained exception is:
            java.net.ConnectException: Connection refused
            at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282)
            at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
            at javax.mail.Service.connect(Service.java:275)
            at javax.mail.Service.connect(Service.java:156)
            at javax.mail.Service.connect(Service.java:105)
            at javax.mail.Transport.send0(Transport.java:168)
            at javax.mail.Transport.send(Transport.java:98)
            at com.zimbra.cs.mailbox.MailSender.sendMessage(MailSender.java:369)
            at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(MailSender.java:248)
            at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(MailSender.java:124)
            at com.zimbra.cs.operation.SendMsgOperation.callback(SendMsgOperation.java:114)
            at com.zimbra.cs.operation.Operation.schedule(Operation.java:190)
            at com.zimbra.cs.service.mail.SendMsg.handle(SendMsg.java:140)
            at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEngine.java:276)
            at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:173)
            at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:95)
            at com.zimbra.soap.SoapServlet.doPost(SoapServlet.java:221)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
            at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:162)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
            at org.apache.catalina.core.StandardContextValve.invoke(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.invoke(StandardEngineValve.java:107)
            at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
            at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
            at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
            at java.lang.Thread.run(Thread.java:619)
    2007-09-25 18:32:23,886 INFO  [http-443-Processor48] [name=mark@maas-martin.nl;mid=3;ip=10.0.0.56;ua=ZimbraWebClient -  (Linux)/4.5.7_GA_1319.UBUNTU6;] SoapEngine - handler exception
    com.zimbra.common.service.ServiceException: system failure: MessagingException
            at com.zimbra.common.service.ServiceException.FAILURE(ServiceException.java:175)
            at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(MailSender.java:307)
            at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(MailSender.java:124)
            at com.zimbra.cs.operation.SendMsgOperation.callback(SendMsgOperation.java:114)
            at com.zimbra.cs.operation.Operation.schedule(Operation.java:190)
            at com.zimbra.cs.service.mail.SendMsg.handle(SendMsg.java:140)
            at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEngine.java:276)
            at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:173)
            at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:95)
            at com.zimbra.soap.SoapServlet.doPost(SoapServlet.java:221)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
            at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:162)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
            at org.apache.catalina.core.StandardContextValve.invoke(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.invoke(StandardEngineValve.java:107)
            at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
            at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
            at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
            at java.lang.Thread.run(Thread.java:619)
    Caused by: com.zimbra.cs.mailbox.MailSender$SafeMessagingException: Connection refused; chained exception is:
            java.net.ConnectException: Connection refused
            at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282)
            at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
            at javax.mail.Service.connect(Service.java:275)
            at javax.mail.Service.connect(Service.java:156)
            at javax.mail.Service.connect(Service.java:105)
            at javax.mail.Transport.send0(Transport.java:168)
            at javax.mail.Transport.send(Transport.java:98)
            at com.zimbra.cs.mailbox.MailSender.sendMessage(MailSender.java:369)
            at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(MailSender.java:248)
            ... 26 more

  8. #8
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,580
    Rep Power
    57

    Default

    Do you have any firewall enabled or SElinux (do you have that on Ubuntu?), disable them if you have and try again. If that doesn't work could you shut down Zimbra and run the zmfixperms script then restart Zimbra. Does that make any difference?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  9. #9
    MeneM is offline Active Member
    Join Date
    Sep 2005
    Location
    Amsterdam
    Posts
    44
    Rep Power
    9

    Default

    May thank you BTW for your repsonses? Very apreciated.

    No internally there are no firewalls or SElinux technologies running. Everything is open inside this network.

    Except ofcourse the on the firewall between network and Internet.

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. Installed OK - Can send but not recieve email
    By gregbazar in forum Installation
    Replies: 3
    Last Post: 11-05-2005, 04:56 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
  •