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 08-05-2009, 01:47 AM
New Member
 
Posts: 4
Default [SOLVED] Exception occurred during SendMsg

Hi,

I have zimbra 5.0.18 installed on vserver Debian Etch 4.0. The host is also Debain Etch. I the vserver I have 2 interfaces:
  • loopback - 192.168.1.10
  • interface with public IP / direct connection to Internet.

All zimbra services are running fine (zcontrol status), but I can't send / receive messages. When I trying to send message I get a error:
Code:
method:	SendMsgRequest
msg:	system failure: MessagingException
code:	service.FAILURE
In the mailbox.log I see these lines:
Code:
smtp - 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:1378)
	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:399)
Telnet is fine on 192.168.1.10:25 (zimbra service response)
My /etc/hosts is:
Code:
192.168.1.10 localhost.localdomain localhost
xxx.xxx.xxx.xxx mail.xxx.com mail
Please tell me, what I missed? I configured postfix (and other zimbra services) to use my 192.168.1.10 loopback interface. Maybe I have to configure routing? or put some services on the public interface?
Reply With Quote
  #2 (permalink)  
Old 08-05-2009, 02:05 AM
Moderator
 
Posts: 7,928
Default

Have a read through the documentation as /etc/hosts should look like
Code:
127.0.0.1           localhost.localdomain localhost
your.ip.address         FQDN yourhostname
__________________
Reply With Quote
  #3 (permalink)  
Old 08-05-2009, 02:25 AM
New Member
 
Posts: 4
Default

Yep, I used docs while installation and made /etc/hosts as required. Is you telling me that it is not as required, that means I really don't understand how it should look.

Do you mean about 127.0.0.1? I can't have it in the vserver.

Let's take a sample. Suppose I buy a domain "example.com". Made a MX record at mail.example.com and assigned 123.123.123.123 to mail.example.com. Also I used 192.168.1.10 as loopback on the vserver. In this case my /etc/hosts should look like:
Code:
192.168.1.10 localhost.localdomain localhost
123.123.123.123 mail.example.com mail
what it wrong?
Reply With Quote
  #4 (permalink)  
Old 08-05-2009, 02:27 AM
Moderator
 
Posts: 7,928
Default

Code:
127.0.0.1 localhost.localdomain localhost
123.123.123.123 mail.example.com mail
__________________
Reply With Quote
  #5 (permalink)  
Old 08-05-2009, 04:38 AM
New Member
 
Posts: 4
Default

Hmm, it was some kind of vserver misconfiguration. I used --hostname option when created my vserver, but in the guest's /etc/hostname I found name of the host server. I put this name into the /etc/hosts and was able to send message from the Zimbra web interface. I don't receive this message in my non-zimbra mailbox, but it is another problem and i will propably create another thread if won't be able to resolve the problem.
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.