Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-25-2007, 03:52 AM
Active Member
 
Posts: 42
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
Reply With Quote
  #2 (permalink)  
Old 09-25-2007, 04:34 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
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
__________________
Regards


Bill

Last edited by phoenix; 09-25-2007 at 04:36 AM..
Reply With Quote
  #3 (permalink)  
Old 09-25-2007, 05:14 AM
Active Member
 
Posts: 42
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
Reply With Quote
  #4 (permalink)  
Old 09-25-2007, 05:25 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
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
Reply With Quote
  #5 (permalink)  
Old 09-25-2007, 05:33 AM
Active Member
 
Posts: 42
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
Reply With Quote
  #6 (permalink)  
Old 09-25-2007, 05:38 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

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


Bill
Reply With Quote
  #7 (permalink)  
Old 09-25-2007, 09:45 AM
Active Member
 
Posts: 42
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
Reply With Quote
  #8 (permalink)  
Old 09-25-2007, 11:15 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
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
Reply With Quote
  #9 (permalink)  
Old 09-25-2007, 11:55 AM
Active Member
 
Posts: 42
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.