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 12-18-2009, 03:24 AM
Junior Member
 
Posts: 7
Default Problems sending e-mail after installation

Hello,

I`ve successfully installed Zimbra on my server. I can use web-interface to write a letter, but then I get this error sending it:

Code:
method:	SendMsgRequest
msg:	try again: Unable to connect to the MTA
code:	mail.TRY_AGAIN
detail:	soap:Receiver
trace:	btpool0-23://abs:8000/service/soap/SendMsgRequest:1261134664924:48f6674b518cec32
request:	

Body: {
  SendMsgRequest: {
    _jsns: "urn:zimbraMail",
    m: {
      e: [
        0: {
          a: "genesup@gmail.com",
          t: "t"
         },
        1: {
          a: "admin@abs.cmm.msu.ru",
          t: "f"
         }
       ],
      id: "266",
      idnt: "ef13233b-8605-434b-9da6-d8b6b0d44ad6",
      irt: {
        _content: "<281537437.25.1261132487078.JavaMail.root@abs.cmm.msu.ru>"
       },
      mp: [
        0: {
          content: {
            _content: "TEST"
           },
          ct: "text/plain"
         }
       ],
      su: {
        _content: "TEST"
       }
     },
    suid: 1261134374234
   }
 },
Header: {
  context: {
    _jsns: "urn:zimbra",
    account: {
      _content: "admin@abs.cmm.msu.ru",
      by: "name"
     },
    authToken: "(removed)",
    notify: {
      seq: 4
     },
    session: {
      _content: 110,
      id: 110
     },
    userAgent: {
      name: "ZimbraWebClient - FF3.0 (Linux)",
      version: "6.0.4_GA_2038.SLES11_64"
     }
   }
 }
This is strange since, to my understanding, I do not need an MTA to SEND an e-mail.

Nevertheless, I have made all the necessary steps to configure my DNS.

/etc/resolve.com:
nameserver abs.cmm.msu.ru
search cmm.msu.ru

abs:/var/lib/named/master # host -t mx abs.cmm.msu.ru
abs.cmm.msu.ru mail is handled by 10 abs.cmm.msu.ru.

abs:/var/lib/named/master # host -t a abs.cmm.msu.ru
abs.cmm.msu.ru has address 195.208.219.98

Zimbra MTA is set as follows:
Web mail MTA Hostnames: abs.cmm.msu.ru
Web mail MTA Port: 25
Web mail MTA timeout (s): 60s
MTA Trusted Networks: 127.0.0.0/8 195.208.219.0/24 192.168.168.0/24
Enable DNS lookups = yes

Though i still have the same error.


Please help me with this.
Reply With Quote
  #2 (permalink)  
Old 12-18-2009, 03:37 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

I'm sure you know this but you've installed Zimbra on an unsupported platform.

Post the output of the following commands (run on the zimbra server):

Code:
zmcontrol status

cat /etc/hosts
cat /etc/resolv.conf
dig yourdomain.com mx
dig yourdomain.com any
host `hostname` <-- use that exact command with backticks not single quotes
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 12-18-2009, 05:37 AM
Junior Member
 
Posts: 7
Default reply

Thank you for quick reply

zmcontrol status

Code:
Host abs.cmm.msu.ru
        antispam                Running
        antivirus               Running
        ldap                    Running
        logger                  Running
        mailbox                 Running
        mta                     Stopped
                postfix is not running
        snmp                    Running
        spell                   Running
        stats                   Running
cat /etc/hosts

Code:
195.208.219.98  abs.cmm.msu.ru abs

127.0.0.1       localhost

# special IPv6 addresses
::1             localhost ipv6-localhost ipv6-loopback

fe00::0         ipv6-localnet

ff00::0         ipv6-mcastprefix
ff02::1         ipv6-allnodes
ff02::2         ipv6-allrouters
ff02::3         ipv6-allhosts
127.0.0.2       abs.cmm.msu.ru abs
192.168.168.8   abs
192.168.168.103 leiden
192.168.168.5   irina
192.168.168.12  kirilin
192.168.168.66  arzhanik
192.168.168.54  arzhanik-nb
192.168.168.203 win2003
cat /etc/resolv.conf

Code:
nameserver abs.cmm.msu.ru
search cmm.msu.ru
dig yourdomain.com mx

Code:
; <<>> DiG 9.5.0-P2 <<>> abs.cmm.msu.ru mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59258
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:
;abs.cmm.msu.ru.                        IN      MX

;; ANSWER SECTION:
abs.cmm.msu.ru.         172800  IN      MX      10 abs.cmm.msu.ru.

;; AUTHORITY SECTION:
abs.cmm.msu.ru.         172800  IN      NS      abs.cmm.msu.ru.

;; ADDITIONAL SECTION:
abs.cmm.msu.ru.         172800  IN      A       195.208.219.98

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Dec 18 16:33:42 2009
;; MSG SIZE  rcvd: 78
dig yourdomain.com any

Code:
; <<>> DiG 9.5.0-P2 <<>> abs.cmm.msu.ru any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56375
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1

;; QUESTION SECTION:
;abs.cmm.msu.ru.                        IN      ANY

;; ANSWER SECTION:
abs.cmm.msu.ru.         172800  IN      SOA     abs.cmm.msu.ru. root.abs.cmm.msu.ru. 2009121802 10800 3600 604800 86400
abs.cmm.msu.ru.         172800  IN      MX      10 abs.cmm.msu.ru.
abs.cmm.msu.ru.         172800  IN      NS      abs.cmm.msu.ru.
abs.cmm.msu.ru.         172800  IN      A       195.208.219.98

;; ADDITIONAL SECTION:
abs.cmm.msu.ru.         172800  IN      A       195.208.219.98

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Dec 18 16:34:09 2009
;; MSG SIZE  rcvd: 135
host `hostname`

Code:
abs.cmm.msu.ru has address 195.208.219.98
abs.cmm.msu.ru mail is handled by 10 abs.cmm.msu.ru.
Thank you for your help
SDA
Reply With Quote
  #4 (permalink)  
Old 12-18-2009, 05:45 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Your hosts file is incorrect, follow the instructions in the Quick Start Installation Guide (those details also apply to openSUSE). You also have probably got Postfix enabled and started, disable it from starting on boot and kill the currently running version. When you've done that and fixed your hosts file (post the details of the changes you make) restart Zimbra.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 12-18-2009, 06:16 AM
Junior Member
 
Posts: 7
Default Reply

I`ve disabled Postfix deamon using those commands:

zmlocalconfig -e postfix_enable_smtpd_policyd=no
zmprov mcf -zimbraMtaRestriction "check_policy_service unixrivate/policy"
postfix stop

Then I changed my hosts file
(actually, I do not see much difference)
Code:
127.0.0.1    localhost.cmm.msu.ru localhost
195.208.219.98  abs.cmm.msu.ru abs
127.0.0.2       abs.cmm.msu.ru abs
192.168.168.8   abs
192.168.168.103 leiden
192.168.168.5   irina
192.168.168.12  kirilin
192.168.168.66  arzhanik
192.168.168.54  arzhanik-nb
192.168.168.203 win2003
Then I stopped all services
Code:
zimbra@abs:~> zmcontrol shutdown
Host abs.cmm.msu.ru
        Stopping stats...Done.
        Stopping mta...Done.
        Stopping spell...Done.
        Stopping snmp...Done.
        Stopping archiving...Done.
        Stopping antivirus...Done.
        Stopping antispam...Done.
        Stopping imapproxy...Done.
        Stopping memcached...Done.
        Stopping mailbox...Done.
        Stopping logger...Done.
        Stopping ldap...Done.
Then I started all services
Code:
zimbra@abs:~> zmcontrol startup
Host abs.cmm.msu.ru
        Starting ldap...Done.
        Starting logger...Done.
        Starting mailbox...Done.
        Starting antispam...Done.
        Starting antivirus...Done.
        Starting snmp...Done.
        Starting spell...Done.
        Starting mta...Done.
        Starting stats...Done.
And then ... I got absolutely the same error when sending message from :
method: SendMsgRequest
msg: try again: Unable to connect to the MTA

What do you suggest?

Thank you.
Reply With Quote
  #6 (permalink)  
Old 12-21-2009, 03:03 AM
Junior Member
 
Posts: 7
Default

Can anyone suggest something?

Thank you.
SDA
Reply With Quote
  #7 (permalink)  
Old 12-21-2009, 03:18 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Your hosts file is still incorrect, it should look like this (as per the Documentation:

Code:
127.0.0.1    localhost.localdomain localhost
x.x.x.x  abs.cmm.msu.ru abs
The IP address on the second line should be the LAN IP of your server, unless it really is on a public IP. Have you also disabled AppArmor on this server?
__________________
Regards


Bill
Reply With Quote
  #8 (permalink)  
Old 12-21-2009, 03:52 AM
Junior Member
 
Posts: 7
Default

yes it is really on a public IP. Its all-in-one: DNS and DHCP for LAN and mail server at the same time.
Why is it a problem? Is it so much unsafe?

Thank you.
SDA
Reply With Quote
  #9 (permalink)  
Old 12-21-2009, 04:01 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Quote:
Originally Posted by genesup View Post
yes it is really on a public IP. Its all-in-one: DNS and DHCP for LAN and mail server at the same time.
Why is it a problem? Is it so much unsafe?
My advice would be to keep the server behind a firewall or NAT router and forward the required ports to Zimbra, it's not advisable to run a firewall or AppArmor on a Zimbra server (you havn't said if that's the case) but it does need protection.

I notice what you've also done is use a sub-domain for this server and also used that for the FQDN of the server. What you should do is give the server a FQDN such as (for example) "mail.abs.cmm.msu.ru" and you hosts file would contain the line:

Code:
x.x.x.x mail.abs.cmm.msu.ru mail <- obvious the LAN IP
You'd obviously need to change your internal DNS records to reflect that configuration (as described in the Split DNS set-up).
__________________
Regards


Bill
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.