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

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 12-16-2011, 05:27 PM
New Member
 
Posts: 3
Default Unable to receive mail

Hi

I have the following error messages which I hoped would explain why my server cannot deliver mail:

From zimbra.log:

Dec 17 01:58:08 mail postfix/qmgr[10457]: 8ED02460BB5: from=<andy@censored.co.uk>, size=2428, nrcpt=1 (queue active)
Dec 17 01:58:08 mail amavis[6968]: (06968-01) (!)connect_to_ldap: unable to connect to host ldap://mail.censored.com:389
Dec 17 01:58:08 mail amavis[6968]: (06968-01) (!!)TROUBLE in process_request: connect_to_ldap: unable to connect at (eval 98) line 104, <GEN14> line 5.
Dec 17 01:58:08 mail amavis[6968]: (06968-01) (!)Requesting process rundown after fatal error
Dec 17 01:58:08 mail postfix/smtp[19055]: 8ED02460BB5: to=<contact@censored.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=8830, delays=8829/0.01/0.01/0.11, dsn=4.3.2, status=deferred (host 127.0.0.1[127.0.0.1] said: 421 4.3.2 Service shutting down, closing channel (in reply to RCPT TO command))
The above sequence is obtained by requeing a message that is currently held. I have searched for amavis information but I have found nothing relating to ldap.

When I try to send a message from one local user to another with the webmail client then I get this error (at the webmail client, nothing in zimbra.log):
method: [unknown]
msg: system failure: Unable to get SMTP session for [com.zimbra.cs.account.ldap.LdapAccount contact@censored.com]
code: service.FAILURE
detail: soap:Receiver
trace: com.zimbra.common.service.ServiceException: system failure: Unable to get SMTP session for [com.zimbra.cs.account.ldap.LdapAccount contact@censored.com] ExceptionId:btpool0-11://10.11.12.14/service/soap/SendMsgRequest:1324084535976:b68d3efcbc651fad Code:service.FAILURE at com.zimbra.common.service.ServiceException.FAILURE (ServiceException.java:248) at com.zimbra.cs.mailbox.Mailbox.getMailSender(Mailbo x.java:576) at com.zimbra.cs.service.mail.SendMsg.doSendMessage(S endMsg.java:188) at com.zimbra.cs.service.mail.SendMsg.handle(SendMsg. java:154) at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:412) at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:287) at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:158) at com.zimbra.soap.SoapServlet.doWork(SoapServlet.jav a:294) at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:215) at javax.servlet.http.HttpServlet.service(HttpServlet .java:725) at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:208) at javax.servlet.http.HttpServlet.service(HttpServlet .java:814) at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1166) at com.zimbra.cs.servlet.SetHeaderFilter.doFilter(Set HeaderFilter.java:79) at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1157) at org.mortbay.servlet.UserAgentFilter.doFilter(UserA gentFilter.java:81) at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter .java:132) at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:388) at org.mortbay.jetty.security.SecurityHandler.handle( SecurityHandler.java:218) at org.mortbay.jetty.servlet.SessionHandler.handle(Se ssionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(Co ntextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebA ppContext.java:422) at org.mortbay.jetty.handler.ContextHandlerCollection .handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle (HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:152) at org.mortbay.jetty.handler.rewrite.RewriteHandler.h andle(RewriteHandler.java:230) at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:152) at org.mortbay.jetty.handler.DebugHandler.handle(Debu gHandler.java:77) at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(Htt pConnection.java:583) at org.mortbay.jetty.HttpConnection$RequestHandler.co ntent(HttpConnection.java:986) at org.mortbay.jetty.HttpParser.parseNext(HttpParser. java:756) at org.mortbay.jetty.HttpParser.parseAvailable(HttpPa rser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnec tion.java:414) at org.mortbay.io.nio.SelectChannelEndPoint.run(Selec tChannelEndPoint.java:429) at org.mortbay.thread.BoundedThreadPool$PoolThread.ru n(BoundedThreadPool.java:451) Caused by: javax.mail.MessagingException: No SMTP hosts available for domain casiris.com at com.zimbra.cs.util.JMSession.getSmtpSession(JMSess ion.java:119) at com.zimbra.cs.util.JMSession.getSmtpSession(JMSess ion.java:159) at com.zimbra.cs.mailbox.Mailbox.getMailSender(Mailbo x.java:574) ... 37 more
request:
(edited)
I am authenticating users via an openldap server on another box, and that is working since I can log on in the webmail client.

Any ideas anyone?
Reply With Quote
  #2 (permalink)  
Old 12-17-2011, 04:15 AM
Elite Member
 
Posts: 334
Default

Quote:
Originally Posted by andyb View Post
Hi

I have the following error messages which I hoped would explain why my server cannot deliver mail:
[INDENT]
From zimbra.log:

Dec 17 01:58:08 mail postfix/qmgr[10457]: 8ED02460BB5: from=<andy@censored.co.uk>, size=2428, nrcpt=1 (queue active)
Dec 17 01:58:08 mail amavis[6968]: (06968-01) (!)connect_to_ldap: unable to connect to host ldap://mail.censored.com:389

I am authenticating users via an openldap server on another box, and that is working since I can log on in the webmail client.

Any ideas anyone?
It seems that your problem related to Zimbra LDAP. External LDAP authentication should not related with this problem unless you have wrong configuration.

Could you please paste your /etc/hosts content?

Is this true that mail.censored.com is your Zimbra hostname?
__________________
Best Regards
---
Masim "Vavai" Sugianto
Vavai Personal Blog
Personal Blog [ID]

Release 7.1.3_GA_3346.SLES11_64_20110930001521 SLES11_64 FOSS edition.
Reply With Quote
  #3 (permalink)  
Old 12-17-2011, 04:56 AM
New Member
 
Posts: 3
Default Solved!

Firstly thanks for your reply. In the end I stayed up until 4:30 am this morning and found the problem, and it seems that you would have pointed me in the right direction as well!

For a reason that I don't understand as yet, my FQDN had become attached to the IPV6 address in /etc/hosts and therefore as LDAP was running and listening on port 389, it was not accepting connections to the IPV4 address that was being returned by the (split mode) DNS query.

I fixed the /etc/hosts and all is OK.

As I say I'm not what triggered this.

And, no I do not administer censored.com, I have, well, censored my post.

thanks again.
Reply With Quote
  #4 (permalink)  
Old 12-17-2011, 05:03 AM
Elite Member
 
Posts: 334
Default

Glad to hear that you've managed to solve the problem. Yes, I know that censored.com is replace of original domain.

Would you like to mark this thread as Solved, to helps anyone who facing similar problem.
__________________
Best Regards
---
Masim "Vavai" Sugianto
Vavai Personal Blog
Personal Blog [ID]

Release 7.1.3_GA_3346.SLES11_64_20110930001521 SLES11_64 FOSS edition.
Reply With Quote
  #5 (permalink)  
Old 12-17-2011, 07:12 AM
New Member
 
Posts: 3
Default

yes can be marked as solved.
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.