Results 1 to 5 of 5

Thread: [SOLVED] Exception occurred during SendMsg

  1. #1
    Join Date
    Aug 2009
    Posts
    4
    Rep Power
    6

    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?

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    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

  3. #3
    Join Date
    Aug 2009
    Posts
    4
    Rep Power
    6

    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?

  4. #4
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Code:
    127.0.0.1 localhost.localdomain localhost
    123.123.123.123 mail.example.com mail

  5. #5
    Join Date
    Aug 2009
    Posts
    4
    Rep Power
    6

    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.

Similar Threads

  1. Initializing ldap...failed. (28416) on RHEL 5
    By Nicrad in forum Installation
    Replies: 35
    Last Post: 10-22-2012, 06:57 PM
  2. Regarding Exception Message
    By Sbhingarkar in forum Developers
    Replies: 1
    Last Post: 01-22-2008, 12:52 PM
  3. Intermittent seing errors through zimbra
    By griffon in forum Zimbra Connector for Outlook
    Replies: 0
    Last Post: 10-30-2007, 12:05 PM
  4. Error loading on Mac OS X 10.4.10 server PPC
    By qprcanada in forum Installation
    Replies: 7
    Last Post: 10-26-2007, 06:25 AM
  5. Debian - zimbra stability
    By Ahmed Abd-ElHaffiez in forum Installation
    Replies: 6
    Last Post: 09-26-2006, 03:55 PM

Posting Permissions

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