Results 1 to 5 of 5

Thread: Zimbra 7 masquerade domain name

  1. #1
    dazza_act is offline Intermediate Member
    Join Date
    Oct 2008
    Posts
    17
    Rep Power
    6

    Default Zimbra 7 masquerade domain name

    OK, I give up. I've tried every suggestion in every forum I can find related to domain name masquerading and it's just not working in ver 7. I've done this on numerous Zimbra servers since version 5 with no problem at all but none of the suggestions have worked for Zimbra 7.

    The server is zimbra.example.com but the domain name needs to appear and have a return address on mail of .example.com. As I said, no problems with this in the past but now nothing seems to work. Here are a few of the commands I've tried:

    /zmprov md zimbra.citizensadvice.org.au zimbraMailCatchAllAddress @zimbra.citizensadvice.org.au zimbraMailCatchAllCanonicalAddress @citizensadvice.org.au

    zmlocalconfig -e postfix_masquerade_domains="zimbra.citizensadvice.org.au citizensadvice.org.au"

    postconf -e masquerade_domains="zimbra.citizensadvice.org.au citizensadvice.org.au"

    zimbraMailCatchAllCanonicalAddress @citizensadvice.org.au

    I've avoided changing the server name as that just doesn't seem right. The server name IS zimbra.example.com and I'm assuming if I tell Zimbra it example.com it will cause issues.

    Every other mail server I've run regardless of Postfix, Sendmail or Zimbra has let me masquerade the domain name.

    Do I need to sacrifice a goat or something to get Zimbra 7 to behave?

    Cheers.

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,506
    Rep Power
    57

    Default

    Quote Originally Posted by dazza_act View Post
    I've avoided changing the server name as that just doesn't seem right.
    There is no need to rename the server.

    Quote Originally Posted by dazza_act View Post
    The server name IS zimbra.example.com and I'm assuming if I tell Zimbra it example.com it will cause issues.
    Instead of jumping through all these hoops why don't you just rename your domain to example.com (which is what it should have been in the first place), unless I'm missing something blindingly obvious?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    dazza_act is offline Intermediate Member
    Join Date
    Oct 2008
    Posts
    17
    Rep Power
    6

    Default

    Because naming it example.com is wrong. The FQDN (which is what was asked for during install) is as I have it. you don't name a mail server incorrectly just to appease mail software in the world I live in. The correct way to handle this is with domain name masquerading just as sendmail, postfix and Zimbra have done it up to this point.

    I'll change the domain name if that's the only way it will work, but I'm fairly confident that is not technically correct. Happy to be shown otherwise.

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,506
    Rep Power
    57

    Default

    Quote Originally Posted by dazza_act View Post
    Because naming it example.com is wrong.
    No it's not.

    Quote Originally Posted by dazza_act View Post
    The FQDN (which is what was asked for during install) is as I have it. you don't name a mail server incorrectly just to appease mail software in the world I live in.
    You seems to be labouring under a misconception here. I actually said rename the domain NOT rename the server. The question you're asked during install asks what domain name you want to host on the server, if you enter nothing (i.e. hit enter) then it uses the default of the FQDN of the server - that is not correct in this case (and most other cases), your domain name is citizensadvice.org.au not zimbra.citizensadvice.org.au (which is a sub-domain as far as a domain name is concerned).

    Quote Originally Posted by dazza_act View Post
    The correct way to handle this is with domain name masquerading just as sendmail, postfix and Zimbra have done it up to this point.
    No, that's not the correct way to do it, the correct way is to set your domain name when you initially install ZCS.

    Quote Originally Posted by dazza_act View Post
    I'll change the domain name if that's the only way it will work, but I'm fairly confident that is not technically correct. Happy to be shown otherwise.
    It is technically correct to set the correct domain name that you're going to host on your server, believe me using a domain masquerade is unnecessary
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    dazza_act is offline Intermediate Member
    Join Date
    Oct 2008
    Posts
    17
    Rep Power
    6

    Default

    Quote Originally Posted by phoenix View Post
    No it's not.
    It is technically correct to set the correct domain name that you're going to host on your server, believe me using a domain masquerade is unnecessary
    Will do and thanks for the assistance. I've never done it this way before and I've been using Zimbra for years. It's also certainly not how sendmail and postfix work where masquerading is the norm. Not to mention it's inconsistent with previous versions which certainly did masquerading just fine.

    I left changing the domain name to last as others have said that they had issues when chaning it and ended up reinstalling.

    I'm surprised the Zimbra techs I've dealt with over the years (I use the Network as well as the Community Edition) haven't brought this up with me before.

    I'm pretty sure most people are going to answer 'mail.example.com' when asked the FQDN for their mail server. At least every Unix Sys Admin I know would. Might be a good idea to clarify that prompt if anyone is listening.

    Thanks again. I'm off to change the domain name.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Issues after upgrading from 6.0.10 to 7
    By rhorist in forum Administrators
    Replies: 8
    Last Post: 02-25-2011, 08:38 AM
  2. fatal: parameter "smtpd_recipient_restrictions"
    By Robin in forum Administrators
    Replies: 8
    Last Post: 12-22-2010, 05:48 AM
  3. admin consol blank after 5.0.3 upgarde
    By maumar in forum Administrators
    Replies: 6
    Last Post: 03-21-2008, 05:16 AM
  4. zmperditionctl start asking for password
    By k7sle in forum Administrators
    Replies: 32
    Last Post: 02-20-2008, 11:13 AM
  5. Replies: 16
    Last Post: 09-07-2006, 06:39 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
  •