Results 1 to 8 of 8

Thread: No DNS Lookup

  1. #1
    Join Date
    Nov 2009
    Location
    France
    Posts
    21
    Rep Power
    6

    Default No DNS Lookup

    Hi all,

    does Zimbra really check MX when sending mail? The following problem occured few times, when domain and accounts are configured on zimbra server A and MX DNS record points on another server B: if someone sends a mail to that domain from zimbra webgui A, then mail is not routed outside to server B via SMTP.
    It is routed inside Zimbra A and delivered to locally configured mailbox. What is wrong? Zimbra is looking first its local domain database, bypassing mx records?

    Can someone confirms this behaviour?

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

    Default

    Quote Originally Posted by qseb View Post
    Can someone confirms this behaviour?
    If the domain exists on the Zimbra server it will get delivered to the account that exists on the Zimbra server not routed externally. It does not make sense to have two domains of the same name with one of them on another server and corresponding DNS records pointing to the second server.

    What problem are you actually trying to solve by using this scenario?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    May 2011
    Posts
    24
    Rep Power
    4

    Default

    yes right

    if your zimbra server is having domain example.com then it will deliver it locally for domain example.com. you can tell zimbra to deliver mail for other domains to your second smtp server.
    Thanks & Regards
    S. Jangra
    System Admin

  4. #4
    Join Date
    Nov 2009
    Location
    France
    Posts
    21
    Rep Power
    6

    Default

    Quote Originally Posted by phoenix View Post
    If the domain exists on the Zimbra server it will get delivered to the account that exists on the Zimbra server not routed externally. It does not make sense to have two domains of the same name with one of them on another server and corresponding DNS records pointing to the second server.

    What problem are you actually trying to solve by using this scenario?
    Yes it does not make sense on most of the time. But consider this two situation in production:
    - when a new customer migrates its mail system to your zimbra, then you have to prepare domain and accounts before DNS migration. During this time you cannot correspond with real adresses.
    - when a customer leaves the zimbra server for another provider. If domain is immediately not destroyed, you again cannot correspond with adresses since they've just moved to another server. It's dangerous to delete a mail domain if you're not sure that DNS are propagated...

    Zimbra SHOULD check MX to send mail and shouldn't make lookups to internal values.

  5. #5
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by qseb View Post
    Yes it does not make sense on most of the time. But consider this two situation in production:
    - when a new customer migrates its mail system to your zimbra, then you have to prepare domain and accounts before DNS migration. During this time you cannot correspond with real adresses.
    - when a customer leaves the zimbra server for another provider. If domain is immediately not destroyed, you again cannot correspond with adresses since they've just moved to another server. It's dangerous to delete a mail domain if you're not sure that DNS are propagated...
    Then us e a Split Domain.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    Join Date
    Nov 2009
    Location
    France
    Posts
    21
    Rep Power
    6

    Default

    Quote Originally Posted by phoenix View Post
    Then us e a Split Domain.
    OK interesting, BUT:

    zmprov on my zimbra :
    Code:
    md foreign-domain.com zimbraMailCatchAllAddress @foreign-domain.com
    md foreign-domain.com zimbraMailCatchAllForwardingAddress @foreign-domain.com 
    md foreign-domain.com zimbraMailTransport smtp:mta.other-provider.com
    so I expect that mail adressed to foreign-domain.com from my zimbra will be routed to mta.other-provider.com. It does not work, my zimbra still delivers mails to foreign-domain.com locally.
    I flushed cache
    I restarted postfix
    I restarted zimbra.

  7. #7
    Join Date
    Nov 2009
    Location
    France
    Posts
    21
    Rep Power
    6

    Default

    Code:
    zmprov ma user@foreign-domain.com zimbraMailTransport smtp:mta.other-provider.com:25
    is working. All mails from zimbra platform adressed to user@foreign-domain.com are correctly routed outside
    How to make this rule available as domain rule?
    Code:
    md foreign-domain.com zimbraMailTransport smtp:mta.other-provider.com
    was not successfull...

    EDIT : finally working by appending :25 to mta.other-provider.com
    Last edited by qseb; 01-27-2012 at 06:51 AM. Reason: found solution

  8. #8
    Join Date
    Nov 2009
    Location
    France
    Posts
    21
    Rep Power
    6

    Default

    Hello,

    old thread but new problem when playing with zimbraMailTransport.

    When setting zimbraMailTransport to another host:
    - mails from zimbra are correctly sent to other host
    - but account does not reamlly exists on zimbra. User cannot login, because zimbraMailHost is empty

    When setting zimbraMailHost to zimbra
    - mails from zimbra are locally delivered to zimbra
    - user can log in.

    When you try to set one of two options ( zimbraMailHost or zimbraMailTransport), the other option is reset. Why is it not possible to have at the same time:
    - zimbraMailTransport to other smtp, to deliver message on an other host
    - zimbraMailHost to local zimbra, in order to login

    Thank you

Similar Threads

  1. Block IPs that Don't Resolve via Reverse DNS Lookup
    By eatickets in forum Installation
    Replies: 17
    Last Post: 11-14-2011, 01:59 PM
  2. Zimbra Server Sending and Recieveing +DNS Lookup
    By f1tzz1mbr4 in forum Administrators
    Replies: 11
    Last Post: 07-20-2011, 10:13 AM
  3. [SOLVED] Amavisd-Postfix RCPT TO Takes a long time
    By samuraii in forum Administrators
    Replies: 8
    Last Post: 02-11-2009, 03:34 PM
  4. Failed DNS lookup when entries exist
    By toadkicker@gmail.com in forum Installation
    Replies: 5
    Last Post: 09-02-2008, 04:23 PM
  5. :( DNS Lookup issues
    By jhgutierrezg in forum Administrators
    Replies: 3
    Last Post: 05-30-2007, 09:00 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
  •