Results 1 to 9 of 9

Thread: [SOLVED] Fresh zcs 6.0 BETA 1 / centos5 / split DNS

  1. #1
    Join Date
    Nov 2008
    Posts
    119
    Rep Power
    6

    Default [SOLVED] Fresh zcs 6.0 BETA 1 / centos5 / split DNS

    OK, I have been running this system with virtual domains in a quasi production environment for a little over a week. System is running in secure mode. Force dns lookups on 53.

    System is running well as we send and receive emails all around the world. godaddy is the public dns admin.

    so our zimbra looks like this
    mail.domainname.com
    mail.virtualname1.com
    mail.virtualname2.com

    user1@mail.virtualname1.com sends and receives email to this address without a problem. I have set an alias for mail.virtualname1.com to virtalname1.com.

    For the life of me I can not find anything in the logs for why user1@virtualname1.com is getting bounced back by the zimbra server stating "554 5.7.1" relay access denied.

    It works fine for user1@mail.virtualname1.com. I am at wits end.

  2. #2
    Join Date
    Nov 2008
    Posts
    119
    Rep Power
    6

    Default

    virtualname1.com is set as a domain alias for mail.virtualname1.com.

    The non response to this problem makes me think that there is a bug in the zcs 6 BETA1 code but no one is stepping up to confirm. Hello?

  3. #3
    Join Date
    Oct 2005
    Location
    USA, Canada and India
    Posts
    777
    Rep Power
    10

    Default

    did you create domain alias using "zmprov createAliasDomain"

    Managing Domains - Zimbra :: Wiki

    Raj
    i2k2 Networks
    Dedicated & Shared Zimbra Hosting Provider

  4. #4
    Join Date
    Nov 2008
    Posts
    119
    Rep Power
    6

    Default

    Hi raj, I used the administration web interface to create the alias virtualname1.com for domain mail.virtualname1.com

    Does that feature in the web admin not work?

  5. #5
    Join Date
    Nov 2008
    Posts
    119
    Rep Power
    6

    Default

    Hi again Raj, I am thinking, to avoid any damage that I should perform the following.

    1. Log into web admin and delete the domain alias virtualname1.com for domain mail.virtualname1.com

    2. start a server terminal session as zimbra

    3. zmcontrol stop

    4. zmcontrol start

    5. zmprov createAliasDomain {virtualname1.com} {mail.virtualname1.com}
    i.e. zmprov createAliasDomain virtualname1.com mail.virtualname1.com - no curly brackets.

    please confirm and thank you.

  6. #6
    Join Date
    Oct 2005
    Location
    USA, Canada and India
    Posts
    777
    Rep Power
    10

    Default

    i dont have zcs 6 beta installed..but if you try what you have listed then i presume it should work..you may need to restart after the "createAliasDomain " command

    if it does then please file a bug in bugzilla or confirm here and someone from our side will do it for you.

    Thanks
    Raj
    i2k2 Networks
    Dedicated & Shared Zimbra Hosting Provider

  7. #7
    Join Date
    Nov 2008
    Posts
    119
    Rep Power
    6

    Default

    ok, compled the zmprov command and restarted zimbra. received lengthy hex return string... I assume that is good.

    new error message on email bounce...

    Final-Recipient: rfc822;user1@virtualname1.com
    Action: failed
    Status: 5.1.1
    Diagnostic-Code: smtp;550 5.1.1 : Recipient address rejected: User unknown in virtual alias table


    Log states... exact same message as above
    Last edited by powrrrplay; 05-13-2009 at 10:21 AM.

  8. #8
    Join Date
    Nov 2008
    Posts
    119
    Rep Power
    6

    Default

    OK, Raj got me pointed in the right direction but there is more to it. Here it is, the dirty on zimbra and domain alias'.

    If you have set up your domains and virtual domains DNS as (examples):
    mail.domainname.com
    mail.virtualname1.com
    mail.virtualname2.com ... etc. etc

    but you want your users to be able to give out email addresses
    like user1@virtualname1.com ... and
    not like user1@mail.virtualname1.com

    This is what you need to do.

    1. Do not use the administrator web interface to create a domain alias.

    2. Use the terminal command prompt interface and su zimbra.

    3. Create domain alias', with out the quotes, for each domain, using this command.
    "createAliasDomain domainname.com mail.domainname.com"
    "createAliasDomain virtualname1.com mail.virtualname1.com"
    "createAliasDomain virtualname2.com mail.virtualname2.com" ... etc. etc. for all your virtual domains.

    Each time you enter the createAliasDomain command you will get back a hex string. I do not know what this is for.

    4. You are not done yet. I did not have to restart my zimbra (zmcontrol stop | start) but you may want to do this right now.

    5. Now log into the Administrator web console, go to Manage Accounts, click Accounts for a list of your fully qualified account names.

    6. For each fully qualified account name that you want to send and receive email as the "alias" (i.e. without the dot mail in their fully qualified account name) you need to do this:
    a) Click once on the account name for which you want to edit; fully qualified account name then becomes highlighted
    b) Click the edit icon (or right mouse click fully qualified account name for drop down menu and click edit)
    c) Working within the "General Information" tab go to the Canonical Address field and enter the alias address. i.e user1@virtualname1.com
    d) Go to the "Aliases" tab and click it.
    e) Working within the "Aliases" tab:
    • Click the "Add" button. A pop up will appear titled "Add Alias"
    • In the first field (left) enter the users name, i.e. user1 (or bob.jones?)
    • In the second field (right, after the "@") type in the alias domain name. i.e. virtualname1.com
      *note that as you type in the second field zimbra is going to suggest fully qualified domain names. Force your alias domain name; without the dot mail! Be patient with the zimbra ajax interface.
    • When finished click the "OK" button then
    • Click the "Save" button


    This worked for me. External email communication is now conducted completely without the hideous dot mail in front of the domain/virtual name.com. Good luck, a little more administration than meets the eye!
    Last edited by powrrrplay; 05-18-2009 at 08:59 AM.

  9. #9
    Join Date
    Mar 2008
    Location
    Sioux Falls
    Posts
    150
    Rep Power
    7

    Default

    Quote Originally Posted by powrrrplay View Post
    OK, Raj got me pointed in the right direction but there is more to it. Here it is, the dirty on zimbra and domain alias'.

    If you have set up your domains and virtual domains DNS as (examples):
    mail.domainname.com
    mail.virtualname1.com
    mail.virtualname2.com ... etc. etc

    but you want your users to be able to give out email addresses
    like user1@virtualname1.com ... and
    not like user1@mail.virtualname1.com

    This is what you need to do.

    1. Do not use the administrator web interface to create a domain alias.

    2. Use the terminal command prompt interface and su zimbra.

    3. Create domain alias', with out the quotes, for each domain, using this command.
    "createAliasDomain domainname.com mail.domainname.com"
    "createAliasDomain virtualname1.com mail.virtualname1.com"
    "createAliasDomain virtualname2.com mail.virtualname2.com" ... etc. etc. for all your virtual domains.

    Each time you enter the createAliasDomain command you will get back a hex string. I do not know what this is for.

    4. You are not done yet. I did not have to restart my zimbra (zmcontrol stop | start) but you may want to do this right now.

    5. Now log into the Administrator web console, go to Manage Accounts, click Accounts for a list of your fully qualified account names.

    6. For each fully qualified account name that you want to send and receive email as the "alias" (i.e. without the dot mail in their fully qualified account name) you need to do this:
    a) Click once on the account name for which you want to edit; fully qualified account name then becomes highlighted
    b) Click the edit icon (or right mouse click fully qualified account name for drop down menu and click edit)
    c) Working within the "General Information" tab go to the Canonical Address field and enter the alias address. i.e user1@virtualname1.com
    d) Go to the "Aliases" tab and click it.
    e) Working within the "Aliases" tab:
    • Click the "Add" button. A pop up will appear titled "Add Alias"
    • In the first field (left) enter the users name, i.e. user1 (or bob.jones?)
    • In the second field (right, after the "@") type in the alias domain name. i.e. virtualname1.com
      *note that as you type in the second field zimbra is going to suggest fully qualified domain names. Force your alias domain name; without the dot mail! Be patient with the zimbra ajax interface.
    • When finished click the "OK" button then
    • Click the "Save" button


    This worked for me. External email communication is now conducted completely without the hideous dot mail in front of the domain/virtual name.com. Good luck, a little more administration than meets the eye!
    I also had to manually add each domain alias on every account. I thought the create domain alias was suppose to take care of this, so you did not have to go into every account. Is this a bug?

    Thanks!
    Eric J Lynner
    Dynamic Business Solutions

    “Computers are good at following instructions, but not at reading your mind.”
    – Donald Knuth

Similar Threads

  1. Trouble Sending mail - All Messages deferred!
    By SiteDiscovery in forum Administrators
    Replies: 7
    Last Post: 09-03-2009, 04:52 AM
  2. Mail is being queued, not delivered!
    By icepick94 in forum Administrators
    Replies: 12
    Last Post: 01-22-2009, 06:03 AM
  3. Outlook 2007 Beta Overview
    By GregA in forum Zimbra Connector for Outlook
    Replies: 19
    Last Post: 03-03-2008, 03:24 PM
  4. ZCS ROCKS! Need some DNS help!
    By SiteDiscovery in forum Administrators
    Replies: 9
    Last Post: 12-30-2006, 09:50 PM
  5. ZCS 3.2 Beta Available
    By KevinH in forum Announcements
    Replies: 31
    Last Post: 07-07-2006, 03:46 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
  •