Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: [SOLVED] Sendmail MTA to Zimbra Community Edition for Testing Zimbra

  1. #1
    tkerkman is offline Banned
    Join Date
    Nov 2008
    Posts
    22
    Rep Power
    0

    Default [SOLVED] Sendmail MTA to Zimbra Community Edition for Testing Zimbra

    Good Day... I have a sendmail server (smtpgate.my.domain) that receives our email from the internet. Then uses the aliases database to forward it on to our current POP server or the new Zimbra Server ( zimbramail.my.domain) depending. I have one account that I am forwarding ( zmitg: zmtig@zimbramail.my.domain ) I have a local DNS entry for the MX record for kccjs.org to point to smtpgate.my.domain.

    I have setup the new Zimbra Server also for the my.domain domain, and created one test user. zmtig@my.domain.

    Since I thought this is setup is a split-domain. I used the Wiki so setup the Zimbra Server as a Secondary System.

    zmprov md my.domain zimbraMailCatchAllAddress @my.domain
    zmprov md my.domain zimbraMailCatchAllForwardingAddress @my.domain
    zmprov md my.domian zimbraMialTransport smtp:smtpgate.my.domain

    zmprov mcf zimbraMtaReplayHost smtpgate.my.domain
    zmprov mcf zimbraMtaDnsLookupsEnabled False

    postfix stop
    postfix start

    The problem I am having is that when I sendmail to zmtig@my.domain. It get bounced between the smtpgate.my.domain and zimbramail.my.domain.

    I have redone the load etc etc etc.

    I can run the Sendmail Chat script by hand from smtpgate.my.domain to zimbramail.my.domain with telnet zimbramail.my.domain 25 and fake a message, and it get delivered? But if I send it normally from a Mail Client, it gets bounced between the 2 until I hit the 28 bounce limit??

    This is my first try to get a Zimbra Server up with the same domain as the sendmail server.

    I am sure I am missing something obvious, but I sure don't see it??

    Thanks
    Tkerkman

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Welcome to the forums

    It sounds like a DNS issue on your ZCS server in that it is resolving the MX back to your Sendmail instance. To help resolve this please post the following from your ZCS server
    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig my.domain mx
    dig my.domain any
    host `hostname` <- note backticks and not single quotes

  3. #3
    tkerkman is offline Banned
    Join Date
    Nov 2008
    Posts
    22
    Rep Power
    0

    Default Sendmail MTA continued

    Obvioulsy my.domain is not real:

    [root@zimbramail log]# cat /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost
    172.30.3.177 zimbramail.kccjs.org zimbramail

    ;; QUESTION SECTION:
    ;kccjs.org. IN MX

    ;; ANSWER SECTION:
    kccjs.org. 86400 IN MX 10 smtpgate.kccjs.org.

    ;; AUTHORITY SECTION:
    kccjs.org. 86400 IN NS dns1.kccjs.org.
    kccjs.org. 86400 IN NS dns2.kccjs.org.
    kccjs.org. 86400 IN NS localhost.

    ;; ADDITIONAL SECTION:
    smtpgate.kccjs.org. 86400 IN A 172.30.3.201
    localhost. 86400 IN A 127.0.0.1
    localhost. 86400 IN AAAA ::1
    ;; QUESTION SECTION:
    ;kccjs.org. IN ANY

    ;; ANSWER SECTION:
    kccjs.org. 86400 IN MX 10 smtpgate.kccjs.org.
    kccjs.org. 86400 IN SOA localhost. root.localhost. 20080056 28800 14400 3600000 86400
    kccjs.org. 86400 IN NS dns2.kccjs.org.
    kccjs.org. 86400 IN NS localhost.
    kccjs.org. 86400 IN NS dns1.kccjs.org.

    ;; ADDITIONAL SECTION:
    smtpgate.kccjs.org. 86400 IN A 172.30.3.201
    localhost. 86400 IN A 127.0.0.1
    localhost. 86400 IN AAAA ::1

    [root@zimbramail log]# cat /etc/resolv.conf
    search kccjs.org
    nameserver 172.30.3.4
    nameserver 172.30.3.10

    host `hostname`
    zimbramail.kccjs.org has address 172.30.3.177

  4. #4
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    As I expected the MX is resolving to your Sendmail server. You have two options then 1) Change the MX to point too zimbramail.kccjs.org 2) Install BIND on the ZCS server and configure a Split DNS - Zimbra :: Wiki architecture.

  5. #5
    tkerkman is offline Banned
    Join Date
    Nov 2008
    Posts
    22
    Rep Power
    0

    Default DNS Lookups Off

    Also, I thought that I turned off the DNS lookup with the following?

    zmprov mcf zimbraMtaDnsLookupsEnabled False

  6. #6
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Yes but ZCS requires a valid MX record.

  7. #7
    tkerkman is offline Banned
    Join Date
    Nov 2008
    Posts
    22
    Rep Power
    0

    Default

    I thought I did do the Split domain setup? and I do have bind installed?
    Can't I have a MX record pointing to our real mail server, and still have Zimbra as a secondary server and share the domain without a MX record as long as I have setup the Split Domain following the Wiki??

  8. #8
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    yes but the MX will point to your primary server and as you have a sendmail rule to forward for that account that is was is causing the email bounce. If you have installed BIND on your ZCS server setup the MX to point to itself and then in the Admin GUI set your Sendmail server as the upstream relay.

  9. #9
    tkerkman is offline Banned
    Join Date
    Nov 2008
    Posts
    22
    Rep Power
    0

    Default

    I thought I did do the Split domain setup? and I do have bind installed?
    Can't I have a MX record pointing to our real mail server, and still have Zimbra as a secondary server and share the domain without a MX record as long as I have setup the Split Domain following the Wiki??

  10. #10
    tkerkman is offline Banned
    Join Date
    Nov 2008
    Posts
    22
    Rep Power
    0

    Default

    Aaaa! Da! I need to read better, I have to do the DNS-Split setup also. I will go and get that done and get back to you ASAP... Thanks

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 8
    Last Post: 01-12-2012, 02:20 AM
  2. [SOLVED] parts_decode_ext error
    By jsabater in forum Administrators
    Replies: 7
    Last Post: 10-13-2008, 07:24 AM
  3. Zimbra spam system
    By rajahd in forum Administrators
    Replies: 9
    Last Post: 04-16-2008, 07:25 PM
  4. /tmp filling
    By Nutz in forum Administrators
    Replies: 8
    Last Post: 02-22-2008, 02:00 AM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 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
  •