Results 1 to 9 of 9

Thread: Problems sending e-mail after installation

  1. #1
    genesup is offline Junior Member
    Join Date
    Dec 2009
    Posts
    7
    Rep Power
    5

    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.

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    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


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    genesup is offline Junior Member
    Join Date
    Dec 2009
    Posts
    7
    Rep Power
    5

    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

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    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


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    genesup is offline Junior Member
    Join Date
    Dec 2009
    Posts
    7
    Rep Power
    5

    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.

  6. #6
    genesup is offline Junior Member
    Join Date
    Dec 2009
    Posts
    7
    Rep Power
    5

    Default

    Can anyone suggest something?

    Thank you.
    SDA

  7. #7
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    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


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    genesup is offline Junior Member
    Join Date
    Dec 2009
    Posts
    7
    Rep Power
    5

    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

  9. #9
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    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


    Acompli: A new adventure for Co-Founder KevinH.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Messages not being delivered
    By buee in forum Administrators
    Replies: 53
    Last Post: 10-23-2009, 10:28 AM
  2. Migration Assistance
    By dwill in forum Administrators
    Replies: 10
    Last Post: 12-02-2008, 08:20 AM
  3. Problem with Postfix and MTA
    By ZMilton in forum Administrators
    Replies: 16
    Last Post: 04-16-2008, 06:47 AM
  4. Replies: 20
    Last Post: 03-18-2008, 05:37 AM
  5. Replies: 2
    Last Post: 02-12-2008, 11:55 AM

Posting Permissions

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